Plays different note pitches on any number of note blocks connected to one of the chips interface blocks. The current pitch is set according to the state of its data pins. Any number of note blocks can be attached to each interface block.
There are two ways to use this circuit.
synthon the sign. The noteblock pitch is set according to the binary value of the data pins. Possible values are between 0 (f#1) to 24 (f#3). This mode requires 1-5 data pins and 1 clock pin. For example, to play the note c2, send 00110 (decimal 6) to the data pins, and then trigger the chip’s clock input (1st input).
If all you want is to switch between two different pitches you can use the circuit with 1 input pin without a clock pin. In this mode every change of the data pin will trigger the note blocks.
To build a the chip as a wireless receiver add a channel argument using the syntax
#name[:startbit] The channel argument must be the last. In this mode synth requires no inputs or outputs. The play a note send either the note index or the note pitch value over the wireless channel.
[note] ... [note]
Version history: Added to BasicCircuits 0.6