-
A simple synth with some controls and a little musical pattern to test it. Sorry if my code isn't very good, i'm a newbie. Help will be welcome ... /* I made a simple synth but with some controls, and then I made a little musical pattern ...
-
... m with the appropriate phases and amplitudes. Since Saw.ar doesn't have a phase control, I implemented the phase offsets using delays. (Using BufDelay means that they all share the same buffer, so keeps memory use down.) As in SyncSaw.ar ...
-
An example of iterating randomly filtered pink noise with envelope controls. // example 1: Klank with 16 Ringzes: ( fork{ SynthDef(\aKlank16, { arg atk, rls, frqs = #[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], amps = #[0,0,0,0,0,0,0,0,0 ...
-
... req = Array.series(16,note,note*1.5); { var buf1 = Buffer.alloc(s,4e5); // Control Variables var melody = Duty.ar(1,0,(Drand([36,48],inf)+Dxrand(scale.degrees,inf)).midicps); var mainEnv = EnvGen.ar(Env.linen(0.0001,tL,10),doneActi ...
-
... front; w.view.decorator = FlowLayout( w.view.bounds, 10@10, 20@5 ); q = Bus.control(s, 1); a = Button(w, Rect(20, 20, 340, 30)) .states_([ ["Load a Sound File into a Buffer", Color.white, Color.black] ]) .action_({ s.waitForBo ...
-
... ks the capicitor of a decay envelope found in most analogue drum modules. coef1 controls this. // True happiness comes from parallel distortion. Wet/Dry-function for better transient and cleaner fundamental. ( SynthDef("kicktrig", ...
-
... lay with basic amplitude modulation. Amplitude Modulation (AM): one oscillator controls the amplitude of another. Imagine a note the amplitude of which goes up and down at a given speed. Select all (ctrl + A), then evaluate (ctrl + per ...
-
... gative values and zero for "div" should be avoided. // The raw clock-signals control the instruments. More organic than classic triggers and envelopes, but strange sometimes. // Default volumes of intruments are high for saturation an ...
-
... new( 0.2, 0.6, 1 ); fill_color = Color.white; numharm = 32; ampBus = Bus.control(s); ampBus.value = 0.1; sndBus = Bus. audio(s, 2); // Routine to add SynthDefs, wait for Server reply, then start Synths { // The SynthDef has b ...
-
... symmetrical around the offbeat. div=2 stays linear. // The raw clock-signals control the instruments. More organic than classic triggers and envelopes, but strange sometimes. // Default volumes of instruments are high for saturation ...