Difference between revisions of "SLOrk/Instruments/DrumCircle"

From CCRMA Wiki
Jump to: navigation, search
(Running)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Description ==
 
== Description ==
  
asdfasdfasdf
+
Drum Circle (DC) plays on the idea that the computer can act as a drum (make sound when hit) and takes advantage of the onboard sms sensor.  When running DC, a graphical interface in Open GL displays a pattern of different size balls located around a circle.  There is a clock hand that points to a given ball, and when hit, a note is played. At this point, the clock hand advances to the next ball in counter-clockwise motion.  A melody or bass line can be played by continuously hitting the computer to trigger notes in sequence. 
  
 
== Usage ==
 
== Usage ==
 +
DC can be used for a variety of different sounds and purposes.  The sound generation is detached from the graphics interface making sound generation modification easy.  The first two performances of DC included a polyphonic sample playback sound as well as a polyphonic blow bottle synthesizer in Chuck.  Currently, the blow bottle patch is set up in svn.
 +
  
 
=== Installation ===
 
=== Installation ===
* Copy the folder drumCircle to any directory you like
+
* Copy the folder dc to any directory you like (can be found in [slork/users/njb/])
 
* Done!
 
* Done!
  
 
=== Running ===
 
=== Running ===
* adf
 
  
 +
To run DC, two chuck patches and a separate OpenGL program must be running simultaneously.
 +
The two separate Chuck files can be run individually (sms.ck, polyBlow.ck) or by a separate chuck file that adds the other two (dc.ck). For simplicity, the instructions below do as such.
 +
 +
 +
* Start miniAudicle and open dc.ck
 +
* Make sure the file path preferences are set to the dc folder
 +
* Start the virtual machine and add the shred
 +
* Open Terminal
 +
* Navigate to the dc folder
 +
* Type: ./dc
  
 
=== Execution ===
 
=== Execution ===
Drum Circle
 
To run DC a three chuck patches and a separate OpenGL program must be run.
 
The three separate Chuck files can be run individually (sms.ck, polySampler.ck, clock.ck) or by a separate chuck file that adds the other three (all.ck). Before you start the virtual machine, please set the default path in the preferences to be slork/users/njb/drumCircle. For simplicity, add all.ck and move on to adding the graphics program.
 
To run the graphics program, please open Terminal and move directories to /slork/users/njb/drumCircle/gfx. From there type ./drumCircle
 
  
# adsf
+
Once Chuck and the Drum Cirlce graphics program is running, simply hit the computer and play through the note sequence. See key mapping for more advanced control.
# asdf
+
  
  
Line 26: Line 32:
  
 
All control is managed through the graphics interface with the following controls:
 
All control is managed through the graphics interface with the following controls:
s -full screen
+
*s -full screen
e -rotate pattern up
+
*e -rotate pattern up
r -rotate pattern down
+
*r -rotate pattern down
> -adds a circle
+
*> -adds a circle
< -subtracts a circle
+
*< -subtracts a circle
[ -rotate graphics back
+
*[ -rotate graphics back
] -rotate graphics forward
+
*] -rotate graphics forward
+ -move graphics forward
+
*+ -move graphics forward
- -move graphics backward
+
*- -move graphics backward
q -quits
+
*q -quits
(spacebar) -stops/starts the play clock so you can edit a specific note
+
 
(tab) -starts/stops interactive mode using the sms sensor. At start up, it simply plays everything for you. In interactive mode, you must hit the computer to trigger a sound.
+
To play more interesting melodies and use the r or e keys while striking the computer to exactly control the order of the note sequence
To eventually change tempo, you would have to go into the clock.ck fill and adjust accordingly.
+
  
 
== Advanced users ==
 
== Advanced users ==
 +
*The main sound generation can be found at: polyBlow.ck
 +
*The main graphics file can be found at: dc.cpp
 +
**The note pattern is a global array at the top

Latest revision as of 15:59, 13 November 2011

Description

Drum Circle (DC) plays on the idea that the computer can act as a drum (make sound when hit) and takes advantage of the onboard sms sensor. When running DC, a graphical interface in Open GL displays a pattern of different size balls located around a circle. There is a clock hand that points to a given ball, and when hit, a note is played. At this point, the clock hand advances to the next ball in counter-clockwise motion. A melody or bass line can be played by continuously hitting the computer to trigger notes in sequence.

Usage

DC can be used for a variety of different sounds and purposes. The sound generation is detached from the graphics interface making sound generation modification easy. The first two performances of DC included a polyphonic sample playback sound as well as a polyphonic blow bottle synthesizer in Chuck. Currently, the blow bottle patch is set up in svn.


Installation

  • Copy the folder dc to any directory you like (can be found in [slork/users/njb/])
  • Done!

Running

To run DC, two chuck patches and a separate OpenGL program must be running simultaneously. The two separate Chuck files can be run individually (sms.ck, polyBlow.ck) or by a separate chuck file that adds the other two (dc.ck). For simplicity, the instructions below do as such.


  • Start miniAudicle and open dc.ck
  • Make sure the file path preferences are set to the dc folder
  • Start the virtual machine and add the shred
  • Open Terminal
  • Navigate to the dc folder
  • Type: ./dc

Execution

Once Chuck and the Drum Cirlce graphics program is running, simply hit the computer and play through the note sequence. See key mapping for more advanced control.


Key mapping

All control is managed through the graphics interface with the following controls:

  • s -full screen
  • e -rotate pattern up
  • r -rotate pattern down
  • > -adds a circle
  • < -subtracts a circle
  • [ -rotate graphics back
  • ] -rotate graphics forward
  • + -move graphics forward
  • - -move graphics backward
  • q -quits

To play more interesting melodies and use the r or e keys while striking the computer to exactly control the order of the note sequence

Advanced users

  • The main sound generation can be found at: polyBlow.ck
  • The main graphics file can be found at: dc.cpp
    • The note pattern is a global array at the top