You are here

CV to MIDI convertor.

Customising, building or repairing your own gear? Need help with acoustic treatment or soundproofing? Ask away…

Re: CV to MIDI convertor.

Postby James Perrett » Tue Oct 29, 2019 10:01 pm

Don't you need some kind of interrupt so that the code only sends notes when the state of the gate input changes? As it stands you'll be sending a constant rapid stream of note ons or note offs.
User avatar
James Perrett
Moderator
Posts: 8896
Joined: Mon Sep 10, 2001 12:00 am
Location: The wilds of Hampshire
JRP Music - Audio Mastering and Restoration. JRP Music Facebook Page

Re: CV to MIDI convertor.

Postby EnragedDeveloper » Fri Nov 08, 2019 10:05 pm

ambianimaton wrote: you will need a 10k resistor between the note and velocity inputs and the analog pins on the board to deal with negative voltages and another one to ground.

Admittedly, I haven't dealt with CV equipment, but this sounds like you might want 1 or two optocouplers in this interface. Definitely one on the MIDI to microcontroller leg, and the other on the CV side if that equipment carries any kind of charge on its pins. Apparently the speed of the MIDI spec makes the most commonly used one (6N138) problematic.

This is theoretically a better one to use: H11L1 from Digikey.
I say theoretically because I haven't had any experience with it, personally...
You can get them for about $0.35 each on Amazon.
H11L1 vs 6N138 optocoupler reference post: StackExchange Electronics
EnragedDeveloper
Posts: 2
Joined: Fri Nov 08, 2019 9:29 pm

Previous