Re: Creating sounds programatically
Re: Creating sounds programatically
- Subject: Re: Creating sounds programatically
- From: Doug Wyatt <email@hidden>
- Date: Tue, 13 Dec 2005 00:13:47 -0800
On Dec 12, 2005, at 23:11, Michael Carter wrote:
Hello all.
Hi,
I'm interested in delving into audio in Cocoa. The first task I'd
like to accomplish is creating sounds of various frequency and
interval (Morse code dots and dashes in this case), string them
together and play them.
I have seen several potential areas for this: Core Audio,
QuickTime, the old Sound Manager, NSSound, etc.
What would be the best approach and set of tools for creating and
playing simple sounds at frequencies/intervals chosen by the user?
The ultimate goal is using DSP to capture, digitize and interpret
incoming audio streams using various established multi-tone
protocols (RTTY, PSK31, SSTV, BPSK, MFSK16, etc).
Well, NSSound just plays existing files without a way to create or
manipulate them.
There is no good reason to use Sound Manager in 2005.
QuickTime doesn't give you much help for synthesis/DSP, though it
might be useful in other ways -- for example, you might use it to
record incoming signals, though there is some code in the Core Audio
SDK to do that too.
So ...
Would Core Audio be the best solution for that?
Yes -- see /Developer/Examples/CoreAudio/SimpleSDK/DefaultOutputUnit
for an example that plays a plain sine wave.
You might hop on over to the coreaudio-api list (@ groups.apple.com)
for more guidance about recording/playback, files, formats, synthesis
and signal processing.
Doug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden