I am looking for a way to use hype to make an iOS web app which enables sound effects to be played over the top of background music coming from your music app on your iPhone.
If that is not possible, then is there a way to make it pause the music app, play the sound effect then continue playing the music app from when it was paused.
I have searched everywhere on the forum for an answer to this question and can’t find one. I really hope someone can help.
First of all not an expert in this field but will give you my 2 cents
Unfortunately I think this would be pretty difficult as iOS (native) apps are written in Objective-C and in HYPE you would be using Javascript. Whilst you can communicate with Objective C using Javascript
yes you can make ios apps with hype.
i think this link will help you.
but i think you need to do extra coding to let users open their music from their phone.
I am sure there is some other person to help you out with that.
or you can google to find out the javascript to let open music from device.
I know that you can build an app using a web view in Xcode (nice How to by the way) but what the original poster was asking was to manipulate the audio playing in an iOS device because he wants to play sound effects over any audio that is already being played or pause and restart the audio after his sound effects have played.
Do you know if this can be done? Maybe through the Audio Toolbox framework?
Yes you would need to add the AV Framework to your Xcode project to add those features.
However, I minus autoplay you may want to experiment with a Hype document that is playing a soundtrack OnLoad for a scene and add some buttons on that…
Follow the link I just reposted below when you setup your web view.
It may get you a basic start.
But if you really want more solid audio features you will want to work through the AV Framework process.