The button is pressed. The change in state (either high or low) is read by the ESP8266. A note on message is formatted, with MIDI channel 1, note 60 and a velocity that is either 127 or 0 depending on the state of the button. These three bytes are then wrapped up in an OSC message with the name "MIDI", and sent via UDP. One MIDI message is sent per OSC message, and one OSC message is sent per UPD packet.
A simple receiver device in Max for Live that takes an OSC message (via a selected UDP port) and simply sends the data bytes from this message as a MIDI message. Naturally, it is assumed that the OSC message itself contains data bytes formatted as a MIDI message.
A simple, fun gesture looper / recorder with a loop length of one bar. Sends out MIDI data. A simple demonstration of using TouchOSC on Android with Max via UDP and
Route. Note that the external OSC namespace library is not used. This one demonstrates sending data back to the Android via updsend.
A simple demonstration of using TouchOSC on Android with Max via UDP and
Route. Note that the external OSC namespace library is not used. This is an example of a custom template in TouchOSC for Android.
Today I've been working on a setup whereby an iPod Touch / iPhone running TouchOSC can sequence and manipulate the drum channels from a YM2413 inside of a Sega Master System.
I would have simply made my own patch for TouchOSC, but I was having some troubles uploading it to my iPod, so I simply mapped data from the default 'Beatmachine' template.
The following parameters can be changed from the iPod Touch: • Rhythmic sequencing • Step-wise pitch sequencing • Global pitch transposition • Global note length • Individual drum volume control • Tempo
Here is the mapping at the moment. I am hoping to add a 'loop' save / load type mapping, where the user can build up a loop, save it, change the loop until it is a different thing entirely, and then come back to original easily (with 9 such 'save slots' available).
The YM2413 has five basic drum sounds, kick drum, snare drum, tom, hi hat and cymbal.
In the video below, the only effect that has been added to the direct output from the Sega Master System is a bit of a delay line. All other changes in sound are a result of changing the parameters of the sequence or changing the parameters inside of the YM2413.
I made a quick video of using an iPod Touch and TouchOSC to control a Commodore 64 in real time.
Using the default 'Keys' patch for TouchOSC, a number of parameters of the Commodore 64s sound chip, the SID, can be controlled:
• Note on and off commands for two octaves' worth of piano keys • Attack • Decay • Release • Filter frequency • Filter resonance • Enable / disable triangle waveform • Enable / disable sawtooth waveform • Enable / disable pulse waveform • Pulse wave duty cycle
Although this is only a preliminary mapping, I do like where this is going from a performance point of view, and I will be working on better / more meaningful mappings in the near future.