TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Using a Raspberry Pi to Add MIDI to a CV Synthesizer

105 pointsby qrv3wover 4 years ago

8 comments

daneel_wover 4 years ago
And here&#x27;s a MIDI-to-CV controller built with a $3 microcontroller instead of a $40 computer: <a href="https:&#x2F;&#x2F;github.com&#x2F;elkayem&#x2F;midi2cv" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;elkayem&#x2F;midi2cv</a>
评论 #24435251 未加载
评论 #24436687 未加载
评论 #24435163 未加载
评论 #24439810 未加载
评论 #24437893 未加载
munificentover 4 years ago
This is super cool! Using an FFT to detect pitch is a natural approach, but my understanding is that most pitch detectors work in the time domain using some form of auto-correlation. See:<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Pitch_detection_algorithm" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Pitch_detection_algorithm</a>
评论 #24436760 未加载
评论 #24437339 未加载
评论 #24439781 未加载
评论 #24437767 未加载
mxmilkbover 4 years ago
Kinda related; software CV done with JACK and LV2: <a href="https:&#x2F;&#x2F;linuxmusicians.com&#x2F;viewtopic.php?f=1&amp;t=20701" rel="nofollow">https:&#x2F;&#x2F;linuxmusicians.com&#x2F;viewtopic.php?f=1&amp;t=20701</a>
iainctduncanover 4 years ago
Nice. :-) Having done somewhat similar stuff before, I&#x27;m curious if you were able to measure what the latency result of using linux and python was vs doing it with an MCU like a teensy or arduino and using C? I can see advantages to both approaches, and am genuinely curious. There must be some latency and unpredictability added, but maybe it&#x27;s small enough to totally not matter. Off course whether this matters depends too on the controller keyboard and your playing level, I know what is ok to me differs from what what my Real Pianist friends tolerate!
评论 #24453726 未加载
turdnagelover 4 years ago
Wow! Great little demo. It sounds like there are multiple synths though -- isn&#x27;t the monotron monophonic?
评论 #24435268 未加载
评论 #24436898 未加载
n-gaugeover 4 years ago
I created a midi piano in the browser for a Roland EP7 IIe that sent midi note off in a weird way - causing double notes , it would send the same note but with just the velocity information changed to 0, which most midi software didn&#x27;t like.<p><a href="https:&#x2F;&#x2F;htmlgames.github.io&#x2F;htmlgames.github.io&#x2F;htmlgames&#x2F;PF_MIDI_PIANO&#x2F;midi-js_Basic.html" rel="nofollow">https:&#x2F;&#x2F;htmlgames.github.io&#x2F;htmlgames.github.io&#x2F;htmlgames&#x2F;PF...</a><p>So I just held the notes in an array and used that for note on&#x2F;off information instead.
评论 #24436666 未加载
评论 #24439824 未加载
elricover 4 years ago
This is great. And miti is exactly what I was looking for. Started working on something similar in bash and perl on top of gbevin&#x27;s sendmidi [1] a while ago, but this looks like it&#x27;ll save me much effort. Thanks!<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;gbevin&#x2F;SendMIDI&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gbevin&#x2F;SendMIDI&#x2F;</a>
评论 #24436986 未加载
jacquesmover 4 years ago
Brilliant trick to self calibrate, these are probably each different enough that if you hooked up another one to the same PI it would come out all out of tune.
评论 #24453731 未加载