Difference between revisions of "SLOrk/Instruments/Permutations"

From CCRMA Wiki
Jump to: navigation, search
Line 13: Line 13:
 
The keyboard primarily controls the shape of the sound.
 
The keyboard primarily controls the shape of the sound.
  
"[" and "]" change the timbre of the sound. "[" scrolls down through the list of timbres, while "]" scrolls up. As you move upward, the sound becomes more harmonically rich.
+
"[" and "]" change the timbre of the sound. "[" scrolls down through the list of timbres, while "]" scrolls up. As you scroll upward, the sound becomes more harmonically rich.
  
 
"<-" and "->" (arrow keys) change the register (in octaves).
 
"<-" and "->" (arrow keys) change the register (in octaves).
Line 21: Line 21:
 
"1, 2, ... 9, 0" (digits) set the amplitude envelope of the notes. The digits are arranged in a logical progression such that the sound become less percussive and more fluid/pad-like as the digits move to the right.
 
"1, 2, ... 9, 0" (digits) set the amplitude envelope of the notes. The digits are arranged in a logical progression such that the sound become less percussive and more fluid/pad-like as the digits move to the right.
  
 +
===Trackpad Controls (hold "." to activate!)===
  
 +
IMPORTANT: For the following trackpad commands to be active, you must be holding down the "." key.
  
===Trackpad Controls===
+
X-axis: Traversing the x-axis sweeps a low-pass filter with a moderate resonance.
 +
 
 +
Y-axis: Traversing the y-axis internally detunes the pitch slightly around its note.
  
 
===GUI Controls===
 
===GUI Controls===
  
" " (spacebar) plays the next note in the permutation.
+
The GUI is controlled by both clicking and keyboard commands.
"`" (tildé) sets the GUI to loop the sound.
+
 
 +
Click on a square: Swaps the value in that square the value in the square immediately to its right.
 +
 
 +
" " (spacebar) plays the next note in the sequence.
 +
 
 +
"`" (tildé) sets the GUI to loop through the sequence.
  
 
Mouse controls:
 
Mouse controls:
Line 38: Line 47:
  
 
===Priority 2 (Would make the instrument run more smoothly/efficiently):===
 
===Priority 2 (Would make the instrument run more smoothly/efficiently):===
 +
 +
Past a certain polyphony, Chuck can't keep up. We can make the instrument able to handle more of a payload by eliminating MAUI entirely and using command-line Chuck to run it. This means that we need to use a GUI (probably an altered version of the Gamelan-Taiko-Fusion piece's GUI) via OSC messages from the command-line version.
  
 
===Priority 3 (Minor issues):===
 
===Priority 3 (Minor issues):===

Revision as of 01:12, 27 April 2009

by J3 (Jacob Shenker, Jay Bhat, and Jason Riggs)

Gui.png

Overview

Stuff

How to Play

Keyboard Controls

The keyboard primarily controls the shape of the sound.

"[" and "]" change the timbre of the sound. "[" scrolls down through the list of timbres, while "]" scrolls up. As you scroll upward, the sound becomes more harmonically rich.

"<-" and "->" (arrow keys) change the register (in octaves).

"-^" and "-v" (arrow keys) increase and decrease tempo.

"1, 2, ... 9, 0" (digits) set the amplitude envelope of the notes. The digits are arranged in a logical progression such that the sound become less percussive and more fluid/pad-like as the digits move to the right.

Trackpad Controls (hold "." to activate!)

IMPORTANT: For the following trackpad commands to be active, you must be holding down the "." key.

X-axis: Traversing the x-axis sweeps a low-pass filter with a moderate resonance.

Y-axis: Traversing the y-axis internally detunes the pitch slightly around its note.

GUI Controls

The GUI is controlled by both clicking and keyboard commands.

Click on a square: Swaps the value in that square the value in the square immediately to its right.

" " (spacebar) plays the next note in the sequence.

"`" (tildé) sets the GUI to loop through the sequence.

Mouse controls:


Known Bugs (arranged by priority)

Priority 1 (absolutely needs to be fixed asap):

Priority 2 (Would make the instrument run more smoothly/efficiently):

Past a certain polyphony, Chuck can't keep up. We can make the instrument able to handle more of a payload by eliminating MAUI entirely and using command-line Chuck to run it. This means that we need to use a GUI (probably an altered version of the Gamelan-Taiko-Fusion piece's GUI) via OSC messages from the command-line version.

Priority 3 (Minor issues):

Whiteboard

Priority 1 (Should totally be in there asap):

i) Currently, all oscillators are sent out all channels (in function "playSound". We should make it so that each time an oscillator is created, it gets randomly sent to one of the six channels. This is crucial to spatializing the sound.

Priority 2 (Would be cool):

Priority 3 (Might considering experimenting with):

Files

Here is the chuck file:

permutations.ck

Related Projects

This permutations project was created out of a merging of three prior projects.

Jason's Supersaw project is located here: Supersaw

Jacob's Permutations code is located here: permutations_original.ck

Jay's Arpeggiator code is located here: arpeggiator.ck