Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
Re: [sc-users] Flash + scsynth [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [sc-users] Flash + scsynth To: SuperCollider users mailing list Subject: Re: [sc-users] Flash + scsynth From: Stefan Nussbaumer Date: Sat, 17 May 2008 16:46:38 +0200 Delivered-to: sc-users@xxxxxxxxxxxxxxx In-reply-to: <482EC075.1060604@xxxxxxxxxxxxxxxxxxx> List-archive: List-help: List-id: SuperCollider users mailing list List-post: List-subscribe: , List-unsubscribe: , References: <65f5d7330805161029l17bef69axacb45d88a3d1dfda@xxxxxxxxxxxxxx> <482DE4CA.40104@xxxxxxxxx> <482DF340.2000404@xxxxxxxxx> <482E1BC1.1040007@xxxxxxxxx> <482EC075.1060604@xxxxxxxxxxxxxxxxxxx> Reply-to: SuperCollider users mailing list User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MDK schrieb: ... 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? mmh ... looks like it might become complex ... 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. right, that's the point. so the binary http socket is basically capable of sending osc commands to sc. these commands need to be in compliance with the namespaces for osc commands defined in sc. 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. yes, i understand - i'm not sure but i vaguely having seen some demonstration done with haskell - i guess there would be a way to do it but that certainly goes beyond _my_ capabilities ... 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. :) well ... basically: a webbrowser is an application. supercollider is an application. doing a flash standalone creates an application ... i'm currently working on an sc application, that communicates nicely to the net on my local machine. i can think of various other options e.g. streaming sound directly from my local machine on request from the internet. sure that all involves latency which you can only avoid (...) if you have the sound-synthesis on your machine - controlled from whereever, remote or local. a browser plugin would only transfer synthesis from your local sc to the plugin which runs in a bloatet webbrowser (...) ... sure one has to download supercollider where you would have to install your browserplugin. don't know - guess i'll always prefer the supercollider way ... ... but that's really only 1c stefan martin. _______________________________________________ sc-users mailing list sc-users@xxxxxxxxxxxxxxx http://lists.create.ucsb.edu/mailman/listinfo/sc-users -- =+=+=+=+=+=+=+=+=+=+=+=+= Stefan Nussbaumer Johnstrasse 18/2a A-1150 Vienna Austria ------------------------- T: +43 (0)1 956 20 35 M: +43 (0)699 11 33 41 79 References: Re: [sc-users] Flash + scsynth From: Schell Re: [sc-users] Flash + scsynth From: Stefan Nussbaumer Re: [sc-users] Flash + scsynth From: nonprivate Re: [sc-users] Flash + scsynth From: Stefan Nussbaumer Re: [sc-users] Flash + scsynth From: MDK Prev by Date: Re: [sc-users] WiiMote example code request Next by Date: [sc-users] reserved keywords in patterns Previous by thread: Re: [sc-users] Flash + scsynth Next by thread: Re: [sc-users] Flash + scsynth Index(es): Date Thread