Forum profile: @Hugo
Contributor prefix: hug
objects
patches
hug/midi_io/extra_midi_io.axp
this patch is a fixed version of the archived patch:
archive/tests/io/extra_midi_input.axh
it is an example patch on how to configure gpio pins to use as extra MIDI IO ports.
Refer to the midi specification (2014 update, found it here) on how to build the required external hardware. It's really not a lot, just a couple of resistors and one small chip (an optocoupler).
How long to objects take to show up in the library? I can't see this one.
No matter, opened it from raw
How long to objects take to show up in the library? I can't see this one.
synchronize your local library?
anyhow you can instantly access them on github
Yep, figured it out. Need to go get some parts to finish the circuit. This is timely since I've found a big problem with my current method of using the MIDI socket header.
hug/gpio/dtmf_shift.axo
hug/gpio/dtmf_code.axo
hug/dtmf/dtmf_code.axs
the objects help to turn most landline telephones into MIDI controllers with 12-16 buttons. An MT8870 IC is needed to decode the dial signal to a four bit signal entering 4 gpio pins and an additional trigger while the dial button is pressed.
the telephone needs to work on DTMF (Dual Tone - Multi Frequency) signaling which most telephones nowadays do. One can clearly hear the familiar dial tone, which is actually two frequencies playing according to this matrix:
The circuit for the DTMF decoder chip MT 8870. The ports 11-15 need to be connected to gpio pins.
the objects work independently. the "code" object has an extra output which triggers when a certain combination of buttons was pressed.
This is the subpatch hug/dtmf/dtmf_core.axs which serves as an example:
hug/gpio/spi/shiftRegister.axo
i quickly copy/pasted this object upon this request.
the script author is @paul and background on the topic is given here.
Sorry but I can't see your repo in the 1.0.10 branch...
And it seems that your object is in /spi directory instead of /gpio/spi
He Hugo,
I'm interested in an extra midi input and I was wondering if if it matters wich gpio pin I take.
The only one free I have atm is PA6. Would that work?
Ok that sounds pretty clear, but doesn't match with what Hugo says in his example patch. Any Ideas @Hugo?
Yeah, that is the pin for receiveing Serial. Thanks for helping out. By the way, great weekend, people!