2
голосов
1ответов
1018 просмотров

Reading the audio output from soundcard with java

Is there anyway to read the audio outputted by a program/the soundcard? Sort of like, reading the audio output of itunes, or firefox. I've searched around and I can't find any way to do this as it requires interfacing with the soundcard. Any help is appreciated!

3
голосов
2ответов
3694 просмотров

Custom File Format And Codec?

I'm messed up with codec issue for days, and still couldn't see the big picture yet. It is my first time to deal with audio/video formats and codecs. So I really need some help about that. Here is the work. I'm writing several components that is responsible for encoding and decoding customized m...

3
голосов
3ответов
3114 просмотров

Sounds effects in iPhone game

I'm making an opengl game for iPhone. And I'm about to start adding sound effects to the app. I wonder what's the best framework for this purpose. Is AV foundation my best option? Any others I'm missing, like Open AL perhaps?

0
голосов
3ответов
1452 просмотров

More customizable flash mp3 player for website?

the only mp3 flash player I've see has been the Google Audio widget which is limited in its appearance. http://www.widgetbox.com/widget/mp3 For my wordpress, I like the player I use 1 Pixel Out's, which is great: http://www.1pixelout.net/code/audio-player-wordpress-plugin/ Anyway I could use ...

0
голосов
4ответов
1634 просмотров

C# - .WAV Playback Randomly High Pitch

For some reason, when a WAV file is played back using the snippet below, it randomly plays back screwy, like a high pitch noise. It doesn't happen all the time, just randomly. It seems to happen more often when it is played back more frequently. The WAV properties are below along with the code...

4
голосов
3ответов
3391 просмотров

A simple way to generate tones / sine waves on mac? (ruby would be nice)

I'm writing a program that involves playing back sine waves and combinations of sine waves... it must run on Mac, and I'm looking for a simple API that I can use. I'm open to ObjC, C, C++, Ruby, Python, etc.... I don't care what language as long as it's just a few lines of code. But Ruby would be...

0
голосов
1ответов
1564 просмотров

SDL_Mixer sound problems

Basic Info: Programming Language - C++ Platform - Windows Audio Formats - wav and mid I recently finished a game and was fooling around with figuring out the best way to upload it to a file hosting site. I eventually decided on using 7zip's self-extracting feature. However, I think the mistak...

2
голосов
3ответов
1829 просмотров

positioning sound with pygame?

Is there a way to do panning or 3d sound in Pygame? The only way I've found to control sound playback is to set the volume for both the left and right channels.

4
голосов
2ответов
1663 просмотров

Combining Audio Files as One Properly on iPhone with NSData

I am using AVAudioRecorder to save an audio file every 15 seconds by stopping the recording appending that data to the previously recorder file using a NSMutableData object and using the appendData method. I then record again in the same method so the recording is "continuous". The problem is ...

3
голосов
1ответов
4160 просмотров

Extracting audio data from FLV and injecting into MP3

I need to extract the audio data from a FLV and inject it into a MP3 with C#. So I'm look for either a library for this or how to do it with the rawdata/file structure.

1
голосов
1ответов
2357 просмотров

Calculating RMS with overlapping windows

I have a 1-dimensional float array of root mean square values, each calculated with the same window length. Let's say RMS = {0, 0.01, 0.4, ... } Now the RMS for a larger window, which can be represented as a range of the original windows, can be calculated as the RMS of the "participating" RMS...

6
голосов
1ответов
4313 просмотров

Java - downsampling wav audio file

Hi I need to downsample a wav audio file's sample rate from 44.1kHz to 8kHz. I have to do all the work manually with a byte array...it's for academic purposes. I am currently using 2 classes, Sink and Source, to pop and push arrays of bytes. Everything goes well until I reach the part where I ...

2
голосов
2ответов
2727 просмотров

Redirecting audio output

I need a method to redirect my Mac's audio output to a different computer on the same network as the Mac doesn't have audio output. I'm on Snow Leopard while the other computer which has speakers attached does not have any operating system at the moment.

0
голосов
1ответов
274 просмотров

µ-law Amplification

Can anyone explain the algorithm for amplifying G.711 µ-law encoded audio?

6
голосов
6ответов
7108 просмотров

I have a .mp3 file. How can I seperate the human voice from the rest of the sound in C?

Is it even possible in C [I know it is possible in general -GOM player does it]? just let me get started... What do you say? How exactly do you identify human voice distinguished from other sounds?

16
голосов
11ответов
49000 просмотров

How to play audio file on windows from command line?

In Windows, is there a simple way (i.e. something you could type on a single command line) to just play a couple of .mp3 files and then exit on its own? wmplayer, for example, does not seem to exit when finished, forcing the harried user to hunt it down and click it closed every time. (wmplaye...

15
голосов
19ответов
3575 просмотров

How can I convince a client that audio on a website is a bad idea?

I have a client that wants audio to play while the user is browsing the website. Besides the fact that audio is annoying when it starts automatically and plays when you are browsing, I thought of the following technical struggles. Having to use frames to allow audio to play uninterrupted. SEO i...

2
голосов
6ответов
348 просмотров

What's the best strategy for large amounts of audio files in mobile application?

I have an S60 app which I am writing in Qt and which has a large number (several thousand) small audio files attached to it, each containing a clip of a spoken word. My app doesn't demand high fidelity reproduction of the sounds, but even at the lowest bit rate and in mono MP3 they average 6k ea...

3
голосов
3ответов
2009 просмотров

Detecting if the microphone is on

Is there a way to programmatically detect whether the microphone is on on Windows?

2
голосов
1ответов
837 просмотров

Can't fix Severe Memory Leak from Open AL

I'm nearing the end of a big iPhone project and whilst checking for memory leaks stumbled on this huge one. I implemented the sound following this tutorial: http://www.gehacktes.net/2009/03/iphone-programming-part-6-multiple-sounds-with-openal/ Works a charm, a lot of people use it but I get a ...

0
голосов
1ответов
1884 просмотров

How to get artist name from music file by using php..?

I have a music file having artist name or author name.I want to fetch author details by using php.Is it possible?

9
голосов
1ответов
16576 просмотров

C# How to programatically change the playback device

How can I programatically change the default audio device on a vista / win 7 system? Using C# or a Win API call?

0
голосов
4ответов
7838 просмотров

http headers to send file to html5 <audio></audio>

I want use html5's new tag to play a wav file (currently only supported in FF.) https://developer.mozilla.org/En/HTML/Element/Audio I"m using php's readfile command to get the wav file off the hdd, and write it to the http response. But its not working. The audio widget in firefox just has th...

3
голосов
1ответов
3436 просмотров

How to write cues/markers to a WAV file in .NET

I'd like write cues (i.e. time-based markers, not ID3-like tags) to a WAV file with C#. It seems that the free .NET audio libraries such as NAudio and Bass.NET don't support this. I've found the source of Cue Tools, but it's entirely undocumented and relatively complex. Any alternatives?

2
голосов
1ответов
3034 просмотров

Pause a SourceDataLine playback

I want to play back WAV sound (audio track of some custom video format) in Java, however, I have trouble using Clip for that: it seems only one instance is hearable at a time. Therefore, I switchet to the plain old SourceDataLine way. In this context, I want to pause and resume the audio as the ...

1
голосов
2ответов
1126 просмотров

Controlling the volume while using the SndPlayAsync function on Windows Mobile 6

How on earth can you control the volume of the sound played using SndPlayAsync on Windows Mobile 6?? It seems like no one knows! The documentation doesn't mention anything regarding it... So either there's no way, or it is kept top secret... In addition, I am aware of the possibility of using ...

0
голосов
1ответов
694 просмотров

How to play next file using Audio Queue Services

What is the right way to play next file using Audio Queue Services? When "play next" button is pressed should I first call AudioQueueStop and then AudioQueuePrime/AudioQueueStart or it is enough to just fill buffers with next file data? The problem is that the latter gives me sound glitches on ...

0
голосов
3ответов
1440 просмотров

Open source RTP mixer/translator exe or sdk

Hi I need opens source (win 32) sdk or free server with signaling protocol, which implements RTP translator or mixer. e.g receives RTP traffic from one connection and transmits it on the other. Does not have to have conferencing capabilities. Server should implement some kind of protocol which ...

1
голосов
1ответов
2285 просмотров

how to add custom visualization to Media Element (Windows Media Player) in WPF

I just came across this requirement, could find this URL is of close match but the source downloaded is corrupted. http://blogs.msdn.com/adam_nathan/archive/2005/10/24/using-com-interop-to-create-a-wpf-visualization-for-windows-media-player.aspx Also how to add this visualization into Windows Me...

0
голосов
1ответов
407 просмотров

Time-passage callback when rendering recorded and live/streaming audio/video

Guys...! I'm a complete newbie to this area of audio/video formats/codecs, their players, their exposed APIs, etc. Would greatly appreciate your patience as well as advice on this question of mine. Question: Almost all audio/video players show time-passage information in hh:mm:ss format. I want ...