Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 57

Rishu
Apple Fan
Profile
Posts: 16
Reg: Mar 08, 2013
New Delhi
2,210
02/24/14 01:13 AM (10 years ago)

Cannot play Sound in NAD Advanced quiz plugin

The plugin Advanced quiz though a bit expensive is executed very well Two issues : 1. Tried a lot to figure it out but cannot okay sound on CORECt and incorrect answers. I put my mp3 files in bt Audio part of Xcode as well as in Advanced quiz folder. Labelled the names correctly in control panel. As was written even tried to uncomment the two statements with /* but it brought error on launching so didn't tamper that. Developers please explain how to correctly to let with code so that I can play sound 2. Second question : instead if sound file on incorrect question can I make the phone vibrate like in QuizUp app. What code modifications would I need to edit ?? Thanks a lot
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
02/24/14 08:09 AM (10 years ago)
I am at work now. I can take a look at it tonight. What sound file names did you use? Did you add those names to the list in the BT_audio? N:D
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
02/24/14 08:20 AM (10 years ago)
This post might help with the vibration. http://www.buzztouch.com/forum/thread.php?tid=58DF9EFEC6EC724FCAC0A8C&currentPage=1 Sent you a pm.
 
Rishu
Apple Fan
Profile
Posts: 16
Reg: Mar 08, 2013
New Delhi
2,210
like
02/26/14 07:20 PM (10 years ago)
Sorry for replying late. I had an exam . Yes Nad I did enter the names in the bt audio. The sound files I used were ding.mp3 and horn.mp3 for correct and incorrect answers withings fitness monitor . Ought they be different? Also where do I add the vibration part of code? And I m sorry if I cannot find your personal message? Would you mind sending that again . Thanks
 
NorfolkAndGood
Aspiring developer
Profile
Posts: 41
Reg: Jul 17, 2013
Cirencester
410
like
05/06/14 11:06 AM (10 years ago)
Hi I too am having problems with this. I have finally decided to update to the latest version of the Advanced Quiz (the one which allows up to 20 answer selections) and I presume has new BT_Config appdelegate.m files. I tried to add the sounds back into the app delegate.m, but the whole section has been removed. I have also tried to add the sound files to BT_Audio and BT_Sounds (as they were before), but it still gives the bug of the sound file not being in the list. Would anyone be able to help further please? Thanks
 
NorfolkAndGood
Aspiring developer
Profile
Posts: 41
Reg: Jul 17, 2013
Cirencester
410
like
05/06/14 11:58 PM (10 years ago)
Please disregard my question, I found the answer in another forum as follows: You have to add the mp3 file name to the array in BT_Layout/BT_loadConfigDataViewController.m file [appDelegate.soundEffectNames addObject:@"bt_funk.mp3"]; [appDelegate.soundEffectNames addObject:@"bt_glass.mp3"]; add new code below i.e. [appDelegate.soundEffectNames addObject:@"your_sound.mp3"]; etc
 

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.