Search found 59476 matches

by steve
Fri Nov 08, 2019 1:03 am
Forum: Windows
Topic: Is it possible to create audio map of volume?
Replies: 43
Views: 1227

Re: Is it possible to create audio map of volume?

immmortal wrote:
Thu Nov 07, 2019 6:53 pm
I need advice how to convert this to -dB. Or better dB to amplitude.
Linear to dB in pseudo-code

Code: Select all

lv = <linear-value-to-be-converted>
20*log10(lv)  // dB value
dB to linear in pseudo-code

Code: Select all

dB = <dB-value-to-be-converted>
10^(dB/20)   // linear value
by steve
Fri Nov 08, 2019 12:50 am
Forum: Windows
Topic: Is it possible to create audio map of volume?
Replies: 43
Views: 1227

Re: Is it possible to create audio map of volume?

2.1.2 on Win XP That may be too old to run the script. Try this version ;version 3 ;type analyze (setf steplen 0.2) ;size of blocks in seconds (setf thresh-db -24) ;dhreshold for sound detection ;; For one data point every 'steplen' seconds, we need to look at the ;; peak level each 'steplen' secon...
by steve
Thu Nov 07, 2019 4:28 pm
Forum: macOS
Topic: How to pan individual channels with 4 channel mixer input
Replies: 7
Views: 717

Re: How to pan individual channels with 4 channel mixer input

A mono track in Audacity will normally play through left and right speakers. If you pan it to the left, then there will be more out of the left then the right speakers. If you pan it all the way to the left, then it comes out of the left speaker only. Similarly if you pan a mono track to the right, ...
by steve
Thu Nov 07, 2019 4:06 pm
Forum: macOS
Topic: How to pan individual channels with 4 channel mixer input
Replies: 7
Views: 717

Re: How to pan individual channels with 4 channel mixer input

It looks like Audacity knows and allows input of 4 channels but how does one pan individual channels within Audacity? If you are able to record 4 channels at the same time, then Audacity records whatever comes over USB as "channel 1" and "channel 2" as the left and right channel...
by steve
Thu Nov 07, 2019 3:11 pm
Forum: Windows
Topic: Is it possible to create audio map of volume?
Replies: 43
Views: 1227

Re: Is it possible to create audio map of volume?

Which version of Audacity are you using?
by steve
Thu Nov 07, 2019 2:00 pm
Forum: macOS
Topic: Scrolling left and right in audio track
Replies: 8
Views: 1662

Re: Scrolling left and right in audio track

"Snap To" should normally be off. See: https://manual.audacityteam.org/man/selection_toolbar.html#snap I tried using the Selection Toolbar to move the cursor to a desired time, and it didn’t work. It does work. Ensure that you are using it as described in the manual: https://manual.audacit...
by steve
Thu Nov 07, 2019 1:56 pm
Forum: macOS
Topic: MIDI has no sound
Replies: 8
Views: 740

Re: MIDI has no sound

Shut down Audacity completely, and restart.
by steve
Thu Nov 07, 2019 1:51 pm
Forum: Windows
Topic: Is it possible to create audio map of volume?
Replies: 43
Views: 1227

Re: Is it possible to create audio map of volume?

Is the result in seconds? I don't know what you mean. The result is 1's and 0's as you requested. As described in the code comments (of the Nyquist script that I posted), the selected audio is processed in blocks ("steps") of 0.2 seconds. If the peak level in a block is greater than the t...
by steve
Thu Nov 07, 2019 12:54 pm
Forum: Windows
Topic: Is it possible to create audio map of volume?
Replies: 43
Views: 1227

Re: Is it possible to create audio map of volume?

immmortal wrote:
Thu Nov 07, 2019 12:28 pm
Is it possible to write the data to file?
Yes it's possible, but much easier to just run the code with the "Debug" button, then (manually) copy and paste from the debug window into a file.
by steve
Thu Nov 07, 2019 12:52 pm
Forum: Windows
Topic: Is it possible to create audio map of volume?
Replies: 43
Views: 1227

Re: Is it possible to create audio map of volume?

But on different file it worked fine. The file that you sent is mono. The code is written for mono tracks only. I would increase the level a bit to accept more noise. The "threshold" level is set here: ;; Convert the "threshold" of -33 dB to linear-scale (setf threshold (db-to-l...