diff options
Diffstat (limited to 'config.rhai')
-rw-r--r-- | config.rhai | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config.rhai b/config.rhai new file mode 100644 index 0000000..3b86af7 --- /dev/null +++ b/config.rhai @@ -0,0 +1,8 @@ +const PM_DEVICE_ID = 0; + +fn pm_note_played(channel, note, vel) { + pm_play_note(0, note, vel); +} + +pm_load_soundfont("/etc/alternatives/default-GM.sf3"); +pm_load_preset(0, 299); |