This is a somewhat advanced question about iOS and JavaScript. I am hoping to be able to use this in a future (unstarted) HTML5/JavaScript game similar to Guitar Hero or Rock Band.
Before people tell me to go to Coder's Shed, I just want to say that some of the people I hope can answer my question are less active/not active on there than they are here.
Basically, a browser based game based on Guitar Hero. To avoid any legal issues or anything, I want to be able to use the user's music library (including music from another app like Rhapsody or Spotify) instead of music included with the game. People could then translate the songs into the needed information using a built in sequencer, and it would play the notes in sync with the song.
The thing I need to ask is wether it is possible to access the volume controls and pause/play controls in JavaScript. I know it is possible in native Obj-C applications, (in fact the app can have access to the whole music library) and I also know that the Nitro JS engine in Webkit compiles JavaScript into native code. I was wondering if it was possible to use that to pause/play the music player.
Offline
Try Stack Overflow.
Last edited by GameHutSoftware (2012-08-03 15:37:15)
Offline