« Return to Thread: crucial library problems

Re: crucial library problems

by felix-38 :: Rate this Message:

Reply to Author | View in Thread


Do you mean the 5 examples at the bottom of the page that are commented out ?

Those are commented out and are not supposed to work. 
They were examples from the SC2 era that I thought I might convert to SC3 at some point.

I'll remove them.

thanks for pointing these out

f;lix





On Thu, Jul 10, 2008 at 1:49 AM, mrmrShoes <mr.mr.shoes@...> wrote:

Hia.
I've been looking at the crucial library and have had some problems running
the last four examples( the first half works fine) of the Sample help file.
It seems that i have a couple of missing classes for some reason. they are
Enveloper and ReTrigger2. I installed sc 3.2 from svn a couple of weeks ago
as show by the swiki for 32bit Ubuntu. i know the crucial library is bundled
with 3.2 so i can't see why i have a couple of missing classes. could it be
somthing i missed while installing with scons?
The third example works as far as firing up the gui but i get this error
I tried to change the argument for env.perc to releaseTime but still no
luck.

WARNING: keyword arg 'release' not found in call to Meta_Env:perc
a PatchGui
ERROR: Message 'signal' not understood.

ERROR: Instr build failed; Instr("f1363732382", {arg gate,env,sample;

var p;

p =
PlayBuf.ar(sample.signal,sample.sampleRate,sample.pchRatioKr,0,0,sample.end);

Enveloper2.ar(p,gate,env,sample.numChannels)

}, [ TrigSpec(0.0, 1.0, 'linear', 0.0, 0.0, ""), EnvSpec(Env([ 0, 1, 0 ], [
1, 1 ], 'lin', nil, nil)), SampleSpec.new ], nil)
Inputs:
       gate: a Stream2Trig
       env: an Env
       sample: Sample("break", 1.347943698134, 0, 130865)
Args passed into Instr function:
       gate: an OutputProxy
       env: an Env
       sample: Sample("break", 1.347943698134, 0, 130865)

Clearing AbstractPlayer SynthDef cache
ERROR: Message 'signal' not understood.
RECEIVER:
Instance of Sample {    (B78B1C80, gc=80, fmt=00, flg=00, set=05)
 instance variables [21]
   buffer : nil
   patchOut : nil
   readyForPlay : false
   server : nil
   size : Integer 130865
   numChannels : Integer 1
   sampleRate : Integer 44100
   forArgi : Integer 2
   bufnumControl : nil
   soundFilePath : "sounds/break"
   name : "break"
   startFrame : Integer 0
   endFrame : Integer 130865
   soundFile : instance of SoundFile (B79A0460, size=7, set=3)
   beats : Float 4.0   40100000 00000000
   tempo : Float 1.347943698133969   3FF5912D 69455AE7
   beatsize : Float 32716.5   40DFF320 00000000
   pchk : nil
   beatsizek : nil
   tempoi : nil
   end : Integer 130865
}
ARGS:
CALL STACK:
       DoesNotUnderstandError:reportError   B7991E60
               arg this = <instance of DoesNotUnderstandError>
       Nil:handleError   B6FD02A0
               arg this = nil
               arg error = <instance of DoesNotUnderstandError>
       Thread:handleError   B6FC38E0
               arg this = <instance of Thread>
               arg error = <instance of DoesNotUnderstandError>
       Object:throw   B6F8DB50
               arg this = <instance of DoesNotUnderstandError>
       InstrSynthDef:buildUgenGraph   B78DE2E0
               arg this = <instance of InstrSynthDef>
               arg argInstr = <instance of Instr>
               arg args = [*3]
               arg outClass = class Out
               var result = nil
               var fixedID = ""
               var firstName = nil
               var isScalarOut = nil
       InstrSynthDef:build   B78DE380
               arg this = <instance of InstrSynthDef>
               arg instr = <instance of Instr>
               arg args = [*3]
               arg outClass = class Out
       Patch:asSynthDef   B6F8EDB0
               arg this = <instance of Patch>
       AbstractPlayer:loadDefFileToBundle   B78DE500
               arg this = <instance of Patch>
               arg bundle = <instance of MixedBundle>
               arg server = <instance of Server>
               var def = nil
               var bytes = nil
               var dn = nil
       AbstractPlayer:prepareToBundle   B78DE5A0
               arg this = <instance of Patch>
               arg agroup = <instance of Group>
               arg bundle = <instance of MixedBundle>
               arg private = false
               arg bus = nil
       AbstractPlayer:prPlay   B78DE640
               arg this = <instance of Patch>
               arg atTime = nil
               arg bus = nil
               arg timeOfRequest = 1215645463.036778
               var bundle = <instance of MixedBundle>
       AbstractPlayer:play   B78DE6E0
               arg this = <instance of Patch>
               arg group = nil
               arg atTime = nil
               arg bus = nil
               var timeOfRequest = 1215645463.036778
       SynthConsole:doPlay   B6F8F290
               arg this = <instance of SynthConsole>
       JSCButton:doAction   08126520
               arg this = <instance of JSCButton>
               arg modifiers = 16
       < FunctionDef in Method Function:defer >  (no arguments or variables)
       Scheduler:seconds_   B78DE900
               arg this = <instance of Scheduler>
               arg newSeconds = 1215645463.036753
               var delta = nil
               var item = <instance of Function>
       Meta_AppClock:tick   0805B360
               arg this = class AppClock
...

if anyone could point me in the right direction that would be great.
thanks in advance

mrmrshoes

--
View this message in context: http://www.nabble.com/crucial-library-problems-tp18373248p18373248.html
Sent from the Supercollider - User mailing list archive at Nabble.com.


_______________________________________________
sc-users mailing list

info (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

 « Return to Thread: crucial library problems

LightInTheBox - Buy quality products at wholesale price!