-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[pulseaudio] The pulseaudio audio sink cannot play some audio format #11630
Comments
Add a pass to reencode PCM sound in 16 bit, 44100 hz, 2 channels, before sending it to the pulseaudio audio sink. Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Add a pass to reencode PCM sound in 16 bit, 44100 hz, 2 channels, before sending it to the pulseaudio audio sink. Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/pulseaudio-as-sink-is-playing-back-way-to-fast/129349/2 |
#11662 This was also related to this bug. The new pull request snapshot solved it https://github.com/dalgwen/openhab-addons/releases/tag/3.2.0-SNAPSHOT_pulseaudio_11630 |
Add a pass to reencode PCM sound in 16 bit, 44100 hz, 2 channels, before sending it to the pulseaudio audio sink. Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com> Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
openhab#11631) Add a pass to reencode PCM sound in 16 bit, 44100 hz, 2 channels, before sending it to the pulseaudio audio sink. Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com> Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com> Signed-off-by: Nick Waterton <n.waterton@outlook.com>
openhab#11631) Add a pass to reencode PCM sound in 16 bit, 44100 hz, 2 channels, before sending it to the pulseaudio audio sink. Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com> Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com> Signed-off-by: Michael Schmidt <mi.schmidt.83@gmail.com>
openhab#11631) Add a pass to reencode PCM sound in 16 bit, 44100 hz, 2 channels, before sending it to the pulseaudio audio sink. Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com> Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
This issue has been mentioned on openHAB Community. There might be relevant details there: |
openhab#11631) Add a pass to reencode PCM sound in 16 bit, 44100 hz, 2 channels, before sending it to the pulseaudio audio sink. Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com> Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
openhab#11631) Add a pass to reencode PCM sound in 16 bit, 44100 hz, 2 channels, before sending it to the pulseaudio audio sink. Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com> Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
openhab#11631) Add a pass to reencode PCM sound in 16 bit, 44100 hz, 2 channels, before sending it to the pulseaudio audio sink. Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com> Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
Expected Behavior
Pulseaudio sink should be able to play every PCM and MP3 audio formats.
Current Behavior
The pulseaudio sink outputs random high pitched noises when I submit PCM or MP3 sound not in the exact supported format (which is 16 bits PCM, 44100 hz and 2 channels)
Possible Solution
Add a pass to convert sound to the right format.
I will submit a pull request in a few minutes after the creation of this issue.
Steps to Reproduce (for Bugs)
Play a wav with the "wrong" format (for example, the output of the pico2wave TTS service in openHAB) through a pulseaudio audio sink.
Context
I was trying to use pico2wave TTS throught the pulseaudio binding.
Your Environment
The text was updated successfully, but these errors were encountered: