I just need to be pointed in the right direction as I may be in over my head here.
If I wanted to write a program to analyze a sound wave how would I go about this?
I have an idea that it will involve a mixture of a maths package (like mathematica or matlab) and C or C++ but not sure where to start.
I'm only wondering at the moment...
I'm getting a slight distortion (sounds like buzzing) in the background when I run the following code. Because of its subtle nature it makes believe there is some sort of aliasing going on with the byte casting.
AudioFormat = PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, big-endian
Note: code assumes (for now) that the data is ...
I'm working on a new ASP.NET MVC / JQuery app which will need to play short sound files in response to user actions. For example, in some cases, when a user clicks on a word, the computer should pronounce that word (there is a small finite list of words).
I'd like advice on the following:
Which sound file format(s) would you recomme...
This is 2009, back in 2001 or so, there used to be no good bindings for sound playback in ruby.
Has there been a change? I am looking for something to control playback of either raw sound or mp3, ogg and flac. My Googling has turned up dry.
Edit: Linux, OSX and if possible Windows.
...
There is a really cool audio "toy" called ToneMatrix. I would like to reimplement it as a Java applet. I've tried using JFugue's player.play with individual notes for sound and Thread.sleep for timing, but the results are horrible.
JFugue stops responding after the 17th (yes, really, I counted) invocation of player.play and Thread.sleep...
Hi, I'm having some trouble playing MIDI files in Java. What I get is a MidiUnavailableException (MIDI OUT transmitter not available) when I try to play it. My code is standard:
try {
midiseq = MidiSystem.getSequencer();
midiseq.open();
midiseq.setSequence(MidiSystem.getSequence(sound1));
midiseq.setLoopCount(Sequencer.L...
When I use the (win32) waveInXXX functions in order to collect samples from a mic at a certain sampling frequency (say 8kHZ, even lower possibly), does the system/soundcard applies a lowpass filter on the input sample, or would i get aliasing?
Should I sample at a higher frequency and do the filtering myself before lowering the sampling ...
I've actually posted this question before, but it hasn't been answered. Maybe I wasn't clear enough, so let me rephrase:
As you know, when you're sampling a signal at a certain sampling rate, any frequency that's higher than half of the sampling rate gets aliased. In order to avoid it, you need to pass the signal (either in the analog f...
How would i make it so in my program there is a button when that button is clicked i want it to play a .wma file without opening and media player?
...
I am trying to make a small music app on the iphone. I want to have an octave a piano which will respond to touches and play the key or keys that the user touches. How would i be able to get two or more sounds to play at the same time so it sounds like a chord? I tried using AVFoundation but the two sounds just play one after the other.
...
I need to whip up a quickie app, something quick and dirty, on windows that lets a user control the tempo of a playing mp3 file with a slider.
Any recommendations on libraries/programming languages/controls that can make this easy?
I don't have control over the media choice (has to be mp3) or the platform (has to be windows)
Edit: Ac...
I need to load sound files to a Cocoa-based OpenAL app.
Progress:
The OpenAL utility function alutLoadWAVFile has been deprecated; the alut header is no longer included in Mac OS X SDKs. According to the TechNotes, the actual code is still there for binary compatibility. However, if I attempt to add a declaration for the function, t...
Is there a way to programmatically invoke the keypad "click" sound? My app has a custom keypad (built out of UIButtons) and I'd like to provide some audio feedback when the user taps on the keys. I tried creating my own sounds in Garageband, but wasn't happy with any of my creations. If there isn't a standard way to invoke the key cli...
Hi,
I'm interested in learning to use OpenGL and I had the idea of writing a music visualizer. Can anyone give me some pointers of what elements I'll need and how I should go about learning to do this?
...
I am developing one application. In that I want to detect through coding that "is iphone on silent mode or not?". I am developing it by using cocoa with objective-c.
If anyone knows it kindly reply.
...
I am playing of a sound-file in Java, and is looking for a simple way to determine when the sound-file has finished playing so I can kill the thread. Is there a simple way to accomplish this?
...
when i play each individule scene as an SWF all the sounds are synced correctly, but it when i play the entire animation that half way through on scene 4 the sounds play too early and are also sped up about 2X regular speed. how can i fix this?
...
I would like to write a program which is capable of storing a sound pattern, such as a train whistle, horn (beep beep)...listening for the sound via the microphone...and then taking some action when the sound is heard. I know a little python and have programmed a long time ago in VB. Mainly I am an Oracle, PLSQL guy. The program will req...
Here's what I want to do:
I want to allow the user to give my program some sound data (through a mic input), then hold it for 250ms, then output it back out through the speakers.
I have done this already using Java Sound API. The problem is that it's sorta slow. It takes a minimum of about 1-2 seconds from the time the sound is made to...
Is there a way to set the microphone volume in C# (normally done in control panel -> audio -> advanced, go to recording, and then dragging the slider)? I only want to set it to maximum, if that makes it any easier. Thanks!
...