Csound Csound-dev Csound-tekno Search About

[Csnd] Re: generating single cycle waveforms to an audio file

Date2008-01-30 08:23
From"Kanata Motohashi"
Subject[Csnd] Re: generating single cycle waveforms to an audio file
Brian,

I like sample accurate things :)

;orc
sr = 44100 ;assuming
ksmps = 1
;and any oscillator with interpolation for single cycle

;sco
i 1 0 [1234 / 44100] ;Replace 1234 with the number of samples you need.

Kanata Motohashi
http://www3.to/sar/

Date2008-01-30 19:28
FromBrian Wong
Subject[Csnd] RE: Re: generating single cycle waveforms to an audio file
Thank you everyone for your help; I got it working using fout and Kanata's example!