AudioDevice#
- class csoundengine.csoundlib.AudioDevice(id, name, kind, index=-1, numChannels=0, isPhysical=None)[source]#
Bases:
objectAn AudioDevice holds information about a an audio device for a given backend
- id#
the device identification (dac3, adc2, etc)
- name#
the name of the device
- index#
the index of this audio device, as passed to adcXX or dacXX
- kind#
‘output’ or ‘input’
- numChannels#
the number of channels
- isPhysical#
True if this is a physical (hardware) device. Used for jack
Attributes Summary
Methods Summary
info()Returns a summary of this device in one line
Attributes Documentation
-
index:
int= -1#
-
isPhysical:
bool|None= None#
-
numChannels:
int|None= 0#
Methods Documentation