Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 08-24-2008, 07:08 PM   #8 (permalink)
refreshe
mr.
 
refreshe's Avatar
 
Join Date: Jul 2008
Location: SF, California | Melbourne, Australia
Posts: 346
refreshe is on a distinguished road
Default

Quote:
Originally Posted by GabeJacobs View Post
@refreshe I am not good enough at Objective-C to to see what I am doing wrong. The metronome app is too confusing for me to understand how that can relate to mine.
Well I posted the relevant code for SoundEffect.h & SoundEffect.m files from the metronome app. Just replace your SoundEffect.h/m code with those.
They're basically the same, except they'll spit out some error messages if they exist.
Open the console when you build your app and see if any error messages show up.

Apart from errors in loading the sound, is the sound file itself compatible?


It should be under 5 seconds or it won't play using this playback method. Also maybe try converting it to apple's preferred .caf format instead of .wav
Apple have instructions in the dev center to go about doing this using a Terminal command.
__________________
appz
refreshe is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,419
Threads: 94,016
Posts: 402,536
Top Poster: BrianSlick (7,978)
Welcome to our newest member, estherkt98
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:29 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.