29/04/10 05:42
After a
request in the forums, I took a stab @ generating
control voltage for the ever-lovable
Gakken SX-150 mini analog synth. This initial sketch
will convert MIDI note values
47-84
into varying pitches w/ envelope triggers on the SX. Those
interested can grab the code here -
http://narbotic.com/files/MidiVox_SX150-100428a.zip
Hardware
Setup:
- Switch
the MidiVox AUD/CV jumper over to CV side (connecting the center
and inner-most pin)
- Connect
the shield’s signal output (left or right channel from the onboard
1/8” output jack) to the metal contact on the SX-150
stylus.
- Also,
make a connection between GND on the shield to any ground point on
the SX-150 (the exposed metal barrels on either of the SX 1/8”
jacks will work)
The notes played won’t be in tune (that’s a tall order for the lil’
SX), but I’ve found that using a keyboard to control the Gakken is
a lot big improvement compared to the standard stylus/ribbon
interface
Please drop a line in the forums if you have any problems with the
above code or the MidiVox kit in general. I’ll be checking them on
the regular!
C
07/04/10 18:42 Filed in:
Announcements

Enjoy the modern luxury of text-based communication on our
new forums! If you’ve
run into any problems with your kit or just want to share what
you’ve done with it - please
register and share with the rest of the class. And do
let know if you have any
suggestions or ideas on how they could be improved.
17/03/10 16:38 Filed in:
MidiVox,
kits

Damian wrote in wondering how the MidiVox can be used as a MIDI to
control
voltage converter. I figure my response might shed some light
on the topic for others as well -
I hope to have an example MIDI->CV sketch up soon, but suffice
it to say -
a DAC (such as the MCP4921 chip) outputs a specific voltage level
set by according to data sent out by the Arduino (or other
microcontroller). The example synth sketch I have up now
continuously sets the DAC's output to varying levels to create a
waveform, (the speed or frequency at which it does this determines
the pitch of the note). To use the DAC as a control voltage
generator we only need to set the DAC to one specific voltage level
for every MIDI note - no need to be concerned with any specific
frequencies.
Example:
if (incomingNote = C4) outgoingVoltage = 3.250;
if (incomingNote = D4) outgoingVoltage = 3.417;
… and when no note is being played, we turn the outgoing voltage to
zero.
Anyway, that's the basic idea. In order to be used with
analog synthesizers and the like, we’ll probably need to solder a
wire/connection to one of the digital output pads on the shield and
set that pin high whenever a note is being played (aka -
Gate)There’s also a jumper on the board labelled
"AUD/CV", which disables the 10uF DC-blocking capacitor - which
needs to be set to (yup, you guessed it) “CV” to enable control
voltage out ;)