thestk / stk

The Synthesis ToolKit in C++ (STK) is a set of open source audio signal processing and algorithmic synthesis classes written in the C++ programming language.
https://ccrma.stanford.edu/software/stk/
Other
1.02k stars 180 forks source link

creating a SineWave object specifying sine duration #128

Open journeytosilius opened 2 years ago

journeytosilius commented 2 years ago

Hi, I was just wondering If I can use the sinewave class to get a sine of an specific duration. I've seen there is an addTime method but I am not sure this is what I'm looking for, since in the example is not used. Thanks

garyscavone commented 2 years ago

You just "tick()" it for as many samples as you want.