When passing a wave (rather than a program) to the -p switch, play it using a built-in wrapper program that plays the wave, and responds to additional arguments in the same manner as a basic "instrument."
The clever way of doing it would be to actually generate and compile the wrapper program on demand, so it doesn't have to take the wave handle as an argument. That way, waves could be used as actual instruments with MIDI - but for that to be of any real use, #302 is needed.
When passing a wave (rather than a program) to the -p switch, play it using a built-in wrapper program that plays the wave, and responds to additional arguments in the same manner as a basic "instrument."
The clever way of doing it would be to actually generate and compile the wrapper program on demand, so it doesn't have to take the wave handle as an argument. That way, waves could be used as actual instruments with MIDI - but for that to be of any real use, #302 is needed.