Audio distorted and lowered pitch when starting an audio stream
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
The facts:
- This happens on any Linux kernel.
- This happens on any Linux distribution.
- It happens on both input and output, but not necessarily both at the same time.
- It doesn't happen consistently, it's a dice roll - but it always happens when a program opens up the audio device. I could be listening to music fine, and then open, for example, an application and boom there it is.
- It happens most consistently when starting a Discord call.
- The only fix is to restart PulseAudio.
- I use a digital to analog converter, the Steinberg UR22, as my soundcard.
Here are some things that do work:
- For Wine, I can change the audio back end to ALSA, and that fixes it. It's still routed to PulseAudio, but the sound never glitches out then. This makes me think it's a PulseAudio problem.
- My sound card has to be 'warm' to start an audio stream immediately. I achieve this by outputting a constant silence signal to the sound card, keeping it 'hot', so that sound plays immediately. This also seems to lower the frequency of the audio problem. The Windows driver also outputs constant silence, it's just a part of how these devices work.
- I do not believe this to be a hardware issue. I have no issues on Windows or OS X with this hardware. The fact that using ALSA also eliminates the problem further reinforces that, but I'd prefer to use Pulse.
Where would I begin to solve and analyze this problem? Once a program has started up, the issue never comes up again. It happens only when the audio device is opened up. What configuration settings could be related to this?
audio pulseaudio usb-audio
add a comment |
up vote
0
down vote
favorite
The facts:
- This happens on any Linux kernel.
- This happens on any Linux distribution.
- It happens on both input and output, but not necessarily both at the same time.
- It doesn't happen consistently, it's a dice roll - but it always happens when a program opens up the audio device. I could be listening to music fine, and then open, for example, an application and boom there it is.
- It happens most consistently when starting a Discord call.
- The only fix is to restart PulseAudio.
- I use a digital to analog converter, the Steinberg UR22, as my soundcard.
Here are some things that do work:
- For Wine, I can change the audio back end to ALSA, and that fixes it. It's still routed to PulseAudio, but the sound never glitches out then. This makes me think it's a PulseAudio problem.
- My sound card has to be 'warm' to start an audio stream immediately. I achieve this by outputting a constant silence signal to the sound card, keeping it 'hot', so that sound plays immediately. This also seems to lower the frequency of the audio problem. The Windows driver also outputs constant silence, it's just a part of how these devices work.
- I do not believe this to be a hardware issue. I have no issues on Windows or OS X with this hardware. The fact that using ALSA also eliminates the problem further reinforces that, but I'd prefer to use Pulse.
Where would I begin to solve and analyze this problem? Once a program has started up, the issue never comes up again. It happens only when the audio device is opened up. What configuration settings could be related to this?
audio pulseaudio usb-audio
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
The facts:
- This happens on any Linux kernel.
- This happens on any Linux distribution.
- It happens on both input and output, but not necessarily both at the same time.
- It doesn't happen consistently, it's a dice roll - but it always happens when a program opens up the audio device. I could be listening to music fine, and then open, for example, an application and boom there it is.
- It happens most consistently when starting a Discord call.
- The only fix is to restart PulseAudio.
- I use a digital to analog converter, the Steinberg UR22, as my soundcard.
Here are some things that do work:
- For Wine, I can change the audio back end to ALSA, and that fixes it. It's still routed to PulseAudio, but the sound never glitches out then. This makes me think it's a PulseAudio problem.
- My sound card has to be 'warm' to start an audio stream immediately. I achieve this by outputting a constant silence signal to the sound card, keeping it 'hot', so that sound plays immediately. This also seems to lower the frequency of the audio problem. The Windows driver also outputs constant silence, it's just a part of how these devices work.
- I do not believe this to be a hardware issue. I have no issues on Windows or OS X with this hardware. The fact that using ALSA also eliminates the problem further reinforces that, but I'd prefer to use Pulse.
Where would I begin to solve and analyze this problem? Once a program has started up, the issue never comes up again. It happens only when the audio device is opened up. What configuration settings could be related to this?
audio pulseaudio usb-audio
The facts:
- This happens on any Linux kernel.
- This happens on any Linux distribution.
- It happens on both input and output, but not necessarily both at the same time.
- It doesn't happen consistently, it's a dice roll - but it always happens when a program opens up the audio device. I could be listening to music fine, and then open, for example, an application and boom there it is.
- It happens most consistently when starting a Discord call.
- The only fix is to restart PulseAudio.
- I use a digital to analog converter, the Steinberg UR22, as my soundcard.
Here are some things that do work:
- For Wine, I can change the audio back end to ALSA, and that fixes it. It's still routed to PulseAudio, but the sound never glitches out then. This makes me think it's a PulseAudio problem.
- My sound card has to be 'warm' to start an audio stream immediately. I achieve this by outputting a constant silence signal to the sound card, keeping it 'hot', so that sound plays immediately. This also seems to lower the frequency of the audio problem. The Windows driver also outputs constant silence, it's just a part of how these devices work.
- I do not believe this to be a hardware issue. I have no issues on Windows or OS X with this hardware. The fact that using ALSA also eliminates the problem further reinforces that, but I'd prefer to use Pulse.
Where would I begin to solve and analyze this problem? Once a program has started up, the issue never comes up again. It happens only when the audio device is opened up. What configuration settings could be related to this?
audio pulseaudio usb-audio
audio pulseaudio usb-audio
asked Dec 8 at 2:41
Spell
13
13
add a comment |
add a comment |
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f486706%2faudio-distorted-and-lowered-pitch-when-starting-an-audio-stream%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f486706%2faudio-distorted-and-lowered-pitch-when-starting-an-audio-stream%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown