MIDI Random Rhythm Machine with KORG 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.
This is the random rhythm machine program. It's very simple!
10 LET,36,38,39,42,43,46,49,50,67,75 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!