Source Code | Tickets | Trello | Twitter | Patreon | © Michael DeHaan, 2020

Devices


About

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.



Friendly Device Assignment 

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.


Suggestions & Tips 


Next Up 

See Instruments