21. Event? (1)

Event

Event는 하나의 Environment로서 Play메세지를 받을 경우에 액션을 취하도록 만들어진 것입니다.
Event는 defaultParentEvent를 제공하는데 이는 다양한 다른 event type 을 정의해주고 각각의 type에 default key.value pairs를 제공해 줍니다.
type 은 type, note의 값에 의해 결정됩니다.

Event 는 다음과 같이 정의되지요

( ).play; // the default note
( freq: 500, pan: -1) .play; // 500 Hz, panned left
( degree: (0..12)).play // a whole tone cluster
Events 와 SynthDefs

SynthDef에서는 하나의 instrument를 정의내려 줍니다. 그 instrument는 ‘Event’에 의해 실행되어 주는 것이지요.
다음의 예제를 보세요.

SynthDef(“pm”, { | out=0, freq=440, amp=0.1, pan=0, gate=1, ratio = 1, index = 1, ar = 0.1, dr = 0.1 |
var z;
z = LPF.ar(
PMOsc.ar(freq, freq * ratio, Linen.kr(gate, ar,index, dr), 0, 0.3),
XLine.kr(Rand(4000,5000), Rand(2500,3200), 1)
) * Linen.kr(gate, 0.01, 0.7, dr, 2);
OffsetOut.ar(out, Pan2.ar(z, pan, amp));
}).store;

(instrument: “pm”).play;
(instrument: “pm”, ratio: 3.42, index: 12, freq: 150, ar: 8, dr: 3, sustain: 10).play;

pm이라는 SynthDef가 정의내려졌고, store에 의해 서버에 보내집니다.
** 서버에 보내진 synthDef를 확인하시려면 Users/Library/ApplicationSupports/SuperCollider3/synthdefs폴더에 저장됩니다. 이를 사용하여 다른곳에서도 SynthDef에 접근 가능한데 참고하세요.
아래 instrument를 사용하여 pm을 연주해 주는것이 event입니다.
Events 와 Patterns
이벤트는 페턴 라이브러리와 함께 적용됩니다. pattern은 다른곳에서 다루어 보도록 하겠습니다.
다음은 몇개의 keys가 패턴에 적용된 예제입니다. 여기서 key들은 stepsPerOctave, note, ctranspose, detune, sustain, dur, db가 사용되었습니다.
(
p = Pbind(*[
stepsPerOctave: Pstep(Pseq((2..12).mirror, inf),12), // 3 – 12 tone e.t. scales
note: Pseq((0..12).mirror, inf),

ctranspose: Pwhite(-0.2, 0.2), // detune up to +-20 cents
detune: Pwhite(-1.0, 1.0), // detune up to 1 Hz
sustain: Prand([0.2, 0.2, 0.2, 4], inf), // notes last 0.2 or 4 seconds
dur: Prand([0.2, 0.2, 0.2, 0.2, 0.2, 0.8], inf), // 1 in 6 chance note lasts 0.8 seconds
db: Pstep( // 4 beat accent structure
Pseq([-15, -25, -20, -25], inf),
0.8
)
]);
p.play
)

Event play method.
Event나 다른 Environment가 use(function)메세지를 받으면, 그 즉시 이는 currentEnvironment가 되며, function을 계산하고, currentEnvironment의 원래 값을 다시 저장합니다.
이렇게 확인합니다.
currentEnvironment.at(keyName)
또는 ~keyName
다른 키값을 설정할때에는
currentEnvironment.put(keyNamem value)
이는 다음과 같습니다.
~keyName = value
여기서 ~keyName은 물론 저장된 키의 값, 위의 예제로 볼것같으면 ~sustain, 또는 ~dur등등이 되겠지요.
‘~Name'(environment)에 대해서는 다음에 다시 깊게 다루도록 하겠습니다.

다음은 Enevt play method를 정의한 예제입니다.
play {
if (parent.isNil) { parent = defaultParentEvent };
this.use { ~play.value };
}

위에 예제를 설명하자면 ~play에 저장되어 있는 값이 없다면 defaultParentEvent를 재생하라는 뜻입니다.

-Reference
SC Help file.


 












UNC Digital Arts Festival February 2010 — Call For Two-Channel Works

I wanted to let you know about a performance opportunity for any composers (faculty, students, or other) who may have interest in submitting a piece for our upcoming Digital Arts Festival which will be held at the University of North Carolina in February 2010.  One of the events is an all day open exhibition for which I am seeking two-channel electronic works from composers throughout the world.
Picture 1.png

FOR IMMEDIATE RELEASE:

In February 2010, the Institute of Arts and Humanities at the University of North Carolina at Chapel Hill will host a campus-wide festival entitled, “CHAT” (Collaborations: Humanities, Arts & Technology), that seeks to feature new works in the arts that incorporate digital technology.  As part of the festival, the Composition Area in the Department of Music at UNC announces a CALL FOR TWO-CHANNEL ELECTRO-ACOUSTIC AUDIO COMPOSITIONS (e.g., electronic or computer music—without video or visuals) for composers who wish to have a piece performed during the festival.  Pieces that are selected will be performed on February 18, 2010 at the “Open Art Exhibit” in Gerrard Hall.  Musical submissions will be reviewed and selected by the UNC composition faculty, Dr. Allen Anderson and Dr. Stephen Anderson.

Submission Specifications and Guidelines:

• Please submit two-channel (stereo) audio works only (e.g., left and right panning only—not 5.1 or 8 channel surround sound, or video works).

• The pieces may be of any length between 1-30 minutes.

• Pieces must be submitted on CD (please do not send tapes or any other kind of media format).  Include a brief composer biography and a short description of the piece with the completion date of the work.

• Works composed within the past 5 years are preferred.

• Composers of any age or nationality may submit materials.

• There is no financial compensation for the submitted works or performances.

• Submission materials will only be returned if the submitted material also includes a self addressed and pre-postage paid envelope.

• SUBMISSION DEADLINE:  December 10, 2009.

CHAT Digital Arts Festival information page: http://iah.unc.edu/chat/festival/festival
UNC Music Composition Area page: http://music.unc.edu/undergrad/Areas/composition

Please send all submissions to:

Dr. Stephen R. Anderson
UNC Composition Area
Department of Music, CB #3320
The University of North Carolina
Chapel Hill, NC 27599-3320
anderssr@email.unc.edu
http://artiststephenanderson.com


2009 Electroacoustic Juke Joint Call for Scores, USA

The Delta Music Institute at Delta State University is pleased to announce a call for submissions for the 3rd Annual Electroacoustic Juke Joint, a three-day festival of electronic music and art, to be held November 12-14, 2009 at the Bologna Performing Arts Center.

Music Submissions
Any composer regardless of age or nationality may submit up to two works for tape alone or instrument(s) and tape or electronics up to 8.1 channels, and video for consideration. Applicants are encouraged to bring their own performers when possible but individual percussion, piano, wind and brass performers are available.
Deadline: Scores must arrive by September 1, 2009. We will respond by September 12.
Entry Fee: None
Registration Fee: None
Attendance: Required
Submission: Submitted works must be on CD or DVD. Include a cover letter with the following information:
1) Contact information.
2) If performers are required, please indicate whether or not you will be able to provide players.
3) a statement confirming your attendance at the festival.
4) Short bio.
5) Score if applicable.
Submitted works can only be returned if an SASE in enclosed, or else they will be archived for future considerations.

Paper Submissions
Technical and research papers, lecture demonstrations, and workshop submissions that deal with music/multimedia and new technology are encouraged. Paper sessions are 20 minutes, including Q & A, each. Presenters may submit a maximum of two proposals.
Deadline: Papers must arrive by September 1, 2009. We will respond by September 12.
Entry Fee: None
Registration Fee: None

Attendance: Required

Submission: Submitted proposals should be a two page abstract with bibliography. Include a cover letter with the following information: 1) Contact information 2) Statement confirming your attendance 3) Short bio.
Submitted proposals can only be returned if an SASE in enclosed.

Send All Submissions to:
Mark Snyder
Delta State University
DSU Box 3114
1003 W. Sunflower Rd.
Cleveland, MS 38733

For More Information:
http://www.eajj.org
msnyder@deltastate.edu


Delta State University is a regional university with approximately 4,400 students. It is located in Cleveland, MS, and serves as an educational and cultural center of the Mississippi Delta. The Delta Music Institute, housed within the College of Arts and Sciences, is an independent center of recording arts and music industry studies offering a concentration of courses related to the B.A. in Music degree and the B.S. in Interdisciplinary Studies degree.