Questions tagged [audio]
Code relating to sound recording, playback, and manipulation of audio data and hardware.
137 questions
11
votes
5
answers
857
views
Python program that iterates over audio files with a progress bar interface
I have a utility that updates, transcodes and renames audio files. Previously I used a function that simply yielded every file that was a good match (based on file extension).
As some tasks can take ...
6
votes
1
answer
216
views
Showing an audio waveform from sample audio data with user interaction for zoom in/out
I want to show an interactive audio waveform like this.
I've extracted the sample data using AVAssetReader. Using this data, I'm drawing a UIBezierPath in a Scrollview's contentView. Currently, when I ...
5
votes
4
answers
392
views
A Custom Process for ffmpeg that allows chaining arguments
The class that I've created for ffmpeg that derives from System.Diagnostics.Process. I'm looking for any help with arguments that can be added for more support. A ...
3
votes
0
answers
109
views
MIDI router in Rust
I am working on a small MIDI router application for the Jack audio connection kit in Rust. The goal of the application is to route MIDI signals from an instrument to one or multiple applications in ...
2
votes
1
answer
209
views
ESP32-12: Sample analog audio and send it via udp
I want to sample audio as a learning process.
In the future i want to make my dorbell "smart" and stream the audio via VoIP. But as beginning i want to sample a simple audio signal from my ...
6
votes
1
answer
154
views
Beat Box: an app for making, playing, saving, and loading beat patterns
I was reading Head First Java. The book featured a project called BeatBox that allowed you to make, play, save, and load beat patterns using Java's Sequencer API ...
2
votes
0
answers
789
views
React hook to play audio with Web Audio API
My goal was to make playing sounds in my React game easy and efficient. Using <audio> tags wasn't an option, because on mobile it creates huge delays between ...
5
votes
2
answers
2k
views
Simple virtual piano
The application is a virtual piano with only one octave for simplicity.
What can I improve with this code?
...
9
votes
1
answer
4k
views
17
votes
4
answers
4k
views
Python program to scramble MP3 audio
I'm super new to coding. I had a random idea in the car to make this application in order dive head first into learning to code.
This is an app to take an MP3 file, "shred it" into pieces (...
3
votes
1
answer
617
views
KivyPlayer - first Kivy app
So I have decided to learn Kivy Framework. Did two small apps containing mainly just labels (so that doesn't count) and decided I am going to do a simple music player. Nothing fancy just to learn ...
2
votes
0
answers
117
views
Decoding audio encoded with LDAC codec
The full code (works on x86_64) is available on GitHub
At first I used just original floating-point version, but it turned out to be too slow, because used DSP (32 bit, 120 MHz max, 112kB program and ...
1
vote
1
answer
268
views
Safely and Quickly Trim a Byte Array of Audio in Java
I'm trying to take a raw byte array of audio and trim it.
The user selects a start and end value using a range slider.
...
2
votes
1
answer
139
views
macOS: resetting balance to center (0.5) using Swift
Due to some bug somewhere, my speaker balance kept moving off-center and it was getting annoying. So I cobbled together the code below (based on this question) which—to my surprise—does compile and ...
10
votes
1
answer
814
views
Modular synthesizer framework for C++
While working on a much more complicated audio application, I was thinking about modular synthesizers, and whether it could be made simple to build a C++ application that implemented a modular ...