この文書の現在のバージョンと選択したバージョンの差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
usb_midi_controller [2018/03/31 01:14] fifi |
usb_midi_controller [2018/05/24 14:07] fifi |
||
---|---|---|---|
ライン 1: | ライン 1: | ||
+ | ### 個別記事 | ||
+ | - [[:usb_midi_controller:Arduino MIDI Controller]] | ||
+ | - [[:usb_midi_controller:PIC MIDI Controller]] | ||
- | # USB MIDI Controllerの作り方 | + | |
+ | |||
+ | ### USB MIDI Controllerの作り方 | ||
- 方法1 : マイコン PIC18F | - 方法1 : マイコン PIC18F | ||
ライン 8: | ライン 13: | ||
- [PIC18で始めるUSBデバイス自作 その1:サンプルプロジェクトを動かす - Qiita](https://qiita.com/gpsnmeajp/items/eedb3ed788add25df11c) | - [PIC18で始めるUSBデバイス自作 その1:サンプルプロジェクトを動かす - Qiita](https://qiita.com/gpsnmeajp/items/eedb3ed788add25df11c) | ||
- PIC18F14 USB2.0内蔵PICの使い方](http://www.picfun.com/usb20frame.html) | - PIC18F14 USB2.0内蔵PICの使い方](http://www.picfun.com/usb20frame.html) | ||
- | + | - USB Cont サンプルコード https://github.com/hsgw/K2b2/blob/master/main.c | |
- 本家 https://www.arduino.cc/en/Tutorial/MidiDevice | - 本家 https://www.arduino.cc/en/Tutorial/MidiDevice | ||
ライン 38: | ライン 43: | ||
- 1. ArduinoでVR x2 とPushButton x 2とLEDx2を動かす | - 1. ArduinoでVR x2 とPushButton x 2とLEDx2を動かす | ||
- 2. PIC 18F14K50で実装 | - 2. PIC 18F14K50で実装 | ||
- | |||
- | |||
- | # Arduino | ||
- | すごい参考になる資料 https://www.slideshare.net/tadfmac/arduinomidi | ||
- | |||
- | ## Moco For LUFAの焼き方 | ||
- | |||
- | - windows | ||
- | [Dm9records :: Moco for LUFA](http://www.dm9records.com/index.php/tips/arduino/moco/) | ||
- | |||
- | - 焼きこみソフトをダウンロード | ||
- | http://www.microchip.com/developmenttools/productdetails.aspx?partno=flip | ||
- | |||
- | - libusb0.dll が必要: | ||
- | - dll Download : https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/libusb-win32-bin-1.2.6.0.zip/download | ||
- | - READMEを読みながら適当に配置 | ||
- | - [atmel Flip を使用時のatlibusbdfu.dll not foundの対処法 - ブログ](https://blog.goo.ne.jp/iroha112233/e/44c0fe332fc69344e232514bfcd9fc0d) | ||
- | - ドライバを更新した。ら。エラーなし。 | ||
- | |||
- | |||
- | |||
- | - Mocoの.hexファイルをダウンロード | ||
- | https://github.com/kuwatay/mocolufa | ||
- | |||
- | |||
- | |||
- | |||
- | ## 備忘録 | ||
- | |||
- | - Arduino公式のMIDIライブラリをダウンロード/配置 | ||
- | Arduino/librariesの下に配置 | ||
- | |||
- | http://playground.arduino.cc/Main/MIDILibrary | ||
- | |||
- | - LEDチカで動作を確認 | ||
- | |||
- | ``` | ||
- | #define LED_PIN 13 | ||
- | void setup() { | ||
- | pinMode(LED_PIN, OUTPUT); | ||
- | } | ||
- | |||
- | void loop() { | ||
- | digitalWrite(LED_PIN, HIGH); | ||
- | delay(3000); | ||
- | digitalWrite(LED_PIN, LOW); | ||
- | delay(3000); | ||
- | } | ||
- | ``` | ||
- | |||
- | |||
- | ## スイッチを押してみよう | ||
- | |||
- | https://qiita.com/tadfmac/items/9136f47ae1eea99a4ef7#%E6%9D%90%E6%96%99%E3%82%92%E9%9B%86%E3%82%81%E3%82%88%E3%81%86 | ||
- | |||
- | ## ISCPのピン配置 | ||
- | |||
- | http://www.arduinolab.net/in-circuit-system-programming-icsp-using-usbtinyisp-and-arduino-ide/ | ||
- | |||
- | |||
- | # 受け側 C# | ||
- | NAudio.MIDIIn https://github.com/naudio/NAudio/blob/master/Docs/MidiInAndOut.md | ||
- | |||