[flocking-users] infusionic way to attribute.set() of a synthdef triggered by a click of a gif

'2+ electriclightheads at gmail.com
Thu Jan 30 00:09:22 EST 2014


hi .. am new to this list!

thanx to Colin for directly answering to my iOS related question
my new question is triggered from that one and from now on would like to post things to this list ;D

On Wed, Jan 29, 2014 at 10:44:52AM -0500, Colin Clark wrote:
> 
> On iOS, you’ll need to start the Flocking environment from within a user input event like, as you say, a button click. So, like this:
> 
> $(“#playButton”).click(function () {
>     flock.enviro.shared.play();
> });

will try this solution later but it seems to me that it is saying that
even though Flocking is using Infusion
we can still directly access to flock.functions()
from external.js

my current project is based on CoffeeCollider and in my .html i have:

<img id="cartloon" onClick="one_thang()" src="https://somewhere/picture.gif" />

and in js:

cc.send("message", {a1:sa, a2:ri, a3:ga, a4:ma, a5:pa, a6:da, a7:ni});

to send messages to SynthDefs

so .. what's the cleanest way in Infusion
to send messages to a synth triggered by a mouseclick on a gif?
is there an alternative?
and BTW can someone give me a pointer to the doc relataed to these newbie kind of things? ;)

greedy me also want to keep my keyboard hot
is it already built in Infusion? or maybe in Flocking?

thanks in advance!

-- 
'2+
http://sarigama.namaste.jp/
es
podcasting his weird muzik
http://sarigama.namaste.jp/podcast/rss.xml



More information about the flocking mailing list