Page 1 of 1
Import RAW-File with sample rate > 100_000
Posted: Wed Aug 30, 2017 2:35 pm
by Luk4s
Hello,
why is the sample rate limited to 100000 at Raw-Data imports?
See:
https://github.com/audacity/audacity/bl ... w.cpp#L493
Is this just a check to prevent wrong user input or is the import method unable to handle sample rates over 100kHz?
Best regards
Lukas
Re: Import RAW-File with sample rate > 100_000
Posted: Wed Aug 30, 2017 3:22 pm
by steve
I'd guess that it's just a semi-arbitrary sanity check. In rare cases where you want to import RAW data at a higher sample rate, you can use the track drop-down menu to set the sample rate (
http://manual.audacityteam.org/man/audi ... _menu.html) up to 1,000,000 Hz
Re: Import RAW-File with sample rate > 100_000
Posted: Wed Aug 30, 2017 6:45 pm
by Luk4s
Thank you for your fast answer!
Your suggestion was my previous workflow.
Since it's only a raw case, i simply forked the project and customised the default values to my needs.
Re: Import RAW-File with sample rate > 100_000
Posted: Wed Aug 30, 2017 8:47 pm
by steve
Luk4s wrote:Since it's only a raw case, i simply forked the project and customised the default values to my needs.
and no problem over 100,000 Hz I presume?
Out of interest, why do you need > 100 kHz RAW PCM?
Re: Import RAW-File with sample rate > 100_000
Posted: Thu Aug 31, 2017 4:18 pm
by Luk4s
No problems so far.
I use audacity to view
acoustic emission recordings, it's a nice tool to get a first overview.
Re: Import RAW-File with sample rate > 100_000
Posted: Thu Aug 31, 2017 5:03 pm
by steve
Luk4s wrote:I use audacity to view acoustic emission recordings, it's a nice tool to get a first overview.
It's amazing some of the things that Audacity is used for - this goes onto my mental list of more unusual uses
