-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OutputAudioDevice #9
base: feature/generators
Are you sure you want to change the base?
Conversation
- Move OutputDevice related things to the respective setter - Add checks if the stream is active and raise an exception if so
block_size=512, | ||
channels=[1], | ||
dtype='float32', | ||
output_buffer=None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we use max_output_channels and default_samplerate as default with
sd.query_devices(identifier)['max_output_channels']
and
sd.query_devices(identifier)['default_samplerate']
?
} | ||
elif kind == 'output': | ||
return { | ||
'name': "MockInputDevice", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we use 'name': "MockInputDevice"
, when kind == 'output'
? Same question for kind=None
and kind=input
.
Output device tests
… into feature/output_device
Audio buffer classes using pyfar.Signal
Implement OutputAudioDevice class.
requires #5