[PD] Osc phase and number of periods for subsonic touch-music

Claude Heiland-Allen claudiusmaximus at goto10.org
Wed Dec 8 19:52:52 CET 2010


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



More information about the Pd-list mailing list