matlab MIDI input
조회 수: 7 (최근 30일)
이전 댓글 표시
I'm new to matlab and am wondering if this is possible for a college project.
I want to make a synthesizer, it'll use java to take in MIDI messages from an external MIDI keyboard and will generate sounds in real-time.
댓글 수: 0
답변 (2개)
Ruslan López
2011년 11월 17일
Perhaps using udp messages, but i don't see why use Matlab because I don't know any way of working in the score level :/
댓글 수: 0
Tucker McClure
2012년 12월 27일
Hi Craig,
There's a MIDI Interface available in File Exchange for MIDI input. It's Windows-only.
In order to generate real-time sound in MATLAB, you'll need an ability to buffer sound going to the audio interface. The DSP System Toolbox comes with such an ability (dsp.AudioPlayer) and also includes low-latency ASIO drivers (these are for Windows; Mac's native drivers are already low latency). Another File Exchange entry (the Real Time Audio Processor) provides a real-time sound generation framework and an example of building a simple synthesizer in MATLAB. It also includes the MIDI Interface from above.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!