could it be this easy?

20 views
Skip to first unread message

'2+

unread,
Dec 10, 2013, 9:32:05 PM12/10/13
to coffeecoll...@googlegroups.com
so my plan was to just pull some .js files directly from mohayonao's github and my current http://sarigama.namaste.jp/cc.html looks as stupid as this :D



<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>viva mohayonao!!!</title>
        <script src="http://mohayonao.github.com/CoffeeCollider/extras/vendor/coffee-script.js"></script>
        <script src="http://mohayonao.github.com/CoffeeCollider/build/coffee-collider.js"></script>
    </head>
    <body>
        <script>
            var code = "(-> SinOsc.ar(440, 0, 0.5) + SinOsc.ar(442, 0, 0.5) ).play()";
            var cc = new CoffeeCollider();
            cc.execute(code).play()
        </script>
    </body>
</html>


and the result is
"SecurityError: The operation is insecure. @ http://mohayonao.github.com/CoffeeCollider/build/coffee-collider.js:1"

am basically not interested in play around with GUIs so i want things to be as simple as this
what should i start fixing from? lol


Reply all
Reply to author
Forward
0 new messages