audio

Audio encryption/protection

Other than coding, I spend alot of my time in a recording studio making music. I intend on selling my art both online and on cd, but I have one issue...protecting the audio file. I dont want people illegally distributing or making copies of my music so I need to protect it somehow. The one way that I've seen is to create my own player an...

Does java have built in libraries for audio _synthesis_ ?

Note: I do NOT want to "read audio file foo.bar and play it." I want to programmatically generate audio files on the fly and play them. Does Java have built in libraries for this, or does this fall into the system-dependent libraries? Thanks! ...

where to start with audio synthesis on iPhone

I'd like to build a synthesizer for the iPhone. I understand that it's possible to use custom audio units for the iPhone. At first glance, this sounds promising, since there's lots and lots of Audio Unit programming resources available. However, using custom audio units on the iPhone seems a bit tricky ( see: http://lists.apple.com/archi...

Music Recognition and Signal Processing

I want to build something similar to Tunatic or Midomi (try them out if you're not sure what they do) and I'm wondering what algorithms I'd have to use; The idea I have about the workings of such applications is something like this: have a big database with several songs for each song in 1. reduce quality / bit-rate (to 64kbps for inst...

How can I change the audio output device in Objective-C?

I'm building a simple Cocoa app and I want to direct the audio output to a specific device, instead of the system selected one. I know some apps, like Skype, let you select where to send the output to. How do they do this? I tried the MTCoreAudio framework but I can't even compile my app (or their AudioMonitor demo) with it included and...

How would I create a music player in Flash that creates a waveform of the audio file?

I have got three screenshots below of Flash-based audio players on various websites that draw a waveform of the clip it is going to play and moves along while it is playing and also allowing the user to click on a point on the audio file and it jumps to that point. DJ Download music player from http://www.djdownload.com SoundCloud mu...

WIN32 Audio Sample Rate Conversion

Under WIN32, One may use the acmStreamConvert function as an audio sample rate converter (for example, converting 44.1kHz to 48kHz audio stream). According to Secret Rabbit Code documentation, the quality of a sample rate converter is measured by it's Signal-to-Noise Ratio and Bandwidth. Secret Rabbit Code claim "signal-to-noise ratio...

iPhone Audio Resources

When browsing Stack Overflow I see mostly articles and questions about initializing and playback of audio files. My question: Where on the internet are tutorials for advanced audio playback and maybe editing for the various methods of playback? And maybe some tutorials on general workings of audio components, like the fundamentals of the...

How to send audio stream via UDP in java?

Hi to all :) I have a problem, i have set MediaLocator to microphone input, and then created Player. I need to grab that sound from the microphone, encode it to some lower quality stream, and send it as a datagram packet via UDP. Here's the code, i found most of it online and adapted it to my app: public class AudioSender extends Thre...

ALSA: How can I find a device in the device list and still I get "No such file or directory" when opening it?

It seems I don't understand the ALSA architecture, even after reading most of the documentation on offer: I list all the available ALSA devices using snd_device_name_hint() and snd_device_name_get_hint(). This lists, among others "pulse" under hwdep class so it looks like PulseAudio is available in my system. But when I try to open it w...

How to Seek Audio/Video Data with Variable Bitrate (VBR)?

This might be a way too generic question, but what is the general approach for seeking within media files (video or audio of any kind/format) if the data has variable bitrate (VBR)? It seems an easy thing to do if the stream has a constant bitrate (CBR). E.g. if you know it is 256 kbit/s and you want to seek forward/backward by 30 secon...

web audio stream player without Flash

hi, I'd like to build a web radio with functions play/pause/stop/change channels with my own GUI. How can I do it without Flash? thanks Jul ...

Playing audio in a browser

Hi, I've developed a web application that manages audio files. Part of the application is playing the files. I use the following code in order to play the files: <center> <object id=\"MediaPlayer type=application/x-oleobject height=52 standby=Instalando Windows Media Player ... width=358 align=absMiddle classid=CLSID:22D6F312-B0F6-...

How can I forcibly restart/reload a Playback device programatically in Windows?

By forcibly I mean even when some audio applications are using it. By reload I mean the kind of thing that happens after the shared mode sample rate of the speaker is changed in the advanced tab of Speaker Properties. Any audio applications stop immediately. Is it possible to do such a restart programatically? (Or even for that matter ...

Simultaneous record and play from same file

I'm attempting to use Audio Queue Services for the first time. After reading all the documentation and playing with some sample code, I think I understand the classes pretty well and have implemented my own playback and recording application without any problems. I need to simultaneously record and play from the same buffer, but I'm hav...

iPhone microphone high-pass filter

Hi all, In my app, I am using the AVAudioRecorder to detect input from the microphone. However, I need to create a high-pass filter so that I only register higher-pitched sounds. I've looked into FFT, but I can't figure out how to implement it. So, now I'm looking to kind-of fudge an FFT with a high-pass filter. Any help would be gre...

Extract audio from video as wav

I know there is a question similar to mine: http://stackoverflow.com/questions/1010937/extract-wav-file-from-video-file I am new to C++ and understand about COM library + directX is needed for video and audio. I been looking for tutorial and samples code but little success. My question is how do I code the application to take video fi...

Android - Getting audio to play through earpiece

I currently have code that reads a recording in from the devices mic using the AudioRecord class and then playing it back out using the AudioTrack class. My problem is that when I play it out it plays vis the speaker phone. I want it to play out via the ear piece on the device. Here is my code: public class LoopProg extends Activity ...

iphone voice memos 'ping' sound

I'm writing a voice recording application, and I'd like to play the ping-ping sound that the voice memos program plays when it finishes recording. Is there any way to accomplish this programatically? If not, does anyone know where I can find the sound? Thanks! ...

What is the best website solution for playing specific parts of online mp3 files?

Back in 2000 I made an educational website in which we had hour-long audio files of lectures on a RealAudio server, then I generated hundreds of little SMIL .ra files e.g. lecture002part053.ra: ... <audio src="lecture002.wav" clip-begin="554s" clip-end="612s" /> ... then in the HTML I had links like this: <a href="http://nnnnn.e...