This is a peripheral that lets you play any Note Block note using computers. The API is the same as MiscPeripherals, making it a drop-in replacement.
Command | Description | Usage |
---|---|---|
playNote(instrument, note) | Plays a note. | Instrument - number from 0 to 6 or string name of instrument, Note - a number from 0 to 24. |
Address | Usage |
---|---|
0x00 | instrument * 32 OR note |
Each bit on the bundled cable is a single note. White is bit 0 = lowest note, Orange is bit 1, … Black is bit 15 = highest note.
Each bit on the RedNet output is a single note. Bit 0 = lowest note… bit 24 = highest note.