Is it possible to record a short contained sound no longer than 60 milliseconds? The 2019 Stack Overflow Developer Survey Results Are InWhat sound effects edit 'sound creation' has stumped you like no other?Creating Mech Sounds Similar to Gundam WingHow do I fix USB Mic Static through a preamp?Digital Kazoo FilterSoftware recommendation for cleaning out audio recordingCuBase LE 5 Static NoisesFix for terrible “Hard Drive Noise” Audio Interference?How can I simply record, edit, and export one track of V/O?Help identifying source of unwanted noiseMake it sound like outdoors
Getting crown tickets for Statue of Liberty
Is an up-to-date browser secure on an out-of-date OS?
Why doesn't UInt have a toDouble()?
Why isn't the circumferential light around the M87 black hole's event horizon symmetric?
What information about me do stores get via my credit card?
I am an eight letter word. What am I?
How to support a colleague who finds meetings extremely tiring?
What is this sharp, curved notch on my knife for?
Star Trek - X-shaped Item on Regula/Orbital Office Starbases
Can withdrawing asylum be illegal?
Relationship between Gromov-Witten and Taubes' Gromov invariant
How to obtain a position of last non-zero element
If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?
Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?
A word that means fill it to the required quantity
How come people say “Would of”?
Keeping a retro style to sci-fi spaceships?
Why “相同意思的词” is called “同义词” instead of "同意词"?
If my opponent casts Ultimate Price on my Phantasmal Bear, can I save it by casting Snap or Curfew?
Why was M87 targeted for the Event Horizon Telescope instead of Sagittarius A*?
Match Roman Numerals
What is preventing me from simply constructing a hash that's lower than the current target?
Button changing its text & action. Good or terrible?
For what reasons would an animal species NOT cross a *horizontal* land bridge?
Is it possible to record a short contained sound no longer than 60 milliseconds?
The 2019 Stack Overflow Developer Survey Results Are InWhat sound effects edit 'sound creation' has stumped you like no other?Creating Mech Sounds Similar to Gundam WingHow do I fix USB Mic Static through a preamp?Digital Kazoo FilterSoftware recommendation for cleaning out audio recordingCuBase LE 5 Static NoisesFix for terrible “Hard Drive Noise” Audio Interference?How can I simply record, edit, and export one track of V/O?Help identifying source of unwanted noiseMake it sound like outdoors
I wish to play a short sound in an app (60 Milliseconds is ideal), however I'm noticing glitches in the sound on the current clip I have made.
I'm wondering if these glitches have to do with any ambient noise and improper audio recording (by me). I.E.: audio with reverb is longer than the audio length (after cut).
So my question, Is it possible to record such a short sound and (after noise reduction) won't sound like a static glitchy mess?
I have a Zoom H4N, and am using a sample rate of 48000 Hz. I suppose if I lower my mic gain, I can try to eliminate some noise off the bat. Otherwise I'm not used to having to be this specific about recording audio, so any help is appreciated.
Just for a background on the sound I'm trying to record: Try picturing a short synthesized beep, except created through percussive means (ex: a clap, or a knock on wood, etc.). The more I think about it, I feel like the reverb of the short sound in the room might make this difficult.
Alternatively, would a MIDI sound be a better choice?
audio-recording sound-effects midi
New contributor
|
show 1 more comment
I wish to play a short sound in an app (60 Milliseconds is ideal), however I'm noticing glitches in the sound on the current clip I have made.
I'm wondering if these glitches have to do with any ambient noise and improper audio recording (by me). I.E.: audio with reverb is longer than the audio length (after cut).
So my question, Is it possible to record such a short sound and (after noise reduction) won't sound like a static glitchy mess?
I have a Zoom H4N, and am using a sample rate of 48000 Hz. I suppose if I lower my mic gain, I can try to eliminate some noise off the bat. Otherwise I'm not used to having to be this specific about recording audio, so any help is appreciated.
Just for a background on the sound I'm trying to record: Try picturing a short synthesized beep, except created through percussive means (ex: a clap, or a knock on wood, etc.). The more I think about it, I feel like the reverb of the short sound in the room might make this difficult.
Alternatively, would a MIDI sound be a better choice?
audio-recording sound-effects midi
New contributor
Hi Matthew and Welcome. A sample of the sound would help provide better answers, as we'd know what kind of distortion or artifacts you're referring to. Does it only sound distorted when played back through the phone's speaker/s?
– Marc W
Apr 6 at 5:37
@MarcW How can I share a raw file snippet? (I'm encoding it into Raw 16-bit PCM). Otherwise I can take the clip from my audacity project and share that somewhere. Audacity doesn't seem to like to play short (<100 ms) audio previews in the project, but when I play longer previews, I can hear the sound fine. Otherwise the distortion in question is coming from the android speakers, which I am also debugging to see if my program is at fault (I'm using low level C++ code to play audio, or more specifically the Oboe native library).
– Matthew Strom
Apr 6 at 8:16
Curious, why are you encoding it in RAW PCM? That's a headerless format I think (i.e. no SR/Bit Depth info). Also, you need to check Audacity's setting for auto-fades if it won't play short audio snippets. Because there's no other reason I can think of why it wouldn't play it fine. Check that first. Then check if a WAV version will play in any media player after export.
– Marc W
Apr 6 at 19:16
I'm Currently using RAW PCM to output into a audio buffer on a phone app (that's the format google suggested). There is also a new option to use MP3 if I change some of my application. I might be having issues with Audacity since I'm on Linux, it might work better on windows. Otherwise I've tried using a fade at the end of the clip, and I think it sounds a bit better on some android devices. I also output a new sample to wav, and it does sound relatively fine, but I believe part of the issue may also be from my application code so I'll try some different things there as well
– Matthew Strom
Apr 6 at 21:58
1
All of the feed back has been helpful by the way, thanks everyone!
– Matthew Strom
Apr 6 at 22:00
|
show 1 more comment
I wish to play a short sound in an app (60 Milliseconds is ideal), however I'm noticing glitches in the sound on the current clip I have made.
I'm wondering if these glitches have to do with any ambient noise and improper audio recording (by me). I.E.: audio with reverb is longer than the audio length (after cut).
So my question, Is it possible to record such a short sound and (after noise reduction) won't sound like a static glitchy mess?
I have a Zoom H4N, and am using a sample rate of 48000 Hz. I suppose if I lower my mic gain, I can try to eliminate some noise off the bat. Otherwise I'm not used to having to be this specific about recording audio, so any help is appreciated.
Just for a background on the sound I'm trying to record: Try picturing a short synthesized beep, except created through percussive means (ex: a clap, or a knock on wood, etc.). The more I think about it, I feel like the reverb of the short sound in the room might make this difficult.
Alternatively, would a MIDI sound be a better choice?
audio-recording sound-effects midi
New contributor
I wish to play a short sound in an app (60 Milliseconds is ideal), however I'm noticing glitches in the sound on the current clip I have made.
I'm wondering if these glitches have to do with any ambient noise and improper audio recording (by me). I.E.: audio with reverb is longer than the audio length (after cut).
So my question, Is it possible to record such a short sound and (after noise reduction) won't sound like a static glitchy mess?
I have a Zoom H4N, and am using a sample rate of 48000 Hz. I suppose if I lower my mic gain, I can try to eliminate some noise off the bat. Otherwise I'm not used to having to be this specific about recording audio, so any help is appreciated.
Just for a background on the sound I'm trying to record: Try picturing a short synthesized beep, except created through percussive means (ex: a clap, or a knock on wood, etc.). The more I think about it, I feel like the reverb of the short sound in the room might make this difficult.
Alternatively, would a MIDI sound be a better choice?
audio-recording sound-effects midi
audio-recording sound-effects midi
New contributor
New contributor
New contributor
asked Apr 6 at 1:53
Matthew StromMatthew Strom
112
112
New contributor
New contributor
Hi Matthew and Welcome. A sample of the sound would help provide better answers, as we'd know what kind of distortion or artifacts you're referring to. Does it only sound distorted when played back through the phone's speaker/s?
– Marc W
Apr 6 at 5:37
@MarcW How can I share a raw file snippet? (I'm encoding it into Raw 16-bit PCM). Otherwise I can take the clip from my audacity project and share that somewhere. Audacity doesn't seem to like to play short (<100 ms) audio previews in the project, but when I play longer previews, I can hear the sound fine. Otherwise the distortion in question is coming from the android speakers, which I am also debugging to see if my program is at fault (I'm using low level C++ code to play audio, or more specifically the Oboe native library).
– Matthew Strom
Apr 6 at 8:16
Curious, why are you encoding it in RAW PCM? That's a headerless format I think (i.e. no SR/Bit Depth info). Also, you need to check Audacity's setting for auto-fades if it won't play short audio snippets. Because there's no other reason I can think of why it wouldn't play it fine. Check that first. Then check if a WAV version will play in any media player after export.
– Marc W
Apr 6 at 19:16
I'm Currently using RAW PCM to output into a audio buffer on a phone app (that's the format google suggested). There is also a new option to use MP3 if I change some of my application. I might be having issues with Audacity since I'm on Linux, it might work better on windows. Otherwise I've tried using a fade at the end of the clip, and I think it sounds a bit better on some android devices. I also output a new sample to wav, and it does sound relatively fine, but I believe part of the issue may also be from my application code so I'll try some different things there as well
– Matthew Strom
Apr 6 at 21:58
1
All of the feed back has been helpful by the way, thanks everyone!
– Matthew Strom
Apr 6 at 22:00
|
show 1 more comment
Hi Matthew and Welcome. A sample of the sound would help provide better answers, as we'd know what kind of distortion or artifacts you're referring to. Does it only sound distorted when played back through the phone's speaker/s?
– Marc W
Apr 6 at 5:37
@MarcW How can I share a raw file snippet? (I'm encoding it into Raw 16-bit PCM). Otherwise I can take the clip from my audacity project and share that somewhere. Audacity doesn't seem to like to play short (<100 ms) audio previews in the project, but when I play longer previews, I can hear the sound fine. Otherwise the distortion in question is coming from the android speakers, which I am also debugging to see if my program is at fault (I'm using low level C++ code to play audio, or more specifically the Oboe native library).
– Matthew Strom
Apr 6 at 8:16
Curious, why are you encoding it in RAW PCM? That's a headerless format I think (i.e. no SR/Bit Depth info). Also, you need to check Audacity's setting for auto-fades if it won't play short audio snippets. Because there's no other reason I can think of why it wouldn't play it fine. Check that first. Then check if a WAV version will play in any media player after export.
– Marc W
Apr 6 at 19:16
I'm Currently using RAW PCM to output into a audio buffer on a phone app (that's the format google suggested). There is also a new option to use MP3 if I change some of my application. I might be having issues with Audacity since I'm on Linux, it might work better on windows. Otherwise I've tried using a fade at the end of the clip, and I think it sounds a bit better on some android devices. I also output a new sample to wav, and it does sound relatively fine, but I believe part of the issue may also be from my application code so I'll try some different things there as well
– Matthew Strom
Apr 6 at 21:58
1
All of the feed back has been helpful by the way, thanks everyone!
– Matthew Strom
Apr 6 at 22:00
Hi Matthew and Welcome. A sample of the sound would help provide better answers, as we'd know what kind of distortion or artifacts you're referring to. Does it only sound distorted when played back through the phone's speaker/s?
– Marc W
Apr 6 at 5:37
Hi Matthew and Welcome. A sample of the sound would help provide better answers, as we'd know what kind of distortion or artifacts you're referring to. Does it only sound distorted when played back through the phone's speaker/s?
– Marc W
Apr 6 at 5:37
@MarcW How can I share a raw file snippet? (I'm encoding it into Raw 16-bit PCM). Otherwise I can take the clip from my audacity project and share that somewhere. Audacity doesn't seem to like to play short (<100 ms) audio previews in the project, but when I play longer previews, I can hear the sound fine. Otherwise the distortion in question is coming from the android speakers, which I am also debugging to see if my program is at fault (I'm using low level C++ code to play audio, or more specifically the Oboe native library).
– Matthew Strom
Apr 6 at 8:16
@MarcW How can I share a raw file snippet? (I'm encoding it into Raw 16-bit PCM). Otherwise I can take the clip from my audacity project and share that somewhere. Audacity doesn't seem to like to play short (<100 ms) audio previews in the project, but when I play longer previews, I can hear the sound fine. Otherwise the distortion in question is coming from the android speakers, which I am also debugging to see if my program is at fault (I'm using low level C++ code to play audio, or more specifically the Oboe native library).
– Matthew Strom
Apr 6 at 8:16
Curious, why are you encoding it in RAW PCM? That's a headerless format I think (i.e. no SR/Bit Depth info). Also, you need to check Audacity's setting for auto-fades if it won't play short audio snippets. Because there's no other reason I can think of why it wouldn't play it fine. Check that first. Then check if a WAV version will play in any media player after export.
– Marc W
Apr 6 at 19:16
Curious, why are you encoding it in RAW PCM? That's a headerless format I think (i.e. no SR/Bit Depth info). Also, you need to check Audacity's setting for auto-fades if it won't play short audio snippets. Because there's no other reason I can think of why it wouldn't play it fine. Check that first. Then check if a WAV version will play in any media player after export.
– Marc W
Apr 6 at 19:16
I'm Currently using RAW PCM to output into a audio buffer on a phone app (that's the format google suggested). There is also a new option to use MP3 if I change some of my application. I might be having issues with Audacity since I'm on Linux, it might work better on windows. Otherwise I've tried using a fade at the end of the clip, and I think it sounds a bit better on some android devices. I also output a new sample to wav, and it does sound relatively fine, but I believe part of the issue may also be from my application code so I'll try some different things there as well
– Matthew Strom
Apr 6 at 21:58
I'm Currently using RAW PCM to output into a audio buffer on a phone app (that's the format google suggested). There is also a new option to use MP3 if I change some of my application. I might be having issues with Audacity since I'm on Linux, it might work better on windows. Otherwise I've tried using a fade at the end of the clip, and I think it sounds a bit better on some android devices. I also output a new sample to wav, and it does sound relatively fine, but I believe part of the issue may also be from my application code so I'll try some different things there as well
– Matthew Strom
Apr 6 at 21:58
1
1
All of the feed back has been helpful by the way, thanks everyone!
– Matthew Strom
Apr 6 at 22:00
All of the feed back has been helpful by the way, thanks everyone!
– Matthew Strom
Apr 6 at 22:00
|
show 1 more comment
2 Answers
2
active
oldest
votes
You can use any sound you like and at the length you want, if you use an simple audio editor like Audacity, or a more advanced solution that can offer MIDI/synths, and additional tracks like Pro Tools.
I would first source the sounds either by recording them or using an instrument or synth that you can record into a digital audio workstation, then edit and fade them to the length that is most compatible.
When exporting the sounds, ensure that it is also compatible with the app or mobile OS by also matching the correct sample rate and Bit depth. You might benefit by converting it to MP3 to save disk space (Audacity or iTunes can do this).
add a comment |
You're probably experiencing the joys of a non-zero crossing at the edit points. Sure, you can record a sound and then shorten it in a DAW, as Joel has mentioned, but you do need to make sure you put a short fade in and fade out at the start and end of the sample.
If you do not, the DAC will have to deal with outputting sample values that will ensure that you have a very hard edge at the start and end of the sample which will result in a very nasty audible click at the start and end of playback.
To fix this you need to fade that sample in gradually and then fade out again. Doesn't have to be a long fade, just enough to get from a sample value of 0 to your audio level and then back again to zero once you have finished.
I will give this a try!
– Matthew Strom
Apr 6 at 8:17
I +1'd because it's helpful and explanatory ;)
– Marc W
Apr 7 at 2:21
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "512"
;
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',
autoActivateHeartbeat: false,
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
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Matthew Strom is a new contributor. Be nice, and check out our Code of Conduct.
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%2fsound.stackexchange.com%2fquestions%2f45657%2fis-it-possible-to-record-a-short-contained-sound-no-longer-than-60-milliseconds%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use any sound you like and at the length you want, if you use an simple audio editor like Audacity, or a more advanced solution that can offer MIDI/synths, and additional tracks like Pro Tools.
I would first source the sounds either by recording them or using an instrument or synth that you can record into a digital audio workstation, then edit and fade them to the length that is most compatible.
When exporting the sounds, ensure that it is also compatible with the app or mobile OS by also matching the correct sample rate and Bit depth. You might benefit by converting it to MP3 to save disk space (Audacity or iTunes can do this).
add a comment |
You can use any sound you like and at the length you want, if you use an simple audio editor like Audacity, or a more advanced solution that can offer MIDI/synths, and additional tracks like Pro Tools.
I would first source the sounds either by recording them or using an instrument or synth that you can record into a digital audio workstation, then edit and fade them to the length that is most compatible.
When exporting the sounds, ensure that it is also compatible with the app or mobile OS by also matching the correct sample rate and Bit depth. You might benefit by converting it to MP3 to save disk space (Audacity or iTunes can do this).
add a comment |
You can use any sound you like and at the length you want, if you use an simple audio editor like Audacity, or a more advanced solution that can offer MIDI/synths, and additional tracks like Pro Tools.
I would first source the sounds either by recording them or using an instrument or synth that you can record into a digital audio workstation, then edit and fade them to the length that is most compatible.
When exporting the sounds, ensure that it is also compatible with the app or mobile OS by also matching the correct sample rate and Bit depth. You might benefit by converting it to MP3 to save disk space (Audacity or iTunes can do this).
You can use any sound you like and at the length you want, if you use an simple audio editor like Audacity, or a more advanced solution that can offer MIDI/synths, and additional tracks like Pro Tools.
I would first source the sounds either by recording them or using an instrument or synth that you can record into a digital audio workstation, then edit and fade them to the length that is most compatible.
When exporting the sounds, ensure that it is also compatible with the app or mobile OS by also matching the correct sample rate and Bit depth. You might benefit by converting it to MP3 to save disk space (Audacity or iTunes can do this).
answered Apr 6 at 3:08
Joel PintericJoel Pinteric
47539
47539
add a comment |
add a comment |
You're probably experiencing the joys of a non-zero crossing at the edit points. Sure, you can record a sound and then shorten it in a DAW, as Joel has mentioned, but you do need to make sure you put a short fade in and fade out at the start and end of the sample.
If you do not, the DAC will have to deal with outputting sample values that will ensure that you have a very hard edge at the start and end of the sample which will result in a very nasty audible click at the start and end of playback.
To fix this you need to fade that sample in gradually and then fade out again. Doesn't have to be a long fade, just enough to get from a sample value of 0 to your audio level and then back again to zero once you have finished.
I will give this a try!
– Matthew Strom
Apr 6 at 8:17
I +1'd because it's helpful and explanatory ;)
– Marc W
Apr 7 at 2:21
add a comment |
You're probably experiencing the joys of a non-zero crossing at the edit points. Sure, you can record a sound and then shorten it in a DAW, as Joel has mentioned, but you do need to make sure you put a short fade in and fade out at the start and end of the sample.
If you do not, the DAC will have to deal with outputting sample values that will ensure that you have a very hard edge at the start and end of the sample which will result in a very nasty audible click at the start and end of playback.
To fix this you need to fade that sample in gradually and then fade out again. Doesn't have to be a long fade, just enough to get from a sample value of 0 to your audio level and then back again to zero once you have finished.
I will give this a try!
– Matthew Strom
Apr 6 at 8:17
I +1'd because it's helpful and explanatory ;)
– Marc W
Apr 7 at 2:21
add a comment |
You're probably experiencing the joys of a non-zero crossing at the edit points. Sure, you can record a sound and then shorten it in a DAW, as Joel has mentioned, but you do need to make sure you put a short fade in and fade out at the start and end of the sample.
If you do not, the DAC will have to deal with outputting sample values that will ensure that you have a very hard edge at the start and end of the sample which will result in a very nasty audible click at the start and end of playback.
To fix this you need to fade that sample in gradually and then fade out again. Doesn't have to be a long fade, just enough to get from a sample value of 0 to your audio level and then back again to zero once you have finished.
You're probably experiencing the joys of a non-zero crossing at the edit points. Sure, you can record a sound and then shorten it in a DAW, as Joel has mentioned, but you do need to make sure you put a short fade in and fade out at the start and end of the sample.
If you do not, the DAC will have to deal with outputting sample values that will ensure that you have a very hard edge at the start and end of the sample which will result in a very nasty audible click at the start and end of playback.
To fix this you need to fade that sample in gradually and then fade out again. Doesn't have to be a long fade, just enough to get from a sample value of 0 to your audio level and then back again to zero once you have finished.
edited Apr 6 at 5:47
answered Apr 6 at 5:07
MarkMark
3,375820
3,375820
I will give this a try!
– Matthew Strom
Apr 6 at 8:17
I +1'd because it's helpful and explanatory ;)
– Marc W
Apr 7 at 2:21
add a comment |
I will give this a try!
– Matthew Strom
Apr 6 at 8:17
I +1'd because it's helpful and explanatory ;)
– Marc W
Apr 7 at 2:21
I will give this a try!
– Matthew Strom
Apr 6 at 8:17
I will give this a try!
– Matthew Strom
Apr 6 at 8:17
I +1'd because it's helpful and explanatory ;)
– Marc W
Apr 7 at 2:21
I +1'd because it's helpful and explanatory ;)
– Marc W
Apr 7 at 2:21
add a comment |
Matthew Strom is a new contributor. Be nice, and check out our Code of Conduct.
Matthew Strom is a new contributor. Be nice, and check out our Code of Conduct.
Matthew Strom is a new contributor. Be nice, and check out our Code of Conduct.
Matthew Strom is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Sound Design 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.
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%2fsound.stackexchange.com%2fquestions%2f45657%2fis-it-possible-to-record-a-short-contained-sound-no-longer-than-60-milliseconds%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
Hi Matthew and Welcome. A sample of the sound would help provide better answers, as we'd know what kind of distortion or artifacts you're referring to. Does it only sound distorted when played back through the phone's speaker/s?
– Marc W
Apr 6 at 5:37
@MarcW How can I share a raw file snippet? (I'm encoding it into Raw 16-bit PCM). Otherwise I can take the clip from my audacity project and share that somewhere. Audacity doesn't seem to like to play short (<100 ms) audio previews in the project, but when I play longer previews, I can hear the sound fine. Otherwise the distortion in question is coming from the android speakers, which I am also debugging to see if my program is at fault (I'm using low level C++ code to play audio, or more specifically the Oboe native library).
– Matthew Strom
Apr 6 at 8:16
Curious, why are you encoding it in RAW PCM? That's a headerless format I think (i.e. no SR/Bit Depth info). Also, you need to check Audacity's setting for auto-fades if it won't play short audio snippets. Because there's no other reason I can think of why it wouldn't play it fine. Check that first. Then check if a WAV version will play in any media player after export.
– Marc W
Apr 6 at 19:16
I'm Currently using RAW PCM to output into a audio buffer on a phone app (that's the format google suggested). There is also a new option to use MP3 if I change some of my application. I might be having issues with Audacity since I'm on Linux, it might work better on windows. Otherwise I've tried using a fade at the end of the clip, and I think it sounds a bit better on some android devices. I also output a new sample to wav, and it does sound relatively fine, but I believe part of the issue may also be from my application code so I'll try some different things there as well
– Matthew Strom
Apr 6 at 21:58
1
All of the feed back has been helpful by the way, thanks everyone!
– Matthew Strom
Apr 6 at 22:00