Standard for audio on pasteboards?
Standard for audio on pasteboards?
- Subject: Standard for audio on pasteboards?
- From: Ev <email@hidden>
- Date: Wed, 19 Nov 2003 01:02:31 -0600
Does anyone have any knowledge of a standard for getting and setting
audio data to the pasteboard?
If *NOT*, I have a submission:
some type (i hope defined by Apple, some NSAudioPboardType or
something) that's a string as expected
data: a block of floating point numbers. the first float is the sample
rate, then the remaining floats are the audio data
Pro:
1. just a simple block of floating point numbers, 4 bytes a piece. No
struct or typedef needed.
2. represents any bit depth for pasting into or getting from (16-bit
source? 24-bit destination? no problem.)
3. number of samples is defined by the size of the data block (as
floats) - 1
Con:
1. need a way to determine number of channels? number of separate
NSData blocks??
Anyone have any additions, suggestions, or solutions?
If this could be an open idea, i'd love it - we'd all be able to cut &
paste data between our apps (& make files to the Finder)...
-ev
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.