Re: simple program



So you have created a sine signal with some frequency f and then
sampled it at some sampling rate R. Notice that R has units of
"samples/second". Thus, to find out how many samples will equal 2
seconds worth of the sine signal, simply multiply: R*2. Notice that the
resulting dimension is just "samples." Now, just synthesize the length
of the signal to be that many samples long and listen to the signal!

--Fort


Jahanzeb Khan wrote:
> i want to create a sin signal with one particular frequency and then
> want to sample with another frequency
>
> its ok uptill here,
> now i want to hear the signal for 2 seconds,
> this is where i cant figure out how to do it
> making and sampling a signal is simple but to make it sound for "2
> sec", (the length of the signal be such that i can hear it for 2
> seconds) thats the problem
> can ne one help me

.