Introduction
No soldering or 3D printing required – super easy to build!
このプロジェクトははんだ付けや3Dプリンターは不要です!!!とてもライトに作成することができます
DualByteStamPlay is a small digital musical instrument built with **M5StampS3** and two M5Unit-ByteButtons (16 buttons total).
With simple button operations, you can play chords, change keys, switch sounds, and trigger real-time arpeggios.
It uses a hardware MIDI sound module and provides colorful LED feedback.
Important Notice
This project is inspired by KANTAN Play / InstaChord.
It is not an official project of InstaChord Inc. or kantan-music.
(日本語)
DualByteStamPlay は M5StampS3 と **M5Unit-ByteButton ×2(合計16ボタン)で作る小型デジタル楽器です。
ボタンだけでコード演奏、キー変更、音色切替、リアルタイムのアルペジオが可能。
ハードウェアMIDI音源とLEDで直感的なフィードバックを返します。
重要な注意
本プロジェクトは KANTAN Play / InstaChord に着想を得ていますが、InstaChord株式会社および kantan-music の公式プロジェクトではありません。
---
Features
- 16-button interface: front for chords, back/modifiers for functions
- KANTAN Music API integration
- ~6 General MIDI tones (e.g., guitar, piano, organ, strings)
- Real-time arpeggio (task-based)
- Automatic voicing & note-off timer
- Button debounce (~20 ms), 4-state detection
- LED control: matrix display + WS2812 strip
(日本語)
- 16ボタン操作(表:コード、裏/修飾:機能切替)
- KANTAN Music API 連携
- GM音色(ギター/ピアノ/オルガン/ストリングスなど)
- タスク駆動のリアルタイム・アルペジオ
- 自動ボイシング & ノートオフタイマー
- デバウンス(約20ms)/ 4状態検出
- LEDマトリクス+WS2812ストリップ制御
---
Hardware
- M5StampS3
- 2× M5Unit-ByteButton (8 buttons each)
- Unit Synth (SAM2695)
- Unit Fader
- StampS3 Grove BreakOut Grove expansion/power supply
(日本語)
- M5StampS3
- M5Unit-ByteButton ×2(各8ボタン)
- Unit Synth MIDI音源モジュール
- Unit Faderアナログスライダー。ストロークタイム調整用
- Grove端子拡張・電源供給。各ユニットの接続基板
---
Build Instructions
1. Connect two ByteButtons to M5StampS3 via Grove.
2. Wire **Unit Synth** MIDI module to UART (TX/RX, 5V, GND).
3. Unit Fader to the designated GPIO pins.
4. Flash the firmware with **PlatformIO** from the GitHub repo.
5. Power on and play!
(日本語)
1. ByteButtonを2台、GroveでM5StampS3へ接続。
2. **Unit Synth** をUART(TX/RX, 5V, GND)に配線。
3. Unit Faderを指定GPIOへ接続。
4. **PlatformIO** でGitHubのファームを書き込み。
5. 電源を入れて演奏開始!
---
Demo Videos
- Let it be (short): https://youtu.be/MUfLjLPNxRc
- カブトムシ (short): https://youtu.be/ri5rX97kTcY
Code
GitHub repository: https://github.com/nobynobynoby/DualByteStamPlay
(日本語)
ソースコード:上記GitHubリポジトリを参照してください。
---
License & Notes
- Project license: **MIT License**
- This project includes the **KANTAN Music API**. See `kantan-music/LICENSE_KANTAN_MUSIC.md` in the repository for details.
(日本語)
- 本プロジェクトのライセンスは **MIT** です。
- **KANTAN Music API** を含みます。詳細はリポジトリ内 `kantan-music/LICENSE_KANTAN_MUSIC.md` を参照してください。
---
Acknowledgements
- Thanks to M5Stack community and open-source contributors.
- Inspired by *KANTAN Play* / *InstaChord*.
(日本語)
- M5StackコミュニティとOSS貢献者の皆さまに感謝します。
- *KANTAN Play* / *InstaChord* にインスパイアされています。
Comments