Sunday, 4 June 2017

Onset Triggered Step Sequencer







Early experiments here, a record with 2 stickers placed in the run out of the record to generate fairly clean clicks for onsets, and also create a locked groove. Using Supercollider as a means of sound generation and for detecting onsets.

Essentially what I have here is an analogue style step sequencer, which is being triggered through onsets generated from the clicks on the record. 

Outside of the SynthDef a routine was set up which would update the Supercollider client, the is important within supercollider because the client and sound server are not actually connected, so to update values within the server I had to make use of the .defer command due to the asynchronous nature. Furthermore I also included actions outside of the SynthDef to link the GUI knobs to the server. 


Another Ugen encountered which I had not really delved into before is the Demand Ugen, this will enable me to actually program ready made sequences for use or in the case allow me to set values to GUI knobs. Below it can be seen as an 8 step sequence with values set  by the knob positions and then multiplied by 600 to bring them into the audible range. This is by no means good practice but for testing purposes it is fine. Also note the inf in the line of code, this simply indicates that the sequence repeats infinitely rather than for a set number of repeats.


No comments:

Post a Comment