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 2 of 2 [30 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
Author Message
Kassen
Janitor
Janitor


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

PostPosted: Tue Jun 19, 2007 4:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Chuckles; nearly everything can read .txt files, not just Windows. Plain text is by far the safest format to use if you have no idea what the other guy is using (but can't rule out Atari's, Amigas, etc). ChucK can run .txt files just fine too, no need to rename.

Kijjaz; I realy love what you are doing and I'd like to join in but one line is so very short. I tried but wasn't able to come up with anything post-worthy.

_________________
while(!machine.crash() ) <<<"all is well">>>;
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kijjaz



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

PostPosted: Wed Jun 27, 2007 9:50 am    Post subject: Reply with quote  Mark this post and the followings unread

Code:
// Space trip to 3n+1 planet
SinOsc s=>dac; for(int i;1;<<<i>>>) for(i=>int j;(j=>s.freq)>1;ms=>now) if(j%2==0) 4/=>j; else 3*j+1=>j;


Changing 3*j + 1 to 5*j + 1 yeilds very great sounding result. Embarassed
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: 409
Location: bangkok, thailand
Audio files: 2

PostPosted: Fri Jun 29, 2007 3:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

Play this (not too soft!), sit back, and relax..

Code:
// 15-minute nervous system massage session
Noise a => LPF b => ZeroX c => dac; b.set(4, 1); 15::minute => now;


err.. is this unhealthy for large speakers?
Let's use a headphone ^_^

hmm maybe also not healthy for ear -_-"
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
skwrKing



Joined: Jul 24, 2007
Posts: 14
Location: MI

PostPosted: Mon Aug 20, 2007 8:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

The code is probably not too interesting as I'm still very new to ChucK, but I thought it sounded interesting enough to share.

Code:
SinOsc s => dac; 1 => int i; while(30::ms => now){(i%100)*9*(i%99) => s.freq;i--;}


Now I'm rather addicted to this one-line game, so I might be back with more.
Back to top
View user's profile Send private message
kijjaz



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

PostPosted: Thu Nov 08, 2007 10:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'm back with more noises.
this feedback loop sounds good but different at different sample rates.
it generates some sequences of evolving sound apttern cycles all the time.

i'm listening to it at 44100 sample rate.
it kinda produces some silent gaps also. it sounds more complex then.

Code:
// kijjaz:I thought my jack was not well-connected
dac => Phasor a => SinOsc b => dac; a.phase(.5); a.gain(3000); 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 2 of 2 [30 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2
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