Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CV and Gate #10

Open
JustBKen opened this issue Mar 30, 2023 · 5 comments
Open

Add CV and Gate #10

JustBKen opened this issue Mar 30, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@JustBKen
Copy link

JustBKen commented Mar 30, 2023

A lot of Synths and all modular systems use a 1V/octave control voltage for pitch, and a gate signal (low/high = note off/on). It would be great to be able to use this project to control such synths or add CV/Gate outputs to MIDI keyboards. This can be done by PWM and filters or a DAC such as the MCP4725 (I2C) for a better signal. in general, a semitone is 83.33 milivolts (0.08333 V)

@rppicomidi rppicomidi added the enhancement New feature or request label Mar 31, 2023
@rppicomidi
Copy link
Owner

@JustBKen That is a good idea for a project, but it is out of scope for this one. The intent of this project is to do just 5-pin DIN MIDI to USB Host so it is easier to understand and to build. MIDI to CV conversion is on my list of projects I want to do. I will get to it one day. I hope this project is still useful to you. Many analog synthesizers also have a MIDI IN connector, and some will even convert that MIDI IN to a CV and Gate output.

@JustBKen
Copy link
Author

JustBKen commented Mar 31, 2023

I guess mine is a nieche case. I am currently building a synth around a monotron duo inspired by the ms-20. Since the monotrons only have CV/Gate and no MIDI, i want to add a method to use my MIDI keyboard on it without using 2 microprocessors. Your project is the only one I found acting as a USB-MIDI host. Do you have any tipps on how I could modify your code to achieve midi note to Pitch CV. Even a pointer to where to get the midi data in the code would be helpful!

Update: I figured it out, I think. I will do some testing once finished with the synth and post a fork if you would allow that. I could also just share the code with you

@rppicomidi
Copy link
Owner

@JustBKen Sorry I didn't get back to you sooner. The application is cool. There a whole commercial projects that do what you are doing. I am glad you figured it out.

In my mind, it really shouldn't be a fork of this project called midi2usbhost. It is a different project altogether, perhaps usb-midi-host2cv or something like that. I might suggest that instead of just sharing your code with me, you should create a new repository and share it with everyone in your own github page. After all, you did the work. Post a link in this issue when it is ready. I will keep this issue open so I and others can find it.

@JustBKen
Copy link
Author

JustBKen commented Apr 5, 2023

I shall do so, once I am finished and have fully tested it. Thank you for the permission and encouragement!

@rppicomidi
Copy link
Owner

@JustBKen This project looks cool and may be helpful to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants