Aiff file question

  • Thread starter Thread starter xfinsterx
  • Start date Start date
X

xfinsterx

New member
Can most all the audio editors on either mac or pc run the aiff format?

Or no?
 
I'd imagine so... Magix Music Studio does and it's "budget"
I'm sure most will import the files.
 
Disposable said:
I'd imagine so... Magix Music Studio does and it's "budget"
I'm sure most will import the files.

Thats what i was assuming too.

Ill get at you about your pm here in a bit too, thanks.
 
And if they don't... Audacity does and it's free...
They could be converted through Audacity,
Then put into anything that doesn't.
 
Most can import aiffs though processing is more likely wavs once inside the DAW.
 
AIFF is just a byte-reversed RIFF (WAV), so if an audio program handles WAV and doesn't handle AIFF, the author is either lazy or a complete moron. Assuming it's a PC program (similar for the Mac, just reversed), it pretty much boils down to one significant line of code:

if (signature== 0x52494646 /*AIFF in hex*/) swap = 1; else swap = 0;​

then for each line of code that reads data that needs to be swapped, instead of

uint16_t value = filebuf[whatever];​

it becomes something like

uint16_t value = swap ? swap16(filebuf[whatever]) : filebuf[whatever];​

or whatever byte swap function you prefer.... But you probably didn't care about that. :D
 
Back
Top