Results 1 to 6 of 6

Thread: Sound Genrator

Threaded View

  1. #5

    Thread Starter
    Junior Member
    Join Date
    Jun 2012
    Posts
    20

    Re: Sound Genrator

    i want to do something like this

    Option Explicit
    Option Base 1
    Private Sub CommandButton1_Click()
    Dim Sc(3) as integer
    Dim Frequency=440
    Dim Duration = 1000 ' in millisecond
    Sc(1)=1
    Sc(2)=1.125
    Sc(3)=1.2

    For i = 1 to 3
    ' some code is required to play the sine wave sound for above frequency and duration in which Frequency=440*Sc(i)

    next i


    End
    Last edited by jignesh142; Jun 26th, 2012 at 03:32 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width