sound-api

Which mobile platform to use creation of a musicians support application - recording and playback?

I'm a programmer looking to play in the mobile world. The application I'd like to play with would support my musical hobbies. I suspect a mobile phone with a music player could easily be programmed to support a classical musicians practice sessions. Should be Easy: Play an A at 440 Hz (or 438,442) for tuning. Should be easy: Metronom...

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 the Windows Media Player, but I rather not...

C++ Sound Processing

I'm looking for a library that could be used to manipulate audio files. Essentially what I would like to do is: Load an MP3/WAV file Get a 15 second clip of the file Overlay another MP3/WAV file ontop of it Render as a new MP3/WAV file ...

How to play media via speaker phone

I'm able to play a media using a MediaPlayer. But how can I play the media with speaker phone only? I have tried: AudioManager audioManager = (AudioManager) mActivity.getSystemService(Context.AUDIO_SERVICE); audioManager.setSpeakerphoneOn(true); That does not work. And I have add this to my Manifest file <uses-permission android:na...

Java Sound API to access the system/master volume control in Vista and Win 7

History & Situation: I'm currently working on updating a Java application that was developed for a client several years ago (to run on WinXP) and is used for testing and training people with certain hearing impairments. Users who bought this application were provided with a particular USB sound device and headphones. One of the most im...

can I make Flash/swf "movie" in which I can scroll back and forth through the sound recording?

so suppose I have a long sound recording as part of a Flash presentation. Can I put on the presentation a scrollbar and start/stop/pause/resume buttons as in Media Player or Windows sound recorder that would allow me to scroll to basically jump to any moment in the sound recording? So I guess, I am asking, can such typical sound player f...

In Java, how can I play the same audio clip multiple times simultaneously?

If I have a java.applet.AudioClip object I can call play on it to play it once. But if I call play multiple times then the clip will simply keep restarting. The only way to get around that seems to be to load multiple instances of the same sound file. That seems wasteful of memory. In a game, if I have 20 explosions occurring then I'd ha...

FMOD sound library - syncpoints driving me nuts!

Can someone with FMOD experience please stop me from losing it. I cannot get these syncpoints to behave. I have some game music that consists of two pieces, an intro and a loop. They are separate sounds, and after the intro finishes, it begins the loop section which repeats forever. I set a syncpoint at the end of the intro to fire off t...

Simplest way to play mp3 from Visual C++

A few years back, I wrote some util library around DShow/DSound to let me play MP3s in a Windows C++ application. Is that still the normal way to do it in a C++/MFC app, or is that an area of DirectX that has been subsumed into the general Windows APIs? The motivation is simply we use the standard Windows PlaySound method for WAVs, and ...

Is it possible to use Tri-tone sound in my application?

Is it possible to use iPhone sound(bundle) in my application if yes, can you give me some example? ...

c++ vocoding capabilities api

I'm looking for vocoding capabilities from C++. I can't seem to find a lib/api. Recommendations? ...

Java playing sounds. Is there a default system sound?

Hi I am trying to write an application that will play morse code. I just wanted to know if there was a default system sound in java like some beep, or do I have to download some sound file from the internet? ...

Get Master Sound Volume in c#

Hi, I need to get the current volume of what that outs to the sound card, for example, this value: Any ideas how? Thank you. ...

Stream Ogg File

Does anyone know how to stream Ogg files without fully downloading them first over a Socket(in byte[] format). I am trying to create a music streaming application and I managed to do it with MP3's but I understand there's licensing issues invovled after certain limit hence why I want to use OGG(Vorbis). I maanged to find this C# Vorbis ...

Get sample of sound from stereo mix in Windows

Is there a way in Windows using C# to record a sample of the stereo mix? In other words, record all pings, beeps and music being played via any application? I've had a look at NAudio which will record the microphone as it's source, but I can't figure out how to point it at Windows' stereo mix? Or, if anyone knows, any pointers on how t...

Java Sound API: Capturing sound output from a Target Port

I'm writing a simple piece of software that streams audio over LAN. I have all of the network parts implemented, but what I'm stumbling on is using the Java Sound API. I have successfully captured audio from the microphone, and line-in, but I can't seem to capture from any target ports, like the speakers. My question is, is it possible t...

SampleDataEvent.data.writeFloat() - Why call it twice?

Below is a snippet from the Adobe Live Docs SampleDataEvent class. It demonstrates how to create an audible sine wave by pushing samples into a ByteArray. The part that I am hung up on is why you need to push the same value into the writeFloat() method twice? var mySound:Sound = new Sound(); function sineWaveGenerator(event:SampleDataEv...

Java playback of 24 bit audio is incorrect

I am using the javax sound API to implement a simple console playback program based on http://www.jsresources.org/examples/AudioPlayer.html. Having tested it using a 24 bit ramp file (each sample is the last sample plus 1 over the full 24 bit range) it is evident that something odd is happening during playback. The recorded output is ...

Is there a listener to listen for changes in the volume in android?

Is it possible to register a listener to listen for changes in the volume level of the music stream in Android? I'm displaying the actual volume in a SeekBar and I would like to change the seekbar if the user changes the volume with the hardware volume keys. At the moment the correct volume is displayed until the user changes the volume...

Javascript/Flash tiny, cross-browser sound player

I was searching for Javascript/Flash tiny, cross-browser sound player (notifier), but every solution I've met was or too big and feature-full, or based on different libraries (not on Jquery I'm using), or with bugs. The only feature I need is 'play'. :) For example, http://flash-mp3-player.net/players/js/download/ - this nice little pla...