Questions tagged [audio]

Code relating to sound recording, playback, and manipulation of audio data and hardware.

Filter by
Sorted by
Tagged with
5
votes
1answer
747 views

Bash Music Player

I have finally finished creating my first real project. It's just a simple music player that can provides the user with the latest music from any site (as long as it contains MP3 files) he provides ...
2
votes
1answer
253 views

Optimizing playlist processing

I am trying to process an audio library file which is about 350 KB. My application processes each song on the file gets its meta-data and displays it in a List Box. The problem is that it takes too ...
9
votes
1answer
986 views

Recording audio in C 2.0

I posted my audio recording program to Code Review before, and received a stern review along with the other reviews that caused me to rewrite the entire code base. Here is what I would like reviewed: ...
9
votes
4answers
5k views

Sound manager for Android

I created a singleton class for managing sound effects on Android. This class will only be instanced and loaded once at the beginning, and each activity will use the loaded songs. I don't know either ...
2
votes
1answer
460 views

Converting an input audio file to a monophonic FLAC file

I have the following method which basically converts an input audio file to a monophonic FLAC file. Now I am getting Member has cyclomatic complexity of 21 (105%) message in Visual Studio, while I've ...
11
votes
1answer
4k views

Play some sine waves with SDL2

Runs smoothly, however valgrind is showing "possibly lost: 544 bytes in 2 blocks". This is my first time doing a lot of things here so I might be making multiple mistakes. Please let me know if ...
30
votes
4answers
15k views

Recording audio in C

Please note there are newer revisions of this code, one here, and one here for continuous audio recording. This is a program I wrote as a .wav audio recording library for Linux. It was developed on ...
2
votes
1answer
212 views

Web Audio Constructors and jQuery

I'm trying to figure out a way to have cleaner, efficient code for a web audio project i've been working on. the code I have right now is this: ...
3
votes
1answer
5k views

TrackBar volume control

This changes the application's volume through the Trackbar (1-100, 1% to 100%): ...
3
votes
1answer
450 views

Simple GTK GUI for the command line program auCDtect

I'm trying to write a simple GTK GUI for the command line program auCDtect. It is supposed to take .flac files, convert them to .wav temporarily, pass the to the auCDtect command line program to check ...
4
votes
1answer
648 views

Playing different audio files based on video keyframe

The general idea of this function is to load a different sound file depending on current time position of the video. I have the following information about audio files: ...
2
votes
1answer
552 views

Ogg audio format conversion classes

This is my command interface: public interface IConverter { void convert(); } This is my Receiver class: ...
3
votes
2answers
11k views

Converting audio to different file formats

I have this code that converts audio to different file formats: ...
14
votes
0answers
393 views

Shepard Tone stream generation in Clojure

This is my work to generate an infinite Shepard Tone. It is written in Clojure and works by generating repeating streams of incrementing frequencies, converting those to values on a sine wave and then ...
2
votes
1answer
2k views

Ring buffer in C tail pointer issue (for audio streaming)

I am currently writing an embedded application for audio streaming purposes. The embedded app will receive audio packets being sent over WiFi, buffer the packets, then send the audio data over to a ...
2
votes
1answer
763 views

Audio scrubber slider bar

I'm trying to improve the quality/efficiency of my coding (having only been learning jQuery for a couple of months). I have a function which loops through all ...
4
votes
1answer
635 views

MP3 player for Linux

I wrote a Python MP3 player for Linux using PyGame, with a curses GUI and a mouse-only interface. It's purely for personal use. It hasn't been polished yet, but for now I'd like to know what I've ...
3
votes
2answers
2k views

FIFO queue for audio data

I have created a data structure to handle some audio data I am generating (simple sine wave right now). It had some errors in it due to some misunderstanding of my ancient C knowledge that has been ...