Hugo Contributions


#1

Forum profile: @Hugo
Contributor prefix: hug

objects

patches


Adding more midi ports to Axolotl
Adding additional MIDI DINs (I/O)
#2

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).



Axoloti w/Teensy
Embed Axoloti within existing MIDI hardware (sequencer, keyboard, controller)
Mongiloti Synth
Axo as MIDI multi clock
#3

How long to objects take to show up in the library? I can't see this one.

No matter, opened it from raw


#4

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


#5

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.


#6

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:


#7

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.


#8

Thanks!

It would be perfect if you upgrade to 1.0.10


#9

yeah, my stuff was merged


#10

Perfect!
I can now share my objects related to it.


#11

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


#12

Oh, i must have missed something there, hope its fine now.


#13

Thanks a lot !......


#14

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?


#15

The only GPIO that can work as extra MIDI input is PA3


#16

Ok that sounds pretty clear, but doesn't match with what Hugo says in his example patch. Any Ideas @Hugo?


#17

Sorry, I was wrong, only PA3 can be used to receive MIDI...


#18

Yeah, that is the pin for receiveing Serial. Thanks for helping out. By the way, great weekend, people!


#19

Yes awesome it was :slight_smile: What about PA2, could it be sending too?


#20

PA2 is the optional MIDI OUT.