audio

Draw waveform for microphone in flex, is it possible?

I'm making a audio recorder with Adobe Flex (Microphone, NetStream), I want to get the current audio wave from Microphone to display in the visualization area, any idea how can i get the data? ...

Is it possible to get incoming call data to application in Android

Hi All, I would like to know if we can get Incoming call data to the application in Android. I will be using this incoming call data to record the call or for the purpose of call streaming from my application. I read Audio manager and Telephony manager class provided by Android , but I could get an API which can give the data of incom...

Converting MIDI byte array to MP3 byte array

Converting MIDI byte array to MP3 byte array Does someone know how to convert a MIDI file (average playback time of 30 seconds) which is represented in a byte array to an MP3 byte array. So ideally i need to have a C# function which accepts a MIDI byte array and returns a MP3 byte array. The conversion should not take more than 2 - ...

playing an audio file after a time delay

I have an audio file that I want to begin playing at a 20 second delay, after the user has seen some animations play etc... does anyone know how I might go about doing this? I have 5 animations that play, after which I would like to audio file to begin. the whole thing would keep cycling until the user exits the app. here's the code I ...

Audio API in C#

Hi All , I need o take an audio file that recorded by a man and convert it to a child voice and mix it with some background voice I have served the internet trying to find a good program to make that but I didn't find can anyone please advice me If there is any C# API that can help me to implement it myself? and is that too difficult...

Flash Player 10.1: Controlling audio channels in video playback using NetStream.appendBytes?

Hi! Would it be possible to programmatically control the audio channels (effects, mix multiple channels etc) of a video playback using the NetStram.appendBytes possibility introduced in Flash player 10.1? ...

Play variable tone with Java?

Hi, all. Back in my high school Pascal class, I had a fun little program that would take in an integer and then play a tone using the system speaker. The pitch of the tone would vary, based on the int. Does functionality like this exist in the Java world? Would an alternative be to pull in a wav or ulaw, and then change the frequency...

Getting audio data every 20 milliseconds in ALSA?

I would like to call snd_pcm_readi() and get AUDIO DATA every 20 ms or every 40 ms. I want to know how to get my data synchronously ... that is every X ms ... Thanks for any responses. ...

Python audio library for simultaneous audio creation and playback

I'm working on an audio creation framework. It'll be generating large audio files, say 3 minute long audio files that take about 1 minute to generate. So what I want is a system much like streaming audio from the internet, where I play the sound as I generate it. Pygame's mixer allows me to edit the sound as it's playing. But I cannot fi...

viewDidUnload - stopping a method when the view is changed

I'm looking to stop an audio file from playing when the view is changed. I'm using a tabController and I would like the audio that's playing to stop when the user moves to a different view. I'm not sure where and how I would do this. in the viewDidUnload perhaps? here's the method I'm using to play the audio file: -(void)startPlaying...

How do I play synthesized sounds on Android?

Hi, I wrote an iPhone app some time ago that creates sound programatically. It uses an AudioQueue to generate sound. With the AudioQueue, I can register for a callback whenever the system needs sound, and respond by filling a buffer with raw audio data. The buffers are small, so the sound can respond to user inputs with reasonably low l...

Using an external audio processor in GStreamer pipeline

I'm currently testing the GStreamer audio framework and it's capabilities. My goal would be to write a basic radio automation system which can handle the scheduling of audio track mixing and stream the result to a media server like Shoutcast. I like to add some post processing to the final mix before sending it to the encoder. Although ...

Super easy audio player with Flash + jQuery

I am trying to make an super easy audio player with jQuery. How would you convert this <a href="song.mp3">Song</a> to this? <object type="application/x-shockwave-flash" data="dewplayer.swf" > <param name="flashvars" value="mp3=blank.mp3" /> </object> <a href="song.mp3">Download</a> So what needs to happen as ...

Would Java be a realistic option for writing a music DAW (Digital Audio Workstation)

I program in Java doing a lot of web related stuff but I've been toying with the idea of creating a very simple DAW in some language. I considered C# but it doesn't seem to support Direct X anymore (Though there are some libraries that work with differing degrees of success). I was curious if anyone out there had an opinion on playing a ...

Adding and removing audio sources to/from GStreamer pipeline on-the-go

I wrote a little Python script which uses an Adder plugin to mix two source streams together. After starting the program, you hear a 1kHz tone generated by the audiotestsrc plugin. When you press Enter, an another 500Hz test tone is connected to the Adder so you hear them together. (By the way, i don't really get why should i set the pi...

how reduce the number of points of a waveform?

I have this, f = audiolab.Sndfile('test.wav', 'r') data = f.read_frames(f.nframes, dtype=numpy.int16) pyplot.rcParams['figure.figsize'] = 10, 2 pyplot.plot(data) pyplot.xticks([]) pyplot.yticks([]) pyplot.show() but the ploting is slow and freeze the pc, hoy I can reduce the numbers of points or how can I increase the performance...

iphone audio app development

Hello Good People, I'm a beginning developer who has done a bit of audio work. I was just wondering what is the approach to starting to work with audio on the iphone platform. I envision this as somehow getting a vector of numbers which represent the samples in an audio track. Then programmatically running algorithms on that vector (o...

openal pitch shift.

Can anyone tell me why the volume becomes lower when I make the pitch higher in openal? The higher the pitch, the lower the volume..... alSourcef(source, AL_PITCH, 1.2f); alSourcef(source, AL_GAIN, 1.0f); with this setting, the volume is still very very low. is there a way to cheat it to make the gain above 1? Maybe this has somethin...

in-browser real-time audio input options?

Are there any? I'm looking for some way to plug in a microphone to a computer and access the stream in real time to do analysis and visualization for display and interaction in-browser (preferably cross-browser). Any recommendations or pointers toward toolkits or examples would be appreciated-- Thanks! ...

Strange Delay When Site Loads Sound Effects

Hi, I'm experimenting with sound effects for my website, the problem is the sound effects are delayed between 1 to 5 seconds. http://theo.mypreview.co.uk/street-fighter-legacy/ Here is the script for the audio played during the page transitions effect (explosion sound only played for the second set to links) <script> function Eva...