Hi All,
Is it possible with coreaudio to play a sound out of the left or right channel. For example I want to play one out of the left channel and one out of the right.
At the moment I'm successfully using the following code to play a sound out of both channels:
NSSound *mySound = [[NSSound alloc] initWithContentsOfFile:@"/media/bell....
I wrote a small software synth for the iPhone.
To further tune performance I measured my application with Shark and found that I am loosing a lot of time in float/SInt16 conversions.
So I rewrote some parts to get around the conversions by pre-calculating lookup tables that return "ready-to-use" SInt16 samples. This works fine so far.
C...
In windows 7, if one right clicks on the speaker icon in the taskbar, clicks playback devices, opens properties for one of the devices tab, then clicks the enhancements tab, one gets a list of filters ("Bass Boost" etc) that can be applied to that sound device. How can I register my own custom filter here?
Please note that I am not an I...
Hi
Is there a way I can convert an mp3 file into a wav/aiff in my iPhone app? I have an mp3 but I want to combine it with other files and the only way I know this can be done is when using PCM formats.
Can anyone help me out here?
Thanks.
Some things I tried
I tried using the AudioConverterFillComplexBuffer() method and its callback...
Hello,
I initialize my AVAudioPlayer instance like:
[self.audioPlayer initWithContentsOfURL:url error:&err];
url contains the path of an .m4a file
The following error is displayed in the console when this line is called :"Error Domain=NSOSStatusErrorDomain Code=1685348671 "Operation could not be completed. (OSStatus error 1685348671...
Hi!
Is it possible in j2me to measure signal amplitude of audio record made by JSR-135 Player?
I know I can access buffer, but then what?
Target model Bold 9000, supported formats PCM and AMR. Which format I should use?
See also
Blackberry Audio Recording Sample Code
How To - Record Audio on a BlackBerry smartphone
Thank you!
...
Hi there,
I have added the iPhone's Tock sound to my own custom keyboard like this:
NSString *path = [[NSBundle bundleWithIdentifier:@"com.apple.UIKit"] pathForResource:@"Tock" ofType:@"aiff"];
SystemSoundID soundID;
AudioServicesCreateSystemSoundID((CFURLRef)[NSURL fileURLWithPath:path], &soundID);
AudioServicesPlaySystemSound(soundID...
Some MP3 files can't be opened by CoreAudio in OS X and iPhone OS 3.x. This was a bug that I submitted to Apple and has been fixed in 10.6.2. Unfortunately, I must still support iPhone OS 3.x, so I need to test for these files that mess up CoreAudio. I check them with a simple command line tool that tries AudioFileOpenURL and returns > ...
I am building an iPhone audio app using Audio Sessions. Prototype was functioning till I decided to upgrade to 3.1
After a lot of hunting I finally found that the session activation call was failing with error code 12986.
I havent been able to find the reason for this anywhere.
The NSError object doesnt give any detail. I used the loc...
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 nice :-)
On Linux you can write to /dev/...
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?
...
Hi
I am writing raw audio bytes from two files into a new wav file to combine the two files. The resultant file which is created has the contents of both the audio clips but there is also a lot of noise in the file.
Can someone point me to a good example which shows how to write raw audio bytes to a file? Here's the basic logic that I ...
Hi
I have a linear PCM file (.wav) in my app and I would like to get it's duration programatically. I could find the following using AudioStreamBasicDescription but could not make out how to get the duration in seconds.
mFormatID
mSampleRate
mChannelsPerFrame
mBytesPerPacket
mFramesPerPacket
mBytesPerFrame
mBitsPerChannel
Can someone...
I have wave files that I want to read their header content. I was just wondering if there is a quick library I can use or any free software that I can open my audio with, and gives me some usefull header information.
...
How can I play multiple sounds at once in the iPhone SDK?
...
It's clearly a n00b question, as this has been implemented successfully in applications. But it's 2009 and I'm still unclear how input/output buses work with AUBase.
I'll crib the wording of my question from a post to the coreaudio-api mailing list. This question pops up other times with no answer through 2005.
I was just looking ...
Been banging my head agains the wall for awhile now.
My Xcode project went a little haywire while refactoring, and refused to build. I've squashed all the other errors, except one last linktime error:
Framework not found AudioUnit
I have the AudioUnit headers, the AudioUnit.framework is included in my project as it was before (Targets...
Hello,
I've downloaded the source of Soundflower and I am trying to retrieve a list of all applications currently sending data to Soundflower.
I'd like to manipulate each application's sound separately just like JACK and Audio Hijack does.
Any ideas?
...
I've created some wrapper functions that encapsulate working with CoreAudio, and the goal is to create a C library that I can use with some command line C++ tools. So far things are working well. I took a sample project, modified it, and it builds and runs in XCode. I'd like to skip XCode altogether and build the library with gcc and ...
I am trying to make an app that controls the volume of another process using the Windows 7 Audio API.
What I'm looking for is the ISimpleAudioVolume for the session used by the other process.
I have tried using the IAudioSessionEnumerator but it will only give me the IAudioSessionControl2 of the session. Using the IAudioSessionControl ...