Compressed Sound in iOS Deployment?

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
oceanatlas
Posts: 3
Joined: Thu Sep 06, 2012 8:46 pm

Compressed Sound in iOS Deployment?

Post by oceanatlas » Thu Sep 06, 2012 8:59 pm

I am an experienced RR/LC developer for desktop apps--I'm assessing LC for iPad development. My fundamental question is whether LC apps deployed to iOS can play compressed sound formats like .m4a? I have lots of sound resources and .aif is really going to bloat my app. I need to resolve this before I get my funder to spend $300 on the iOS deployment "add on". In LC I am familiar with the play command and using a player object. Do these techniques transfer to iOS deployment? Where do sound assets live in an iOS app? Thanks in advance!

scotttyang
Posts: 125
Joined: Sat Jan 31, 2009 12:01 am

Re: Compressed Sound in iOS Deployment?

Post by scotttyang » Thu Sep 06, 2012 9:33 pm

I have some 800 sound files on my app. Did initially start with 50 mb of aif files. When I went .mp3, now only 10 mb. .mp3 gave me the best file size with decent sound quality. I use twistedwaves for batch conversion...like in 90 sec for 900 files of single word sound files.

oceanatlas
Posts: 3
Joined: Thu Sep 06, 2012 8:46 pm

Re: Compressed Sound in iOS Deployment?

Post by oceanatlas » Thu Sep 06, 2012 11:59 pm

Can you tell me if sound is handled differently in an iOS app vs a "normal" application? I know about the play command and I know how to use a player object. Same things for iOS?

Adrian
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 79
Joined: Wed Jul 11, 2012 5:03 pm

Re: Compressed Sound in iOS Deployment?

Post by Adrian » Fri Sep 07, 2012 8:19 am

Check out the iOS Release Notes for LiveCode. There are two ways of playing sound; a simple one and a multichannel one, giving more scope for control.

Cheers,

Adrian

scotttyang
Posts: 125
Joined: Sat Jan 31, 2009 12:01 am

Re: Compressed Sound in iOS Deployment?

Post by scotttyang » Sun Sep 09, 2012 4:23 am

its very simple. it plays a sound file from a folder that you copy with your app. sound files are not loaded into the stack, but are stored in a separate folder. so the play command works.

Post Reply