AudioDevice#

class csoundengine.csoundlib.AudioDevice(id, name, kind, index=-1, numchannels=0)[source]#

Bases: object

An 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

Attributes Summary

index

numchannels

Methods Summary

info()

Returns a summary of this device in one line

Attributes Documentation

index: int = -1#
numchannels: int | None = 0#

Methods Documentation

info()[source]#

Returns a summary of this device in one line

Return type:

str