Skip to content
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

Open
wants to merge 35 commits into
base: feature/generators
Choose a base branch
from
Open

OutputAudioDevice #9

wants to merge 35 commits into from

Conversation

mberz
Copy link
Member

@mberz mberz commented Mar 31, 2023

Implement OutputAudioDevice class.

requires #5

@mberz mberz changed the base branch from develop to feature/generators March 31, 2023 14:58
@mberz mberz changed the title OutputAudioDecvice OutputAudioDevice Mar 31, 2023
@mberz mberz mentioned this pull request Mar 31, 2023
12 tasks
block_size=512,
channels=[1],
dtype='float32',
output_buffer=None,
Copy link
Contributor

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",
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants