Electronic Music mailing list archives

Previous Message: Re: Building Sclang Executable on OS X (leopard or
Next Message: Re: single sample delay from buffer; please help

From: MDK ()
Date: May 17, 2008
Subject: Re: Flash + scsynth
Stefan Nussbaumer wrote:
> nonprivate schrieb:
>> so how could this work in practice? would it be possible to compile the 
>> synthdef files beforehand using the language, then somehow get these to 
>> load into the plugin, then you would just send the OSC commands by some 
>> method - java or something. it would be cool (or maybe even essential) 
>> for the plugin to be able to load synthdefs from remote paths, not to 
>> mention soundfiles and the like.
>>   
> 
> well, i still don't quite get what this thread is going to be about ... 

im not sure either :)

is he talking about the SC browser plugin?

> i've only copied this little processing example, which does what i 
> believe Schell wants to do with flash.

I think schell just wanted to get flash communicating directly with SC.

Because you can use a 'binary http socket' in flash you can connect it directly 
to scsynth, whereas before you needed something like flosc to act as the middleman.

That opens up a lot of different possibilities depending on what people want to 
achieve.

The flash app doesnt have to run in the browser it can run on the machine like 
any other app and just be like another SC client.

but, there might be a way in the browser to get both the flash plugin and the SC 
plugin talking to each other, which would be quite interesting.

Or, you could have a flash app in the browser talking to a normal scsynth 
instance (although this would need some extra work to implement the security 
requirements for the flash player so it can connect to a local socket..)

Then there was another idea which i think was hinting at something like this :
instead of using the editor part of sclang, make sclang a 'compiler service' 
which listens on a particular socket to which you can send source code. Then 
sclang could either send the compiled synthdef back to the originator (i.e. 
flash) or could send it directly to scsynth. Then the flash application can 
instantiate synthdefs on the server however it likes.
You could imagine having a visual tool much like the standard visual flow graph 
of PD / Max etc, but you could show code nodes directly in the structure and 
edit them 'live' (which i guess is similar in some ways to the code module 
inside synthmaker)

of course you could build synthdefs directly in flash and send them straight to 
scsynth, but if the sc language is there (and its a very well thought out way of 
managing the server then why not take advantage of that), just treat it as 
another means of representation. :)


martin.
_______________________________________________
sc-users mailing list [EMAIL REMOVED] http://lists.create.ucsb.edu/mailman/listinfo/sc-users

+Re: Flash + scsynth MDK (05/17/08)

Previous Message: Re: Building Sclang Executable on OS X (leopard or
Next Message: Re: single sample delay from buffer; please help