On 08/12/10 07:32, Daniel K. wrote:
generating sine waves with
finite numbers of periods that always started with the same phase.

10 periods of 20Hz sine wave, subsample accurate timing without needing [block~]:


"0, 10 500"
 |
[vline~]
 |
[- 0.25]
 |
[cos~]
 |
[dac~]


For N periods of F Hz, something like this should work if my mental algebra is up to scratch: "0, N T" where T = 1000 * N / F

Have fun!


Claude
--
http://claudiusmaximus.goto10.org

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to