playing a sound: .aiff ≠ .aiff?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
lupuss
Posts: 25
Joined: Sat Nov 27, 2010 10:24 am

playing a sound: .aiff ≠ .aiff?

Post by lupuss » Thu Jan 13, 2011 4:21 pm

I took an .aiff file from a CD and tried to play it in a stack. Instead of the music I heard a scratching noise in the rhythm of the music. Then I put the file into Audacity (an audio software program) an exported it again as .aiff without knowingly changing anything. The file then played correctly. It seems as if there were a parameter that gets changed by milling the file through Audacity. Although it says that LC works with .mp3 and .aiff (or .aif) there seems to be some kind of restrictions. Does anyone know the specifics about that?

best regards,
lupuss

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: playing a sound: .aiff ≠ .aiff?

Post by Klaus » Fri Jan 14, 2011 2:55 pm

Hi lupuss,

how did you try to play that AIFF? I guess you uses "play ac "Track1.aiff", right?

When using the "play ac XZ" syntax, LiveCode will only support VERY few formats!
(uncompressed AIF and WAV, but obviously not ALL of them, and compressed AU)

So you better use a player object and set its filename to the sound file.
I am sure that will work fine, give it a try :)


Best

Klaus

Post Reply