Difference between revisions of "ChucK/Programs"

From CSWiki
Jump to: navigation, search
 
(111 intermediate revisions by 21 users not shown)
Line 1: Line 1:
== [[ChucK]] Programs ==
+
= [[ChucK]] Programs =
 +
* This is the centralized place to share your programs
 +
You can upload programs and images using this link:
 +
* [[Special:Upload]] upload your file.  Warning: this only works for image files, not for .ck programs.
 +
To see the list of uploads:
 +
* [[Special:Imagelist]] to see list of uploads
 +
Or, you may choose to make a new page containing the code, which you
 +
can link from this page like this:
 +
* [[ChucK/foo.ck]] : (enter description) : author
 +
* feel free to put explanations on the code pages
 +
* note: In your code listings, remember to put a space before every line in the code, including empty lines - otherwise the wiki will render the code into multiple blocks.  [[FractalMelody.ck|here]] is an example that works.
 +
* for a multi-part program, or for larger pieces, you may want to create a new page that describes the program/piece and links to the components.  [[ChucK/Programs/Dinky|here]] is an example of a multi-part program page.
  
=== Scripts ===
 
  
(share your programs here)
+
== Standalone Programs ==
 +
* [[FractalMelody.ck|FractalMelody]] : Recursive Chuck Program : Kristjan Varnik (2004)
 +
* [[bwv645.ck|Bwv645]] : from [[ChucKing_Scores]] : Pedro López-Cabanillas (2006)
 +
* [[Green.ck|Greensleeves]] : from [[ChucKing_Scores]] : Pedro López-Cabanillas (2006)
 +
* [[Anamag04.ck|Anamag04]] : from [[ChucKing_Scores]] : Pedro López-Cabanillas (2006)
 +
* [[shakercycle.ck|ShakerCycle]] : fun noise with Shaker : --art (2006)
 +
* [[StereoChordEGG.ck|StereoChordEGG]] : Simulation of Ancient Technology: jahbini (2005)
 +
* [[ChucK/Bad_VOSIM.ck|Bad_VOSIM]] : quick and dirty vosim : no one (2004)
 +
* [[ChucK/Examples|some examples]] from distrobution : team (current)
 +
* [http://www.stacken.kth.se/stackhack/20041028/index.en results] : stacken ChucK competition (2004)
 +
* [[ChucK/fm.ck|FM example]] : Basic FM "by-hand" example : Ge Wang (2004)
 +
* [[ethereal.ck|Ethereal]] : Generates crappy new age music (course assignment, not personal artistic statement!) : Graham Percival (2005)
 +
* [[son_of_ethereal.ck|SonOfEthereal]] : As a learning experiment; I took Graham's program and tried to add and change some various aspects of it. : T. Scott (2007)
 +
* [[logistic.ck|Logistic Map sonification]] : Generates noise based on a fractaline mathematical object : Graham Percival (2006)
 +
* [[shepard.ck|Shepard tones]] : Generates a shepard tone : Graham Percival (2006)
 +
* [[ChucK/CanonD.ck|Canon in D]] : Famous Johann Pachelbel canon in D : Pedro López-Cabanillas (2007)
 +
* [[EasyMIDI.ck|Simple Polyphonic MIDI]]: 10 tones of polyphonic MIDI awesomeness... using a very simple/straightforward method: drool (2007)
 +
* [[LiSa examples]]
 +
* [[Triangular_Popcorn.ck|Triangular Popcorn]]: A poor version of Popcorn in chuck. : Ryan Henszey (2007)
 +
* [[metronome.ck|Metronome]]: A simple metronome for miniAudicle : Jascha Narveson (2007)
 +
* [[MAUWii.ck | MAUWii]]: Maps Wii data onto sliders : Jascha Narveson (2007)
 +
* [http://ccrma.stanford.edu/~jchrsmt/Compose/Chuck/enginedrone.ck Multi-channel Chuck composition] : Example composition (data files required) that builds multi-channel sound in Chuck.  The piece is a series of engine (e.g. lawnmower, leafblower...) drones:  jeff smith (2007).
 +
* [[bass_funct.ck|2D Linear Dynamical System]] with the two variables mapped to frequencies of sin oscillators. Change the A matrix for different systems : Watson (2008)
 +
* [[Modedular.ck | Modedular: class for musical modes and operations]] - Build, acquire notes/chords from, and rotate musical modes. by kijjaz (2008) - still a testing version.
 +
* [[DrumPatterns.ck | Drum Patterns]] generation algorithm alpha : Ruslan Prokopchuk (2008)
 +
* [http://www.local-guru.net/blog/pages/chuckicontrol Chuck-iControl] A chuck script to map the midievents generated from an iControl controller board to osc, by Nikolaus Gradwohl (2008)
 +
* [http://vilson.void.cc/wiki/index.php?n=Main.ChuckWiimote ChuckWiimote] A ChucK interface to Wiimote (+ Nunchuk) using the DarwiinRemoteOSC handler.
  
* [[Special:Upload]] upload your file (or make a new page)
+
== Multiple-component Programs ==
* [[Special:Imagelist]] list of uploads
+
* [[ChucK/Programs/12BarBlues|12 bar blues]] : 12 Bar Blues standard : Rasmus Kaj + Gary Williams (2005)
* [[ChucK_Program_Foo]] : (enter description) : author
+
* [[ChucK/Programs/Dinky|Dinky]] : Dinky class/driver : Ge Wang (2005)
  
--
+
== Code for Complete Pieces ==
 +
* (add a few)
  
=== Packages and Repositories ===
 
* [http://chuck.cs.princeton.edu/doc/examples/ examples] : examples included with ChucK
 
  
* [http://www.stacken.kth.se/~kaj/2005/chuck12.en ChucK 12-bar blues] : A drum beat and a 12-bar blues standard : Rasmus Kaj
+
== Useful ChucK Components ==
** [[hihat.ck]] : the hihat program (with commented out syntax error) : Gary Williams
+
* [http://smelt.cs.princeton.edu/ S.M.E.L.T.] : starter toolkit for building laptop instruments : Rebecca Fiebrink and Ge Wang (2007)
** [[kick.ck]] : the kick drum program (with commented out syntax error) : Gary Williams
+
* [[ChucK/sequencer.ck|sequencer.ck]] : simple sequencer for building drum loops, etc. : Spencer Salazar (2006)
** [[snare.ck]] : the snare drum program (with commetned out syntax error) : Gary Williams
+
* [http://ccrma.stanford.edu/~jchrsmt/Compose/Chuck/nchannel4.ck 4 channel] [http://ccrma.stanford.edu/~jchrsmt/Compose/Chuck/nchannel8.ck 8 channel] [http://ccrma.stanford.edu/~jchrsmt/Compose/Chuck/nchannel16.ck 16 channel] [http://ccrma.stanford.edu/~jchrsmt/Compose/Chuck/nchannel18.ck 18 channel] : jeff smith (2007) toolkit for building multi-channel sound in chuck.  Examples included.
** [[baseloop.ck]] : the base loop program : Gary Williams
+
* [[ChucK/kijjaz-utility-classes.ck | kijjaz's utility classes]] : simple classes providing utilities for general use
** The current version of Frankenstein didn't allow dividing a float by a dur, so I just commented the divide op and substituted a simple assign, which may not be what Rasmus was aiming at -- I'm not sure it positions to the end of the sndbuf correctly. -- Gary
+
* [[ChucK/kijjaz-friends-sounds.ck | kijjaz and friends at electro-music.com's sound designs]] : releases of our attempts on creating some sounds, especially with low CPU usage. (So to make it nice for using in live situation as well.)
*** All I was aiming for is that the sound should not be heard when loading, but only when I "tell it to start". Maybe there is some better way of doing that? -- Rasmus
+
* [[ChucK/ear-saver.ck|Protect your ears!]] : Here's a simple example showing a good habit to get in to if you code with headphones on... (Jascha Narveson, 2012)
**** To not let sndbuf play until triggered, set .play or .rate to 0.0 (0.0 => s.rate) and set it to 1.0 when you want to start. -- Ge
 
  
* [http://www.stacken.kth.se/stackhack/20041028/index.en stacken] : stacken ChucK competition
 
 
=== Standalone Programs ===
 
 
* [[StereoChordEGG.ck]] : Simulation of Ancient Technology: jahbini
 
* [[FractalMelody.ck]] : Recursive Chuck Program : Kristjan Varnik
 
* [[ChucK_Program_Bad_VOSIM.ck]] : quick and dirty vosim
 
* [[ivyTree.ck]] : generative, algorithmic program based on an extended metaphor of cell differentiation and plant growth : Matthew Shanley
 
* [[Chord-o-matic.ck]] : any midi note turns into a minor or major chord : paniq
 
 
 
=== Wish List ===
 
 
What samples would you like to see?
 
  
 +
== Wish List ==
 +
What sample programs would you like to see?
 
* Symphonic orchestra
 
* Symphonic orchestra
* Techno / Industrial  
+
* Techno / Industrial
  
=== ChucK Editors ===
 
  
* ye [http://audicle.cs.princeton.edu Audicle], OpenGL ChucK IDE / Visualizer ( OS X, Windows )
+
== Related Links ==
* ye [http://audicle.cs.princeton.edu/mini/ MiniAudicle], lightweight Chuck IDE ( currently OS X only )
+
* [[ChucK/Sounds]] - another place to post/listen to programs
* [http://sirconical.co.uk/hippocamp/forum/topic.asp?TOPIC_ID=4180 ChucK text editor] (XP) : Jon Fisher
+
* [[ChucK/Examples]] - example programs
* [http://www.brandmaier.de/index.php?id=16,80,0,0,1,0 ChucK Syntax Highlighting]: small syntax highlighting script for the JOE editor (available for Unix, Linux and Mac OS X): Andreas Brandmaier
+
* [[ChucKing_Scores]] - tutorial on writing scores in ChucK
* [[Smallest_ChucK_IDE_Ever]] : small python script to edit a chuck script using [http://www.scintilla.org/SciTE.html SciTE] and auto-rerun it when the file changes. : paniq
+
* [[ChucK/Dev/Tools]] - programs/tools written '''for''' using ChucK
* [http://www.mikael.johanssons.org/chuck.el ChucK Emacs Mode] : A major mode for editing .ck files and for controlling a running ChucK process from Emacs : Mikael Johansson
 

Latest revision as of 21:14, 20 February 2012

ChucK Programs

  • This is the centralized place to share your programs

You can upload programs and images using this link:

  • Special:Upload upload your file. Warning: this only works for image files, not for .ck programs.

To see the list of uploads:

Or, you may choose to make a new page containing the code, which you can link from this page like this:

  • ChucK/foo.ck : (enter description) : author
  • feel free to put explanations on the code pages
  • note: In your code listings, remember to put a space before every line in the code, including empty lines - otherwise the wiki will render the code into multiple blocks. here is an example that works.
  • for a multi-part program, or for larger pieces, you may want to create a new page that describes the program/piece and links to the components. here is an example of a multi-part program page.


Standalone Programs

  • FractalMelody : Recursive Chuck Program : Kristjan Varnik (2004)
  • Bwv645 : from ChucKing_Scores : Pedro López-Cabanillas (2006)
  • Greensleeves : from ChucKing_Scores : Pedro López-Cabanillas (2006)
  • Anamag04 : from ChucKing_Scores : Pedro López-Cabanillas (2006)
  • ShakerCycle : fun noise with Shaker : --art (2006)
  • StereoChordEGG : Simulation of Ancient Technology: jahbini (2005)
  • Bad_VOSIM : quick and dirty vosim : no one (2004)
  • some examples from distrobution : team (current)
  • results : stacken ChucK competition (2004)
  • FM example : Basic FM "by-hand" example : Ge Wang (2004)
  • Ethereal : Generates crappy new age music (course assignment, not personal artistic statement!) : Graham Percival (2005)
  • SonOfEthereal : As a learning experiment; I took Graham's program and tried to add and change some various aspects of it. : T. Scott (2007)
  • Logistic Map sonification : Generates noise based on a fractaline mathematical object : Graham Percival (2006)
  • Shepard tones : Generates a shepard tone : Graham Percival (2006)
  • Canon in D : Famous Johann Pachelbel canon in D : Pedro López-Cabanillas (2007)
  • Simple Polyphonic MIDI: 10 tones of polyphonic MIDI awesomeness... using a very simple/straightforward method: drool (2007)
  • LiSa examples
  • Triangular Popcorn: A poor version of Popcorn in chuck. : Ryan Henszey (2007)
  • Metronome: A simple metronome for miniAudicle : Jascha Narveson (2007)
  • MAUWii: Maps Wii data onto sliders : Jascha Narveson (2007)
  • Multi-channel Chuck composition : Example composition (data files required) that builds multi-channel sound in Chuck. The piece is a series of engine (e.g. lawnmower, leafblower...) drones: jeff smith (2007).
  • 2D Linear Dynamical System with the two variables mapped to frequencies of sin oscillators. Change the A matrix for different systems : Watson (2008)
  • Modedular: class for musical modes and operations - Build, acquire notes/chords from, and rotate musical modes. by kijjaz (2008) - still a testing version.
  • Drum Patterns generation algorithm alpha : Ruslan Prokopchuk (2008)
  • Chuck-iControl A chuck script to map the midievents generated from an iControl controller board to osc, by Nikolaus Gradwohl (2008)
  • ChuckWiimote A ChucK interface to Wiimote (+ Nunchuk) using the DarwiinRemoteOSC handler.

Multiple-component Programs

  • 12 bar blues : 12 Bar Blues standard : Rasmus Kaj + Gary Williams (2005)
  • Dinky : Dinky class/driver : Ge Wang (2005)

Code for Complete Pieces

  • (add a few)


Useful ChucK Components


Wish List

What sample programs would you like to see?

  • Symphonic orchestra
  • Techno / Industrial


Related Links