gibber-cc / gibber

An audiovisual live coding environment for the browser
MIT License
909 stars 81 forks source link

iOS and Android #22

Closed karneaud closed 9 years ago

karneaud commented 9 years ago

How does this work on mobile devices? Just tried some audio examples on iOS mobile browser and must say....performance is dreadfully slow and sluggish to the point of being unresponsive

charlieroberts commented 9 years ago

Hello,

The Gibber environment doesn't really run on iOS devices, as the code editor doesn't work correctly. Is this a bug for another repo, like gibber.audio.lib or p5.gibber?

Putting that aside, what version of iOS and what device? Most of the p5 examples should be fine on iPads >= 2 and iPhone 5S and higher... - Charlie

karneaud commented 9 years ago

Tested the example at http://charlie-roberts.com/gibber/examples/p5.gibber.simple.example/ on iphone4 with iOS7 on Safari..

charlieroberts commented 9 years ago

Yeah, it's never going to be that great on that device unfortunately. Gibberish uses the ScriptProcessor node, which is fairly expensive and runs everything in one thread. In upcoming browser updates audio will get its own thread, but I don't think those updates will ever be available on iPhone 4 since its not getting iOS upgrades anymore.

Which is sad.