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

How to set playback wav settings (Add resampling support) #22

Open
shanehughes1990 opened this issue Nov 17, 2024 · 3 comments
Open

How to set playback wav settings (Add resampling support) #22

shanehughes1990 opened this issue Nov 17, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@shanehughes1990
Copy link

For the inDialog.PlaybackCreate().Play (audio/wav), We have a bunch of existing prompts I want to use, I'm having a hard time finding where the settings for that player are the error on pb.Play wav file bitdepth=8 does not match expected=16, I'm poking around to see if I can find any relative setting that I'm able to change.

@emiago
Copy link
Owner

emiago commented Nov 17, 2024

Hi @shanehughes1990 . If you are getting this error than yes, only 16bit is supported.
Of course we can speak more about adding support for resampling but it will be some effort and time.
Resampling can be bit and sample rate.

As for settings there is none, playback reads your wav file and if it can encode it will play it.

@emiago emiago changed the title How to set playback wav settings How to set playback wav settings (Add resampling support) Nov 17, 2024
@emiago emiago added the enhancement New feature or request label Nov 17, 2024
@shanehughes1990
Copy link
Author

You open to PR's? I can have a look at it myself as well

@emiago
Copy link
Owner

emiago commented Nov 18, 2024

Hi @shanehughes1990, yes, but I suggest for now to collaborate to share knowledge and prevent conflicts. Not all code I moved public. I have already used resampling from some other libs, so we can see.

Can you DM on mail, to setup some chat session.

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

No branches or pull requests

2 participants