audio

Get list of available Windows audio file formats

I've got a C# program that's supposed to play audio files. I've figured out how to play any sound file for which Windows has a codec by using DirectShow, but now I want to properly fill in the file type filter box on the Open dialog. I'd like to automatically list any file format for which Windows has a codec. If some random user inst...

Mute Windows Volume using C#

Anyone know how to programmatically mute the Windows XP Volume using C#? ...

Individual DirecShow merit on audio renders

My computer has two external audiocards and one in the motherboard with windows vista. In Vista it sees two entities for the same soundcard, a digital- and a analog output. When i try to play an videofile with digital audio, say an dvd, it chooses 'Default DirectSound' whereas i want it to use 'Digital Output Auzentech'. So i thought e...

Anyone have a pointer for what is needed to make an MP3 Tag applicaiton?

I get FLAC files a lot and want to automate the taging of the end point MP3 files after I have converted them. What is my best library to interface with? Vista machine and C# for my code base. The flac files come with a text file for the show, and the numbers performed. I'll edit that any way possible. I use winamp for a player bu...

Pitch identification in Linux

Is there any free software tool or combination that allows me to identify the pitch of a recorded singing session? The idea is to display some kind of graph with the current pitch in a time line along with markers for the standard notes (C3, C#3, D, etc). I don't need pitch correction and I don't need it to be done in real time, either....

Streaming audio to a browser

I have a large amount of audio stored on my web server in a very custom format that can't be replayed by anything other than my own application. That application is a Win32 app that can connect to my web server and stream and replay that audio. I'd really like to be able to do the streaming and replaying from within a browser, but do...

Best Voice Compression Algorithms/Formats

We have some raw voice audio that we need to distribute over the internet. We need decent quality, but it doesn't need to be of musical quality. Our main concern is usability by the consumer (i.e. what and where they can play it) and size of the download. My experience has shown that mp3s do not produce the best compression numbers for v...

Which data structure for linking text with audio in Java

I want to write a program in which plays an audio file that reads a text. I want to highlite the current syllable that the audiofile plays in green and the rest of the current word in red. What kind of datastructure should I use to store the audio file and the information that tells the program when to switch to the next word/syllable? ...

Bass.dll Playing PushStream more than once

I'm using a pushStream, which is filled with audiodata. After all data is pushed to the stream I'm using Bass.BASS_ChannelPlay(playPushStream, false) to play it, which works fine but only once. What do I have to do that I can play it multiple times (one after another)? Reseting position to 0 and using the Loop Basflag did nothing. Than...

Bandlimited waveform generation

I am writing a software synthesizer and need to generate bandlimited, alias free waveforms in real time at 44.1 kHz samplerate. Sawtooth waveform would do for now, since I can generate a pulse wave by mixing two sawtooths together, one inverted and phase shifted. So far I've tried the following approaches: Precomputing one-cycle perfe...

Obtaining MP3 Audio Compression Library

Hi, I would like to find out where I would be able to find the MP3 library, for implementation in an Operating System. Thanks. ...

Looking for open-source library for editing AAC metadata (M4A files)

I'm looking for an open-source library for editing AAC metadata in M4A files (as appearing in iTunes). Specifically, I need to be able to add an album art tag. It should be something similar to id3lib, which works with ID3 tags on MP3 files. ...

Play Audio from a Stream using C#

Is there a way in C# to play audio (e.g. MP3) direcly from a Stream (I mean the real .NET class) that for instance was returend from a WebRequest without saving the data temporarily to the disk? Solution with NAudio With the help of NAudio 1.3 it is possible to: load a mp3 file from a url into a MemoryStream convert mp3 data into w...

Does repeated loading and saving of a compressed audio file reduce quality?

Like it is the case with jpeg images for example? What's about mp3 or ogg vorbis audio files? ...

Cross-platform, cross-browser way to play sound from Javascript?

I am writing a dhtml application that creates an interactive simulation of a system. The data for the simulation is generated from another tool, and there is already a very large amount of legacy data. Some steps in the simulation require that we play "voice-over" clips of audio. I've been unable to find an easy way to accomplish this ...

Why would waveOutWrite() cause an exception in the debug heap?

While researching this issue, I found multiple mentions of the following scenario online, invariably as unanswered questions on programming forums. I hope that posting this here will at least serve to document my findings. First, the symptom: While running pretty standard code that uses waveOutWrite() to output PCM audio, I sometimes ge...

Convert audio stream to WAV byte array in Java without temp file

Given an InputStream called in which contains audio data in a compressed format (such as MP3 or OGG), I wish to create a byte array containing a WAV conversion of the input data. Unfortunately, if you try to do this, JavaSound hands you the following error: java.io.IOException: stream length not specified I managed to get it to work b...

What's the best audio compression library for .NET?

I'm looking for a good audio compression library for .NET. Anything using MP3 is out (because of the licensing issue). Basically I just need to be able to compress regular WAV audio data into some format, and decompress back to WAV. Preferably the code would be all .NET (C# or VB.NET), but I don't think this is likely. It should eith...

Creating sine or square wave in C#

How do a I generate an audio sine or square wave of a given frequency. I am hoping to do this to calibrate equipment, so how precise would these waves be? ...

WAV file auto repeat in C#

I have a 10 second sound effect wave file. What I would like to do is take that file and repeat it n number of times and then save the longer WAV file to disk. This way I can create a much longer background effect rather than auto-repeat on the media player which is a bit stuttered between repeats. I am trying to do this in C#. ...