Questions tagged [audio]
Code relating to sound recording, playback, and manipulation of audio data and hardware.
135
questions
0
votes
0
answers
73
views
Play simultaneously to multiple soundcards with NAudio
I am working on an audio player application on .NET and am using NAudio as the base class. I need this app to be able to play one file simultaneously to more than one soundcard. I've read about it ...
2
votes
1
answer
160
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
106
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
775
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
578
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
103
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
242
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.
...
1
vote
0
answers
110
views
Getting metadata out of a Shoutcast stream
I have written the following class used to get the metadata out of an internet radio station. It takes a Node Stream and transforms it to grab the metadata out of the mp3 stream and then removes the ...
2
votes
1
answer
120
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 ...
8
votes
1
answer
741
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 ...
1
vote
2
answers
45
views
A Simple Media Generator with Directional Control
My goal was to have a single page display bulk amounts of media without the need to load new pages. I also wanted it to be able to load fast, so the generator uses a JavaScript array to display one ...
5
votes
3
answers
1k
views
C++ WAVE file reader: library-like structure, safety, readability
Introduction
I have released a small a WAVE file reader with a mutex/lock-based caching mechanism, as a header-only library. The general purpose of the library is to read WAVE files into floating ...