iblrig.hardware.sound_device_factory

iblrig.hardware.sound_device_factory(output='sysdefault', samplerate=None)[source]

Will import, configure, and return sounddevice module to play sounds using onboard sound card.

Parameters:
  • output – defaults to “sysdefault”, should be ‘xonar’ or ‘harp’

  • samplerate – audio sample rate, defaults to 44100

Parameters:
  • output (Literal['xonar', 'harp', 'hifi', 'sysdefault'])

  • samplerate (int | None)