create every day - 福野泰介の一日一創

MIDI Random Rhythm Machine with KORG volca beats x IchigoJam

2017/01/19 23:55:00
#IchigoJam #MIDI #music #english 

IchigoJam can control any MIDI instrument easily!

volca beats x IchigoJam

How to connect MIDI and IchigoJam
1. Flip back the MIDI socket(¥60).
2. Solder the red jumper to 2nd from the left.
3. Solder the green jumper to 4th from the left.
4. Connect the red jumper to VCC of IchigoJam.
5. Connect the green jumper to TXD of IchigoJam.

MIDI is the UART serial communication with 31,250bps.

BPS 31250:?CHR$(#90,60,100);

This is the random rhythm machine program. It's very simple!

10 LET[0],36,38,43,50,42,46,39,75,67,49 20 BPS 31250:S=0 30 SRND S 40 FOR I=0 TO 7 50 ?CHR$(#99,[RND(10)],1); 60 WAIT 10 70 NEXT 80 K=INKEY():IF K S=K 90 GOTO 30

#99 means the tone of rhythm 10ch. The numbers of line 10 are volca beats's 10 sounds. (UART0 is a command to ignore sending via UART)

Try computer music with IchigoJam!

この作品は「Creative Commons — CC BY 4.0」の下に提供されています。
CC BY 福野泰介 - Taisuke Fukuno / @taisukef / high-res profile image