AudioDevice#
- class csoundengine.csoundlib.AudioDevice(id, name, kind, backend, 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
- backend: str = <dataclasses._MISSING_TYPE object>#
- id: str = <dataclasses._MISSING_TYPE object>#
- index: int = -1#
- isPhysical: bool | None = None#
- kind: str = <dataclasses._MISSING_TYPE object>#
- name: str = <dataclasses._MISSING_TYPE object>#
- numChannels: int | None = 0#
Methods Documentation