Questions tagged [audacity]

free software, cross-platform digital audio editor and recording application

Audacity is a free software, cross-platform digital audio editor and recording application. It is available for Windows, macOS, Linux and BSD.

156 questions
24
votes
3 answers

How to batch split audio files wherever there is silence?

I am using the following command in SoX to split many large audio files at each place where there is silence longer than 0.3 seconds: sox -V3 input.wav output.wav silence 1 0.50 0.1% 1 0.3 0.1% : newfile : restart This however ends up occasionally…
Village
  • 22,513
  • 46
  • 122
  • 163
10
votes
1 answer

Normalizing FFT spectrum magnitude to 0dB

I'm using FFT to extract the amplitude of each frequency components from an audio file. Actually, there is already a function called Plot Spectrum in Audacity that can help to solve the problem. Taking this example audio file which is composed of…
WangYudong
  • 4,335
  • 4
  • 32
  • 54
8
votes
0 answers

Fastest way to read/process large wav files (or any large file) to python

I'm working on a school project where I have to work with large wav files ( > 250Mgb), and I wonder, why when I read such a file to audacity software, it takes about 40 sec to be read and plotted, but when reading it to python using…
mac179
  • 1,540
  • 1
  • 14
  • 24
6
votes
1 answer

Why can't I set master volume for USB/Firewire Audio interface with IAudioEndpointVolume::SetMasterVolumeLevelScalar

I am trying to fix an Audacity bug that revolves around portmixer. The output/input level is settable using the mac version of portmixer, but not always in windows. I am debugging portmixer's window code to try to make it work there. Using…
Michael Chinen
  • 17,737
  • 5
  • 33
  • 45
6
votes
1 answer

Modify volume gain on audio sample buffer

I want to increase a volume on buffer with voice data. The point is I'm using DirectSound and I have one primary and one secondary buffer - all streams mixing is done by hand. In a voice chat all participants can have independent volume levels. I…
Dalamber
  • 1,009
  • 1
  • 12
  • 32
4
votes
1 answer

Moving multiple clips on multiple Tracks in Audacity

I made a Audacity Project with multiple tracks and multiple clips on these tracks. Now I want to add a pause at a point but I can not figure out how. Moving every clips on every tracks after this point manually would be really painful, is there an…
wewejay
  • 149
  • 1
  • 8
4
votes
1 answer

Why is a tiny change in chirp frequency causing a major change in the Fast-Fourier-Tranform output?

Using Audacity, I generated and exported two very similar chirps of 1 second each. One has a frequency of 440.00Hz, and the other has a frequency of 440.01Hz. Using Julia, I made a short script to generate a plot of the FFT: using WAV using…
Lucien
  • 123
  • 8
4
votes
2 answers

NumPy Fast Fourier transform (FFT) does not work on sine wave generated in Audacity

I am trying to use the NumPy library for Python to do some frequency analysis. I have two .wav files that both contain a 440 Hz sine wave. One of them I generated with the NumPy sine function, and the other I generated in Audacity. The FFT works on…
darkfire613
  • 446
  • 3
  • 12
4
votes
0 answers

Reusing Audacity source code

I would like to ask, has anyone successfully reused Audacity's source code in their own program? I am trying to reuse the playing, recording and displaying waveform function of Audacity, but do not know how to do so because of its association with…
cnewbie
  • 85
  • 1
  • 1
  • 10
4
votes
3 answers

scripting Audacity

Is there any scripting library for Audacity? Specifically, I'm looking for a way to give it a long mp3 file podcast.mp3 and have it split into files of, say, 10 minutes each: podcast0.mp3, podcast1.mp3 etc... I don't want to do this manually,…
Nathan Fellman
  • 122,701
  • 101
  • 260
  • 319
4
votes
1 answer

Convert WAV file to TXT file

I have an 8-Bit-WAV-file which I would like to convert into a plain TXT-file. It's important that the resulting TXT-file only contains numbers between 0 and 255, representing the value of every single sample. Of course something like -128 to 128…
lsgng
  • 465
  • 8
  • 22
4
votes
1 answer

How to find the mean/average of a sound in Nyquist

I'm trying to write a simple measurement plug-in for Audacity and it's about as much fun as pounding rocks against my skull. All I want to do is take a chunk of audio and find the average of all the samples (the chunk's DC offset) so that I can…
endolith
  • 25,479
  • 34
  • 128
  • 192
4
votes
1 answer

Extract binary data stream from audio signal

I have binary data in a stream of audio, and I want to decode it. Here is an example screenshot from Audacity: There seems to be a new bit of data every millisecond. This also means the data is encoded at 1000 Hz with a baud rate of 1000. I also…
4
votes
1 answer

How can I programmatically process audio files in a folder system?

I have a few hundred audio files of spoken lectures. I need a piece of software I can call from the command line to process the audio in various ways e.g. changing format, normalising, etc. So far I have tried to batch process files using Audacity…
James Owers
  • 7,948
  • 10
  • 55
  • 71
3
votes
2 answers

Removing characters from a string in Nyquist

How can I remove a certain character from a string in Nyquist (which is very similar to xlisp) and have the result returned? I want to count how many "A" there are in a string like "ABBAAAABBBAABAAAB". (Yes, there are only 'A's and 'B's in the…
David Costa
  • 1,738
  • 18
  • 33
1
2 3
10 11