| 0 Items |
Last night I published some code examples coming from the 16KB OF SOUND workshop. I also made movies for some of those code examples during the time I spent at Arteleku in Donostia (San Sebastian).
The first example shows how to make the simplest piano out of a computer keyboard. If you keep a key pressed it will loop. It is possible to control the note's duration via one of the knobs.
Smapler v2's amplifier has a couple of special properties. It amplifies the sound and makes it ready to use with headphones or for attacking a mixer board. On the other hand, it can introduce a very warm distortion to the digital sound.
The mouse example is there to show how easy it is to play around with an old computer mouse. The code checks whether there was movement on the X axis before sending any audio to the amplifier. If the mouse moves over a certain threshold, it will use the movement as information to encode the note's pitch and duration.
This last example shows how Xabi created a kind of drum machine using a sound sequencer I wrote and controls the randomness and samplerate using the knobs on the board.
This is the undocumented feature from the Smapler v2. It tunes the Spanish National Radio!! If you leave one of the output channels unconnected at software level, the amplifier will pick up radiowaves and add some nice input to the mix.
You can find all the code shown on these videos at the SNDlib repository. There will be even more code coming in there soon. Keep in touch!