Devices refers to the MIDI Devices in your system, whether that means a local MIDI loopback device or the Apple IAC Bus (both used to talk to softsynths), or a USB MIDI Interface that connects to hardware instruments. Your Instrument definitions (covered next) will need to use one of these names.
The API demos that ship with Warp typically have a hard-coded MIDI device name and then allow you to reassign it from the environment if your local MIDI device does not match. This works as follows:
from warpseq.api import demo DEVICE = demo.suggest_device(api, 'IAC Driver IAC Bus 1')
Use of this function will allow the value of the WARP_MIDI_DEVICE environment variable to be used instead of the given device name, if set.
- Mac users will need to set up an IAC Audio Bus to use Warp.
- Windows users may want to use LoopMIDI.
- See Installation for information about device setup.