scide: LookupDialog - redo lookup on classes after partial lookup
[supercollider.git] / SCClassLibrary / Common / Control / asScore / asScore.sc
blobede0ac13be5faf2dbb094e8188065b36dde04998
1 + Pattern {
3         asScore{|duration=1.0, timeOffset=0.0, protoEvent|
4                 var player;
5                 ^ScoreStreamPlayer.new.makeScore(this.asStream, duration, protoEvent, timeOffset);
6         }
11 + Object {
13         render { arg path, maxTime=60, sampleRate = 44100,
14                         headerFormat = "AIFF", sampleFormat = "int16", options, inputFilePath, action;
16                 var file, oscFilePath, score;
17                 oscFilePath = "temp_oscscore" ++ UniqueID.next;
18                 score = this.asScore(maxTime);
19                 score.recordNRT(
20                         oscFilePath, path, inputFilePath, sampleRate, headerFormat, sampleFormat,
21                         options, "; rm" + oscFilePath, action: action;
22                 );
23         }
27 + Event {
28 asOSC {
29         var score;
30         score = Pseq([this]).asScore.score;
31         ^score.copyRange(1, score.size - 2);
32  }