Posted: Tue Apr 07, 2009 6:57 am Post subject:
is there a way to play this one-line without any fileSubject description: | chuck or > chuck? something like that?

some supercollider users are now twitting one-line and others can copy it from twitter and paste it his editor ... and listen ...
will chuck user always have to create a file first?
if it's one line
maybe there's a way to avoid creating a file?_________________podcasting:
http://sarigama.namaste.jp/podcast/rss.xml

Posted: Tue Apr 07, 2009 10:09 am Post subject:
Re: is there a way to play this one-line without any fileSubject description: | chuck or > chuck? something like that?

sarigama wrote:

some supercollider users are now twitting one-line and others can copy it from twitter and paste it his editor ... and listen ...
will chuck user always have to create a file first?
if it's one line
maybe there's a way to avoid creating a file?

Welcome on board.

As the previous poster pointed out; we do have a editor with integrated VM that can run code from editor buffers.

Another option would be to type "chuck --shell" at your terminal. The idea of --shell is to be able to enter into a direct dialogue with the VM, this is still in a rather "alpha" stage but there you can enter simple code without the need for any external programs and indeed without a graphics server. I wouldn't recommend that as a very practical thing right now but you can if you really want to._________________Kassen

Yes.. running a ChucK code especially a one-line in command line is quite comfortable. Just like Kassen said, just go into ChucK shell, then on ChucK prompt, open with a { then just code the thing in, then close with } and enter. You'll hear it running.
Normally it'd be shred (thread) number 1. Use this command "- 1" to remove shred number 1 in case you want to stop the running program.

worked!! great! thax
i think i will dig this style
i once thought that this is good when you are doing things on x-less cui (vt) ..
but yes then .. no handy copy'n'paste
so most of the things has to be in your brain for sure ..

At Jan's suggestion, we decided to make the theme of next week's ChucK Show be one-liners. I went through and tried basically all of them. Some didn't work because of html tags and some were too harsh sounding for my taste, however I did get 41 one liners to use in the show. That should pretty much do the job! Cheers!

Les

p.s. thanks for the thread kijjaz and all!_________________"Let's make noise for peace." - Kijjaz

Kas, that one gets my vote for One-Liner-of-the-Year! Wow! It's like a Star Trek Phasor or something. Most excellent. Will appear on the next ChucK Show for sure._________________"Let's make noise for peace." - Kijjaz

Now you're getting too crazy for me - I like the first one better. I don't get the technique, but let's let someone else figure it out, a little game shall we say? I mean, you posted your code openly so the secret is out yet I cannot fathom it. Well done Kas!

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum

Please support our site. If you click through and buy from our affiliate partners, we earn a small commission.