Discussion Forums  >  Audio, Video, Playing, Recording

Replies: 6    Views: 410

Mike the App Guy
Lost but trying
Profile
Posts: 435
Reg: Sep 19, 2011
Birmingham, Ala...
5,900
06/04/13 02:14 PM (10 years ago)

Right answer in quiz - right.mp3

I'm compiling an app that I built in XCode, and have a couple of minor questions, the easiest is the "right" sound, when you get a quiz answer right in the standard plugin. I have an MP3 file that I renamed "right.mp3", it's a valid MP3 file and plays on a normal audio player, but doesn't seem to work in the quiz. Come to think of it, the default ding sound never worked either. Do I need to set something up within the code to get the "right" sound to play when a player gets the correct answer?
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
06/04/13 03:10 PM (10 years ago)
Did you put it into the BT_Sounds Folder? Jake
 
Mike the App Guy
Lost but trying
Profile
Posts: 435
Reg: Sep 19, 2011
Birmingham, Ala...
5,900
like
06/04/13 03:19 PM (10 years ago)
yes
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
06/04/13 03:21 PM (10 years ago)
Have you made sure: A: the device volume is up B: the sounds are attached to the build target? (Checkbox when importing the sounds) C: the sounds are imported to Xcode Jake
 
Mike the App Guy
Lost but trying
Profile
Posts: 435
Reg: Sep 19, 2011
Birmingham, Ala...
5,900
like
06/04/13 04:04 PM (10 years ago)
Yes to all three. It's the same basic process as petting images, and all my images work fine
 
Stobe
buzztouch Evangelist
Profile
Posts: 1527
Reg: Mar 04, 2011
Fredericksburg,...
24,670
like
06/04/13 07:05 PM (10 years ago)
I'm not sure about this (don't have a project in front of me), but you might need to add that sound file to the sound array in the appDelegate file (I think its around line 1120-ish?). You'll see a few mp3 files commented out of the loadSoundEffect array/method. Again, this is just a guess. The quiz plugin might handle this differently.
 
Mike the App Guy
Lost but trying
Profile
Posts: 435
Reg: Sep 19, 2011
Birmingham, Ala...
5,900
like
06/04/13 07:11 PM (10 years ago)
Cool, thank you
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.