#!/bin/bash
# Sends an 'All Notes Off' command to the Casio
for channel in {0..15}; do
  amidi -p hw:2,0,0 -S "B$channel 7B 00" # Replace hw:2,0,0 with your amidi -l port
done
echo "Silence restored."
