Difference between revisions of "FaustWorkshop2014"
From CCRMA Wiki
(→Day 1) |
(→Day 1) |
||
Line 23: | Line 23: | ||
process = myOsc(freq,g) ; | process = myOsc(freq,g) ; | ||
</pre> | </pre> | ||
+ | |||
+ | ==== Working with Signals ==== | ||
+ | |||
+ | <code> | ||
+ | process = _ <: _,_,_,_ :> _; | ||
+ | </code> | ||
+ | |||
+ | is the same as: | ||
+ | |||
+ | <code> | ||
+ | process = _ <: _+_+_+_; | ||
+ | </code> |
Revision as of 08:40, 8 July 2014
Day 1
Optional textbook to go further: http://www.amazon.com/Physical-Audio-Signal-Processing-Instruments/dp/0974560723
Simple Sine Oscillator Synthesizer
import("music.lib"); import("filter.lib"); g = hslider("myParameter",0,0,1,0.01); freq = hslider("frequency",440,50,1000,0.1); myOsc(frequency,gain) = osc(frequency)*(smoothGain) with{ smoothGain = gain : smooth(0.999); }; process = myOsc(freq,g) ;
Working with Signals
process = _ <: _,_,_,_ :> _;
is the same as:
process = _ <: _+_+_+_;