electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
poster
 Forum index » DIY Hardware and Software » ChucK programming language
ChucK article
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [12 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
robin746



Joined: Sep 02, 2007
Posts: 26
Location: Eire

PostPosted: Sun Sep 02, 2007 1:28 pm    Post subject: ChucK article Reply with quote  Mark this post and the followings unread

My blog diagrammes modernes now has several articles of interest to this community, including one on ChucK. More are coming soon. Hope this stirs up some interest.

-- robin
Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 23504
Location: The Netherlands, Enschede
Audio files: 262
G2 patch files: 320

PostPosted: Sun Sep 02, 2007 2:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

welcome robin, didn't read all, but it looks interesting enough to go back later.

I noticed
Quote:
I thank the Arts Council for their support in this research.
a few times, were you sponsored to do it or are they paying for the installation you were talking about?
_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
robin746



Joined: Sep 02, 2007
Posts: 26
Location: Eire

PostPosted: Sun Sep 02, 2007 3:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
I noticed
Quote:
I thank the Arts Council for their support in this research.
a few times, were you sponsored to do it or are they paying for the installation you were talking about?


They funded a specific research project for a environmentally responsive sound installation. One part of this research was about software environments, another part about hardware sensors, and yet another concerned certain specific theoretical issues.

So, the articles I have and will publish are only a small part of what they sponsored. On the flip side, my work is ongoing and was only sponsored by them for a certain period of 2007.

-- robin
Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 23504
Location: The Netherlands, Enschede
Audio files: 262
G2 patch files: 320

PostPosted: Sun Sep 02, 2007 4:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

robin746 wrote:
On the flip side


What can I say Very Happy

I'd be interested to read a bit more about the installation.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Sun Sep 02, 2007 5:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:

I'd be interested to read a bit more about the installation.


Seconded.

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
robin746



Joined: Sep 02, 2007
Posts: 26
Location: Eire

PostPosted: Sun Sep 02, 2007 5:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for your interest!

There is a lot more I could write about Numbers In The Dark and will when I have time. An article outlining the theory was supposed to have been published by now... not sure what's up with that. The installation itself has not happened yet... timeline is for next year.

-- robin
Back to top
View user's profile Send private message Visit poster's website
kijjaz



Joined: Sep 20, 2004
Posts: 765
Location: bangkok, thailand
Audio files: 4

PostPosted: Mon Sep 03, 2007 12:28 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks, robin746.

There are many wonderful articles there.
It'd be a great resource for me and some of my friends / fellow electro-musicians friends.

I'll keep watching. Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
robin746



Joined: Sep 02, 2007
Posts: 26
Location: Eire

PostPosted: Mon Sep 03, 2007 10:46 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for the comments! Hope you checked out both the blogs. diagrammes modernes is for programming concerns while Theatre of Noise is more artistic. So both have articles on my sound art, from different perspectives. I also have separate websites for my music, plus a MySpace profile etc. Over 250 posts in total. And about a dozen sound samples spread over the place.

Access them all from robinparmar.com.
Back to top
View user's profile Send private message Visit poster's website
robin746



Joined: Sep 02, 2007
Posts: 26
Location: Eire

PostPosted: Tue Sep 04, 2007 6:41 am    Post subject: Reply with quote  Mark this post and the followings unread

A second ChucK article is now live!

(To save me telling you this, use RSS to subscribe to diagrammes modernes.)

-- robin
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Tue Sep 04, 2007 7:43 am    Post subject: Reply with quote  Mark this post and the followings unread

Quote:

4. Multiple sound card outputs (eg: more than 2) are supposed to be addressable, but I have not got this to work.



Asuming Windows;

-get the ASIO patch from this forum.

-use "ChucK --probe" to make sure your soundcard now looks larger then it previously was (in and outputs over 2 supported)

-start ChucK using the "channels" parameters like this;
chuck --channels6 --loop myfile.ck

-send all signals to dac.chan(n) instead of to the dac straight as that will make them end up on all outputs.

-Make sure you never send something to a dac.chan() that's higher then the number of channels asked for at startup or you'll get a nullpointer error.

That's about it, enjoy.

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
robin746



Joined: Sep 02, 2007
Posts: 26
Location: Eire

PostPosted: Tue Sep 04, 2007 2:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

Kassen wrote:
-start ChucK using the "channels" parameters like this;
chuck --channels6 --loop myfile.ck


Ah. That would be the issue. Looking at the docs I decided the syntax was:
chuck --channels(6)

Ha ha!

Now it works. Thanks!

For those that are interested, here's my code for four-channel pan.ck:

Code:
// white noise four-channel "pan"
Noise n;
n => Gain gfl => dac.chan(0);
n => Gain gfr => dac.chan(1);
n => Gain grl => dac.chan(2);
n => Gain grr => dac.chan(3);

.4 => n.gain;
5::second => dur panperiod;
6::second => dur fadeperiod;

while(true) {
   (Math.sin( now / panperiod * 2 * pi ) +1) / 2 => float panamount;
   (Math.sin( now / fadeperiod * 2 * pi ) +1) / 2 => float fadeamount;

   panamount * fadeamount => gfl.gain;
   (1-panamount) * fadeamount => gfr.gain;

   panamount * (1-fadeamount) => grl.gain;
   (1-panamount) * (1-fadeamount) => grr.gain;

   10::ms => now;
}


Surround sound installation, here we come Wink
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Tue Sep 04, 2007 4:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

robin746 wrote:

Surround sound installation, here we come Wink


Yup. And analogue mixing. The ASIO patch was like coming out of the dark-ages.

BTW, if in doubt about startup syntax "chuck --help" will provide all of it.

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [12 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » ChucK programming language
Jump to:  

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


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use