electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks GalleryGallery 
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » ChucK programming language
One-Line ChucK Crazy
Post new topic   Reply to topic Moderators: Kassen
Page 4 of 4 [79 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: Previous 1, 2, 3, 4
Author Message
Inventor



Joined: Oct 13, 2007
Posts: 1700
Location: Florida, USA
Audio files: 67

PostPosted: Wed Sep 24, 2008 5:29 am    Post subject: Reply with quote  Mark this post and the followings unread

OK, that worked, thanks kijjaz. Here is the test code to try out the drum set:

Code:
// Kijjaz's drum set
Impulse trigL => LPF toneL => SinOsc driveL => dac; toneL.set(50, 30); 1 => driveL.sync;
Impulse trigL2 => LPF toneL2 => SinOsc driveL2 => dac; toneL2.set(160, 30); 1 => driveL2.sync;
Impulse trigB => BPF toneB => SinOsc driveB => dac; toneB.set(2000, 100); 1 => driveB.sync;
Impulse trigH => HPF toneH => SinOsc driveH => dac; toneH.set(2000, 100); 1 => driveH.sync;
while (true) {
    50 => trigL.next;
    second => now;
    50 => trigL2.next;
    second => now;
    50 => trigB.next;
    second => now;
    50 => trigH.next;
    second => now;
}

_________________
For those about to ChucK, we salute you! - Ge Wang
Let's make noise for peace! - kijjaz
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rinko



Joined: Jun 03, 2008
Posts: 31
Location: UK

PostPosted: Wed Sep 24, 2008 3:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

hehe that's a wicked idea - tried to come up with a contribution to the kit. instead i got this. its not drum like at all but does start to sound like a merzbow track after a short while Wink

Code:
Impulse i => Noise n => SawOsc s => HPF f => dac; f.set (500, 200); s.sync ();
Back to top
View user's profile Send private message
kijjaz



Joined: Sep 20, 2004
Posts: 569
Location: bangkok, thailand
Audio files: 2

PostPosted: Wed Sep 24, 2008 4:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

Rinko: i tried to simplify your patch above. it should build the same sound.

Code:
Noise n => SawOsc s => HPF f => dac; f.set (500, 200); day => now;

i made some modification just for fun:
Code:
Noise n => SawOsc s => s => HPF f => dac; f.set (400, 300); day => now;
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
kijjaz



Joined: Sep 20, 2004
Posts: 569
Location: bangkok, thailand
Audio files: 2

PostPosted: Wed Sep 24, 2008 4:25 pm    Post subject: Reply with quote  Mark this post and the followings unread

Code:
// still afraid of the dentist?
Step a => Phasor b => b => SinOsc c => b => dac; -200 => a.next; 250 => b.gain; day => now;
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 4 of 4 [79 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2, 3, 4
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

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


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003, 2004, 2005, 2006 and 2007 by electro-music.com