Import RAW-File with sample rate > 100_000

Help for Audacity 2.x.x on GNU/Linux.
Forum rules
ImageThis forum is for Audacity 2.x.x on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
Luk4s
Posts: 3
Joined: Wed Aug 30, 2017 2:22 pm
Operating System: GNU/Linux other

Import RAW-File with sample rate > 100_000

Post by Luk4s » Wed Aug 30, 2017 2:35 pm

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

steve
Site Admin
Posts: 47303
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu
Contact:

Re: Import RAW-File with sample rate > 100_000

Post by steve » Wed Aug 30, 2017 3:22 pm

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
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Luk4s
Posts: 3
Joined: Wed Aug 30, 2017 2:22 pm
Operating System: GNU/Linux other

Re: Import RAW-File with sample rate > 100_000

Post by Luk4s » Wed Aug 30, 2017 6:45 pm

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.

steve
Site Admin
Posts: 47303
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu
Contact:

Re: Import RAW-File with sample rate > 100_000

Post by steve » Wed Aug 30, 2017 8:47 pm

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?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Luk4s
Posts: 3
Joined: Wed Aug 30, 2017 2:22 pm
Operating System: GNU/Linux other

Re: Import RAW-File with sample rate > 100_000

Post by Luk4s » Thu Aug 31, 2017 4:18 pm

No problems so far.

I use audacity to view acoustic emission recordings, it's a nice tool to get a first overview.

steve
Site Admin
Posts: 47303
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu
Contact:

Re: Import RAW-File with sample rate > 100_000

Post by steve » Thu Aug 31, 2017 5:03 pm

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 ;)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply