How would I go about interfacing my digital piano with Matlab, such that I can play audio files from my computer in real-time?
Many implementations available only use a computer keyboard for input and thus don't have the velocity or sustain (via pedal) associated with the use of software instruments. I have access to the Audio System Toolbox, but am struggling through the documentation to see how such can be implemented. Additionally, what concerns are there about latency with Matlab's MIDI interface?