Click here to Skip to main content
15,889,216 members
Everything / Multimedia / Audio

Audio

audio

Great Reads

by Andy Allinger
Convert audio to image. (Edit the image.) Convert image to music.
by honey the codewitch
Provides a complete managed API for working with MIDI files, sequences and devices
by Steve Hoult
Creation of an Audio analysis framework to enable developers with little to no understanding of audio analysis to develop audio-driven games
by ljw1004
How to use UPnP on Windows 8

Latest Articles

by Andy Allinger
Convert audio to image. (Edit the image.) Convert image to music.
by ToughDev
How to interface VS1053 Audio Encoder/Decoder Module with PIC using SPI
by honey the codewitch
Mix wavs and waveforms with this simple to use library
by Vishwas_R
Simple Audio Player to browse any song with Play / Pause, Stop options & a waveform generated using CanvasJS charts

All Articles

Sort by Updated

Audio 

16 Mar 2011 by #realJSOP
This library might help:nAudio on Codeplex[^]
26 Jul 2014 by (Username_Taken)
I need to read a .wav file to an array of frequency/duration pairs for use in a Console.Beep(int,int)-type function. So far, I have read the data into a float array and performed an FFT, but I can't make heads or tails of the complex number results. Having searched all over the internet, I can't...
5 Aug 2014 by (Username_Taken)
An outline of basic beat detection for games such as guitar hero.
10 Jul 2011 by 0Question-Mark0
Hi,i'm wondering if it's posible to stream an internet Radio-Stream with Java?I searched the inet and found a code for playing mp3 files on your pc.The plugin is called JavaZoom.import javax.sound.sampled.*;import java.io.*;public class Radio { public static void...
24 Jun 2013 by 1234anand
i am working with huwaei modem i want to make dialer from it in windows xpatd command is used for dialing and at+chup is used for disconnect the call.but i am not able to sucess in audio transfer from serial port of huwai modem to mic in computer can any one help meThanks
17 Jan 2020 by 49R
How raw data is divided into bytes. As present audio contains 32bit(2^32 tones) it ranges from 2^0 - 2^32. ex -> 6710497.. (Considering decimal) how is it divided to 67 104 97 Does FileInputStream has a method to check like if(671>256){send 67 , next append 1} What I have tried: ...
29 Jan 2013 by Abed AlSayed
Hello, I don't know anything about Audio Spectrum Analyzers and how it gets its values, but what I'm trying to do is to get these values and display it in a label, so what these values are? and how to get them and how to calculate the percentage of each one to use them for example in...
22 Apr 2011 by Abhinav S
You can also allow the user to choose the location of the wave file by using the Open File dialog control[^].
14 Aug 2011 by Abhinav S
This[^] is a third party tool that you could use.
23 Oct 2011 by AC Falk
I am not one of you genius software fellows....just a simple chemical engineer that cannot seem to do something that should be rather simple: download MP3 recordings as they play into files on my PC without going through a microphone. The two approaches that I see here under The Code Project,...
27 May 2012 by adam213
Dim sql As String = "INSERT INTO student VALUES(@Photo)" Dim cmd As New SqlCommand(Sql, con) Dim ms As New MemoryStream() PictureBox1.Image.Save(ms, PictureBox1.Image.RawFormat) Dim data As Byte() = ms.GetBuffer() Dim p As New...
9 Jul 2013 by adiadi
Hello,We have a client SW that receive from a server OPUS packets that client should play.The client is designed in Linux and use GStreamer playbin2 pipeline for this:pipeline = gst_parse_launch ("playbin2 uri=appsrc:// ", NULL);where the appsrc we fill with OPUS packets into a...
21 Feb 2011 by afgkidy
I want to remove the singer's voice in audio or video files, remain the background voice of the audio.How can I implement this functionality?Could someone give me some advice?Thanks a lot.
9 Jun 2020 by After2050
How to create and play sounds in HTML5
27 Nov 2012 by Ahm.Gawad
I am developing a VoIP application and Need to know if there is any open-source implementation for G722 speech codecs.?!
29 Nov 2012 by Ahm.Gawad
Thanks , your answer give me a good push, here how i solved it :I used the common g722 impl from spanDSP (all the working impl use it) and add JNI interface so i can use it in my JAVA App.
9 Dec 2014 by aj_scorpio
hii i have made a program in Directshow using Visual C++ to convert the microphone audio into MP3 by using LAME ENCODER. Now i would like to access the buffer so that i can use the encoded data for further processes. So my question is can i use the sample grabber to do so. Pls help me i'm new to...
2 Oct 2012 by Ajesh Kumar.T.T
CreateMediaSource( lpctszInput_i, &pSource );AUDIO_ATTRIBUTES_t stAudioParam;SubTypeGUID = MFAudioFormat_MP3;ContainerTypeGUID = MFTranscodeContainerType_MP3;hrStatus = MFCreateTranscodeProfile( &pProfile );hrStatus = MFCreateAttributes( &pAudioAttributes, 7 );hrStatus =...
30 Jan 2014 by AlanSA
What I need to do is to build an application that can playback mediafiles using the Windows media player control (easy part). Is it possible to have events embedded inside the media file so that I can display certain text to the user at certain points in the video without having to track the...
3 Jul 2011 by Albert Holguin
This is an interesting project, but I can tell you you'll end up having a really hard time identifying chords, since you'll end up not only with a combination of notes, but a variety of byproduct frequencies. You're bound to find all sorts of interesting things, good luck!
9 Jul 2011 by Albert Holguin
There's no actual question and the number of topics covered is really broad in nature, but here's a push start.1. There's probably libraries that'll help you to do this, or you can use the Windows Wave IO API[^] to do it.2. See 1, that is sampling.3. If you know the math, do it yourself....
13 Jul 2011 by Albert Holguin
If you know how to do an FFT with FFTW, then you should know how to do it in real-time, all you have to do is collect a number of samples (fixed number) and continually evaluate the FFT after you collect an entire block. Every time you get a new array of output data from the FFT computation,...
23 Oct 2011 by Albert Holguin
Use Google:http://lmgtfy.com/?q=sound+card+capture+software[^]FYI...These are development forums, so most of the articles here will be targeted at developers. If you want software that you can use "off the rack" (so to speak), you're better off doing a Google search or looking at the...
18 Jul 2012 by Albert Holguin
See these?:http://sourceforge.net/projects/dtmf/[^]http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2680&dDocName=en536955[^] (this one is for PIC processors but the algorithms might be available in C)Found another Java...
5 Mar 2013 by aldiano
hi, i'm doing my undergraduate thesis about web based matching speech detection using FFT & euclidean distance.right now i'm using matlab to do the audio processing, but how to make the web based version??i'm thinking about integrating matlab with web.is it posible to integrate...
12 Aug 2012 by Alex Fotios
How to enumerate and mute all audio capture endpoints using Core Audio API
24 Sep 2010 by alrosan
this link will be useful
3 Feb 2014 by alvas
How to use Vox2Wav method[^] string voxFile = "in.vox"; int samplesPerSec = 8000; string wavFile = "out.wav"; BinaryReader br = new BinaryReader(File.OpenRead(voxFile)); IntPtr format = AudioCompressionManager.GetPcmFormat(1, 16,...
21 Nov 2015 by Amt-Coder
I need to play mp3 files from internet while it's downloading at the same time. I have worked with NAudio but it is difficult to implement internet streaming with NAudio library for me. Are there more flexible open source libraries you can suggest for streaming mp3?
14 Jan 2016 by Android on Intel
This document explains how Android low-latency audio is implemented on x86 devices starting with the Intel® Atom™ processor-based (codenamed Bay Trail) platform.
2 Nov 2013 by András Naszály
Hi!Im working on following program, getting audio data from mic input:#include #include #include #include //#include "stdafx.h" //ez a harom a fileba iras miatt kell#include #include /* //...
15 Oct 2011 by André Kraak
Have a look at this Developing a Video Chat Application with high quality video streaming[^].
18 Oct 2011 by André Kraak
Have a look at this articles:Draw into sound[^]Audio WaveForm Drawing Using WPF[^]
19 Sep 2021 by Andy Allinger
Filter specified by the pass frequency, stop frequency, passband attenuation, and stopband attenuation
12 Aug 2023 by Andy Allinger
Convert audio to image. (Edit the image.) Convert image to music.
4 Apr 2012 by Aniruddha Loya
I'm making a mobile game using HTML5. There is a background music that runs during the gameplay and should ideally stop once I navigate to another page... The logic works properly on older iPhones and android.However, on iPhone 4 and iPads the music doesn't stop and continues to play (even...
15 Apr 2011 by Anthony Mushrow
will my final resulting .exe still work on an end user's system using the latest (2010) DirectX end user runtime?Yes. When you link with a .lib file it is actually put into your .exe or .dll fileFunctionality from previous versions of DirectX are always available in the runtime for...
15 Dec 2014 by ArcticEcho
This tip explains how to read WAV (wave) files containing multiple channels (2+) using .Net 2.0+ (in C#).
10 Feb 2015 by Arthus Huang
This article will tell you how to write a tune with pure JavaScript and introduce an interesting Javascript framework to you.
25 Jul 2012 by Arun Kumar K S
Simple signal processing implementation to microphone audio
18 Jan 2016 by ashishkumar008
I am trying to record audio data from microphone in .wav file and playback it. I need also actual data (amplitude) for ploting graph so i am using AudioUnit. I setup inputCallBack and renderCallBack for AudioUnit object But i don't know how to write AudioBuffers to .wav file from render_CallBack...
2 Mar 2014 by ASP.NET Community
In my case, I use  a FileUpload Control(Id:->FileUpload1), an ImageButton(ImageButton1) or you can use the Image,  a Button Control(Id:->Updatebttn)
22 Oct 2013 by ASP.NET Community
Recaptcha:Captcha keeps the spammer away from our site. There is Lot of captcha conrols available for asp.net and few may not work on postback.
18 Apr 2017 by Atakutabrak
I build project with video Imports Microsoft.DirectX.AudioVideoPlayback when developing I can play video why in the client video cannot played? I get this error in client: "Unhandled exception has occurred in your application. If you click Continue. the application will ignore this error and...
2 Aug 2011 by Atomix617
Good day,I need help with this command i cant find how repair it.It would be a recognition voice to text.Problem: ... private SpeechRecognitionEngine _recognizer; private void button1_Click(object sender, RoutedEventArgs e) { ... ...
2 Aug 2011 by Atomix617
I have win7 and .NET Framework 4. I am using Visual studio 2010 and i am programming in C#.
7 Aug 2011 by bbkpl
Hi, I need help with my c# program. Speaking to a microphone, I want to sound was processed by Fourier Transform (I think the parties should be thrown to the buffer, processed and deposited into speakers), this should work at all in real time, saying I would hear my voice through the...
19 Oct 2010 by Be Yourself
Try reducing the WAV_SMP valueWhich is the samples per second ..:cool::cool::cool:
3 May 2011 by Be Yourself
Dear All, I am starting to work on audio programming but I am unable to find any useful programing books can anyone help me?
11 Nov 2013 by Ben Daq
Check that the microphone input on the windows mixer is set to 2 channels normal is set to mono 1 channel
7 Mar 2012 by Bernhard Hiller
There are several things to look at:- are the data on the original stick really PCM data, or are the encrypted? I.e. can you play these data with e.g. Windows Media Player, Audacity, etc.?- the communication between the USB stick and the keyboard. It looks like the keyboard reads some more...
26 Apr 2012 by Bernhard Hiller
NAudio can do alot of conversions, and it comes with source code:http://naudio.codeplex.com/[^]I expect that you can then figure what to do next.
16 Jul 2013 by Bernhard Hiller
That's called "transposition" when e.g. a song originally played in C major is reproduced in E major. I haven't yet done that, but a similar problem is playback at different speed without affecting the pitch. An example for that can be found e.g. in Audacity (in C++ though). When you first...
11 May 2014 by Bernhard Hiller
The term "USB audio class" is the item which mislead you. It is not at all important from which type of external/internal connection the sound comes from. Also an external sound card connected via USB is simply: a sound card. So just look for any tutorial on audion recording in your preferred...
26 Jun 2014 by Bernhard Hiller
Then you have to handle the playback of audio yourself - that's a lot of work.When you've accomplished that, take a look at the buffers of audio data you send to the audio device: these buffers need to be changed. That means, you do a Fourier transformation to get the frequencies, then shift...
10 Nov 2016 by Bernhard Hiller
I think Buffer.BlockCopy copies bytes, not shorts. Since you use 16bit samples, you have to copy twice as much bytes.
6 Aug 2010 by biawak
hi.. my name temy okDear Fread I want to ask programing in VC++ about DSP signal , that i just begin withusing simple voice input mic on PC . Signal data I/O audio will convert with the other stable frequency (just like FM ) ,or Ultrasound carier frequency reversed to filtered ...
11 May 2014 by BillWoodruff
There are many resources on CodeProject for C# code to record sound. Here's a recent (April, 2014) article: "Play or Capture Audio Sound. Send and Receive as Multicast (RTP)" [^].The BASS library (free for non-commercial use) is very powerful library for all types of sound manipulation, and...
22 Oct 2014 by BillWoodruff
Using Google to search for C#/.Net error messages really does work: look at the top two results for these searches: [^], [^].Very specific issues with specialized, widely-used, 3rd. party .NET tools/libraries are often best asked/answered on the company/open-source-group's Forum, if they...
5 Feb 2014 by bling
Seems like you are trying to do speech inversion.http://en.wikipedia.org/wiki/Voice_inversion[^]If so, the wiki article covers it well enough. Mix (multiply) the wave file samples with a set of sine wave samples (that vary from +1.0 to -1.0) and filter the result. Filtering is a topic...
17 Nov 2015 by Boudi AlSayed
Hello, I'm trying to make a Virtual instrument in VB.NET, what I realized that playing a midi note using the default driver will result a lot of latency...(80ms)I need to switch the audio driver within the application by 1st listing all available drivers, and then adding them to combo-box, and...
17 Dec 2015 by Brady Kelly
I'm looking for a file or series of files where a woman's voice pronounces the numbers 1 to 10, and maybe zero. Look, 0 to 100 would be a huge bonus, but all I really need are 1 to 10. The voice should be sexy with a non-regional English (UK) accent, as a personal preference. When I release the...
19 Feb 2018 by brenntengel@yahoo.fr
i've been looking for months now to find out how to record a live audio stream using swift ? please give me a hint a small code to start . regards What I have tried: This code is in java i want the same in Swift please while ((bufferLength = inputStream.read(buffer)) > 0 ...
21 Dec 2012 by Brent Schooley
Plantronics Voyager PRO UC v2 Review
8 Dec 2018 by CalicoSkies
Mixing audio from multiple WAV files to a single WAV file. Includes a C++ class for reading and writing WAV audio files, derived from an AudioFile class for future support of other audio file formats.
26 Oct 2018 by cassanelligiovanni
Hi, I'm a programming student and in these last years I touched various programming languages : C++, Java, Javascript, Python. For my third year project I was planning to develop a Music Loop Software that acquire up to 8 inputs from an external audio interface and loop them in different...
29 Jan 2014 by ch.haya
actually my project is to read sound wave from the currently playing video and convert them to textconvert the audio in the song to text and disply it on the screen on the run time...so i need some help ....
2 Jun 2011 by Chandrasekharan P
Check if this helps DirectX.Capture Class Library[^]
30 Nov 2016 by Charly LEE
the input mp3 is single channel with 32000 sample rate, 16bit signed.I am using ffmpeg 2.6 to decode mp3 on ios9.3.2 pad. It get white noise only. but it works on windows.I record the decoded PCM to file and use tool to play it. when I changed the bit set to 32. I can hear the original sound...
16 May 2014 by CHill60
Google is your friend.These results for...
29 Jul 2020 by CHill60
Have a look at something like the Arduino - here are some sample audio projects[^] Similar alternatives ... Quote: Raspberry Pi, BeagleBone, Sharks Cove, Minnowboard MAX, Nanode, Waspmote or LittleBits are some of the most interesting...
14 Aug 2011 by Chimuel Gapol
How can I convert my captured audio from my microphone into text form using Visual Basic?Any help??? Please...Thanks in advance...
11 Apr 2013 by chinahyin
i download the new ffmpeg source code ,i want to compile it to a lib,so that i can use it in my windows application. i used mingw + mysys, but the ffmpeg have so many .h,cpp, i include all the lib and dll in my project ,but my application can not compile sucessfully ,the error is that can not...
19 Aug 2010 by Christian Graus
IF only your post made some sort of sense. I can only guess that you're the third person I've told today to use the forum provided under an article, instead of the general 'quick questions' forum.
27 Jul 2012 by Christian Graus
The file you're getting is an HTML5 video. As such, all you really need to do, is get the file as it streams, and process the audio out of a known file format. Tons of sites do this, why does the world need another ?
23 Jul 2016 by Christian Vos
Explains the issues of the mp3 player in the Ampera and Volt and how the playlist creator can solve this.
23 Jun 2020 by Ciumac Sergiu
Explains sound fingerprinting algorithm, with a practical example of detecting duplicate files on the user's local drive.
13 Oct 2014 by CliffRat
I was able to resolve my original problem and I am getting the pointer back. It appears that I just had to send and IntPtr as a ref parameter and use that.That leaves me with one other problem that I haven't yet found a clear answer to. Now that I have my pointer value, how do I use it to...
25 Jun 2015 by CliffRat
Does anyone know how to interpret the settings for the installed audio devices in the registry. I'm pretty sure that the settings I want to look at are under Capture and Render respectively at:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\AudioHowever, while I...
21 Jun 2016 by CliffRat
I thought I had posted this yesterday but I don't see it in the list so I'm trying again. I really need some help with this.I have an application requirement where certain audio settings need to be made at the hardware level rather than the session level. I have been able to hit most of the...
16 May 2021 by Coder2195Text
I am making an HTML5 game, which involves one audio being played multiple times at once. I searched this issue up and found this: https://stackoverflow.com/questions/25654558/html5-js-play-same-sound-multiple-times-at-the-same-time It seemed to...
19 Apr 2014 by Coding Learner
I would like to ask if there are best practices for choosing audio/video formats for websites to get the widest platform and browser support given limited resources especially in development time (for HTML coding, file format conversion, etc.).I have Googled the answer without success (for...
28 Feb 2011 by cougar10
I am a newbie in directshow. I have written a program to take sample audio from microphone into a buffer using ISampleGrabber.void MICDetect::Run_Graph(IMediaControl* m_pControl){ m_hr = m_pControl->Run();// Now run the graph, i.e. start listening! if(SUCCEEDED(m_hr)) ...
21 Mar 2011 by cougar10
i'm currently reading the documentation of MSDN to render a stream to an audio renderer.. or in other word, to play my captured data from microphone.http://msdn.microsoft.com/en-us/library/dd316756%28v=vs.85%29.aspxthis example provides example.My problem now is that i couldn't...
28 Feb 2011 by CPallini
You should find another way since Sleep(1); is completely unreliable (Windows is not a real-time OS). See also the remarks at Sleep documentation page[^]. :)
12 Apr 2013 by CPallini
Roughly speaking, I would first normalize the amplitude of the two graphs and then time-translate one of them until best superposition is reached.
24 Jun 2013 by CPallini
Why don't you Google[^] for?
16 Jul 2013 by CPallini
As far as I know, if you play a WAV file at different sample rates (if you can do it) then you get different frequencies (suppose you have a file containing a 440 hz sound at sample rate of 8 khz, if you use its data at 16 khz sample rate then you obtain a 880 hz sound).I suppose, however, you...
17 Apr 2014 by CPallini
I would Google for that[^].
15 Jun 2015 by CPallini
You have several options:Study the WAV file format (you might start from Wikipedia[^]) and implement yourself the code for moving the stereo channels out.Use a library, you might find many of them available on the web.Use an external program, like, for instance audacity[^], to perform the task.
1 Jun 2011 by cracker_pb
Hi, i have 2 audio input of a concert. The first is a wav file and the second is taken by microphone in real time. I need play the first file in synch with the microphone input.What library can i use?Is there any tutorial, guide or example for do this?thanks
5 Nov 2012 by csanuragjain
I need to record windows playback audio using wasapi in java.Please help me how to do that.I tried to search on internet but its not been very helpful.Thanks in advance.
11 Jun 2013 by cyogeshc
I've an audio file with me. Say, a speech. How do I extract the text from the audio and store it efficiently in a database? If the user queries an audio based on the text stored, making use of certain keywords then I must be able to connect the audios in the database with the keyword and get...
5 Oct 2015 by dan!sh
I think you should hire someone who knows how to create this application. If you are not aware of legalities, make sure you get some consultation on that too.
12 Sep 2016 by Darren_vms
At api 24 it does MediaRecorder | Android Developers[^] not sure if that helps....You would have to stop and start and merge the files, here is an implementation of just that for android GitHub - lassana/continuous-audiorecorder: Implementation of the missing feature in Android SDK: audio...
7 Feb 2014 by Dasaradhi_r
Using AT Commands, I am able to send SMS from the modem/mobile connected to my PC.Also, I am able to establish voice call from the modem/mobile to destiny phone.After the call is established, I need to play a pre-recorded audio file (saved in my hard disk) into the call.Is there a coding...
28 May 2011 by dasblinkenlight
The problem is somewhat similar to DTMF recognition (figuring out "two-sound chords" produced by telephone buttons). A very efficient Goertzel Algorithm[^] is used rather widely for that. It may or may not help you solve the problem at hand, but it's definitely worth giving a try. Good luck!
30 Oct 2019 by datadrvn
Hi All, My first post here... :-) I'm fairly new to web development and I've just been tasked this and I don't know where to start. I would like to embedded a video into the homepage of a website. When people visit they see the video (with audio) once, then the video loops (and the audio...
20 Jul 2013 by Dave Kreskowiak
It's still not possible without external and calibrated equipment. You're every day microphone is not calibrated and it's not just a simple matter of getting the digital data from the stream and running it through some algorithm.