Quick hack to make NSX-39 (Poke-Miku) USB MIDI device to speak "mbed" from mbed which acts as an USB host.

Dependencies:   FatFileSystem mbed

Fork of MIDI_BlueUSB by Radio Junk Box

Description of the project

This is quick hack to control Poke-miku (NSX-39) from mbed. The mbed acts as an USB host and controls USB MIDI device NSX-39. It speaks "mbed" if you send "s¥n" from virtual USB serial (connected to PC or Mac) or push SW connected to p21. It plays MIDI file "test.mid" on local file-system if you push SW connected to p22. You can find files that I have tested at the bottom. The standard MIDI file support is still preliminary. See TestShell.cpp for the hack. This program is derived from MIDI_BlueUSB (http://mbed.org/users/radiojunkbox/code/MIDI_BlueUSB/) by Radio Junk Box.

ポケミク(NSX-39)を無改造のままmbedから鳴らせるようにしてみました。mbedがUSB hostになって、USB MIDIデバイスのポケミクを鳴らします。mbedのバーチャルシリアル(USBシリアル)にPCからs\nを送るか、p21につないだスイッチを押すとmbedとしゃべります。p22につないだスイッチを押すと、ローカルファイルシステム(.binと同じ場所)に保存した test.mid を再生します。試したファイルは下にある test1.mid と test2.mid です。MIDIファイルのサポートはまだまだ完全とはいえません。

tested MIDI files

Video: Poke-miku speaks `mbed'

History

Fix issues when it plays a MIDI file which has multi tracks. default tip

2014-04-29, by non [Tue, 29 Apr 2014 06:01:52 +0000] rev 4

Fix issues when it plays a MIDI file which has multi tracks.


Support standard MIDI file (preliminary)

2014-04-27, by non [Sun, 27 Apr 2014 07:40:40 +0000] rev 3

Support standard MIDI file (preliminary)


Now it plays when you push SW connected to p21.

2014-04-27, by non [Sun, 27 Apr 2014 01:36:30 +0000] rev 2

Now it plays when you push SW connected to p21.


Now NSX-39 speaks "mbed." Just quick hack though.

2014-04-05, by non [Sat, 05 Apr 2014 06:25:43 +0000] rev 1

Now NSX-39 speaks "mbed." Just quick hack though.


Rev. 1.0

2012-05-11, by radiojunkbox [Fri, 11 May 2012 10:05:40 +0000] rev 0

Rev. 1.0