crucial library problems

View: New views
7 Messages — Rating Filter:   Alert me  

crucial library problems

by mrmrShoes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: crucial library problems

by nescivi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hiho,

On Wednesday 09 July 2008 19:49:31 mrmrShoes 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?

Getting the source from svn may mean it is not a stable version...
It is safer to install from the source package in the downloads section on
sourceforge.

If you update to the latest svn and the problem is still there, that would
push the developers to check the problem and fix it.
(or state the exact svn version (type svn info in the command line), so we
know which version contains the error, and we might figure whether or not it
has been fixed since).

These are just some general statements, hopefully crucial can say a bit more
about the exact problem.

sincerely,
Marije

_______________________________________________
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/

Re: crucial library problems

by felix-38 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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/


Re: crucial library problems

by mrmrShoes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hia

Cheers Marije and Felix for the pointers.
I didn't realize that the last 5 examples were for sc2, my bad. I think i'm still missing some classes, i'll install the sable version from sourceforge later today and see how i get on.
cheers for the help

mrshoes

On Thu, Jul 10, 2008 at 11:29 AM, felix <felix@...> wrote:

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/



Re: crucial library problems

by mrmrShoes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hia again

I've updated sc3 to svn version 7670 and it seems i have broken the gui calls on the crucial classes. I have not changed my setting for swingosc (0.60) The gui calls were working before i updated. 
for example when i run this code from the sample help file

(

p = Patch({ arg sample;

PlayBuf.ar(sample.numChannels,

sample.bufnumIr,

sample.bufRateScaleKr,

1.0,

0.0,

1.0)

},[

Sample("a11wlk01.wav")

]);

p.gui;

)

i get the following error

ERROR: Message 'setTopLeftBounds' not understood.
RECEIVER:
Instance of JSCWindow {    (B77BE9B0, gc=90, fmt=00, flg=00, set=05)
  instance variables [19]
    dataptr : Integer 1030
    name : "< Patch("f1284520277") >"
    onClose : instance of Function (B77DA690, size=2, set=1)
    view : instance of JSCScrollTopView (B6F21E00, size=44, set=6)
    userCanClose : true
    alwaysOnTop : false
    drawHook : nil
    acceptsMouseOver : false
    acceptsClickThrough : true
    server : instance of SwingOSC (B777FC40, size=20, set=5)
    id : Integer 1030
    bounds : instance of Rect (B78ED760, size=4, set=2)
    acResp : instance of OSCpathResponder (B77E8610, size=5, set=3)
    penID : nil
    visible : false
    resizable : true
    border : true
    pendingDraw : false
    wasOpened : false
}
ARGS:
Instance of Rect {    (B78ECDC0, gc=8C, fmt=00, flg=00, set=02)
  instance variables [4]
    left : Float 24.974969999999985   4038F997 A24894C0
    top : Float 293.3498966254441   40725599 2D343436
    width : Float 974.05006   408E7066 85DB76B4
    height : Integer 151
}
CALL STACK:
    DoesNotUnderstandError:reportError   B78CC840
        arg this = <instance of DoesNotUnderstandError>
    Nil:handleError   B78CD740
        arg this = nil
        arg error = <instance of DoesNotUnderstandError>
    Thread:handleError   B78CEEE0
        arg this = <instance of Thread>
        arg error = <instance of DoesNotUnderstandError>
    Object:throw   B78CF420
        arg this = <instance of DoesNotUnderstandError>
    Object:doesNotUnderstand   B78CF480
        arg this = <instance of JSCWindow>
        arg selector = 'setTopLeftBounds'
        arg args = [*1]
    MultiPageLayout:resizeToFit   B77BB450
        arg this = <instance of MultiPageLayout>
        arg reflow = false
        arg center = true
        var fs = <instance of Rect>
        var b = <instance of Rect>
        var wb = <instance of Rect>
        var wbw = 974.05006
        var wbh = 151
    AbstractPlayerGui:gui   B78BB840
        arg this = <instance of PatchGui>
        arg lay = nil
        arg bounds = nil
        arg args = [*0]
        var layout = <instance of MultiPageLayout>
    Interpreter:interpretPrintCmdLine   B78BDF60
        arg this = <instance of Interpreter>
        var res = nil
        var func = <instance of Function>
        var code = "(


p = Patch({ arg sample;
..."
    Process:interpretPrintCmdLine   B78B5960
        arg this = <instance of Main>

even when i change the gui to play this works but stills gives an error. the play call works for other classes without errors.

InstrSynthDef built: f632499095*832294767
Patch("f632499095")
ERROR: Message 'didSpawn' not understood.
RECEIVER:
Instance of Sample {    (B77C0550, gc=94, fmt=00, flg=00, set=05)
  instance variables [21]
    buffer : instance of Buffer (B6F09F80, size=7, set=3)
    patchOut : nil
    readyForPlay : true
    server : instance of Server (B7780690, size=43, set=6)
    size : Integer 130865
    numChannels : Integer 1
    sampleRate : Integer 44100
    forArgi : Integer 0
    bufnumControl : instance of OutputProxy (B77F9B50, size=9, set=4)
    soundFilePath : "sounds/break"
    name : "break"
    startFrame : Integer 0
    endFrame : Integer 130865
    soundFile : instance of SoundFile (0805C4F0, 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:
Instance of Synth {    (B6F0A4C0, gc=94, fmt=00, flg=00, set=03)
  instance variables [6]
    nodeID : Integer 1000
    server : instance of Server (B7780690, size=43, set=6)
    group : instance of Group (08051410, size=5, set=3)
    isPlaying : false
    isRunning : false
    defName : "f632499095*832294767"
}
CALL STACK:
    DoesNotUnderstandError:reportError   B77D6B20
        arg this = <instance of DoesNotUnderstandError>
    Nil:handleError   B77D6580
        arg this = nil
        arg error = <instance of DoesNotUnderstandError>
    Thread:handleError   B77D5DA0
        arg this = <instance of Thread>
        arg error = <instance of DoesNotUnderstandError>
    Object:throw   B77DBC80
        arg this = <instance of DoesNotUnderstandError>
    Object:doesNotUnderstand   B77D6A60
        arg this = <instance of Sample>
        arg selector = 'didSpawn'
        arg args = [*1]
    ArrayedCollection:do   B77D63A0
        arg this = [*1]
        arg function = <instance of Function>
        var i = 0
    Patch:didSpawn   B77D5EC0
        arg this = <instance of Patch>
    ArrayedCollection:do   B77D67C0
        arg this = [*4]
        arg function = <instance of Function>
        var i = 3
    MixedBundle:doFunctions   B77D6820
        arg this = <instance of MixedBundle>
    Function:awake   B6E91680
        arg this = <instance of Function>
        arg beats = 1215714936.869275
        arg seconds = 1215714936.869275
        arg clock = class SystemClock
        var time = 1215714936.869275

I've updated sc because i was missing the instrSpawner2 class, which is still missing. the help file is there but no class file.  has anyone else had the same problems.
any help would be greatly appreciated 
thanks in advance
mrmrshoes

On Thu, Jul 10, 2008 at 2:40 PM, David Hughes <mr.mr.shoes@...> wrote:
Hia

Cheers Marije and Felix for the pointers.
I didn't realize that the last 5 examples were for sc2, my bad. I think i'm still missing some classes, i'll install the sable version from sourceforge later today and see how i get on.
cheers for the help

mrshoes


On Thu, Jul 10, 2008 at 11:29 AM, felix <felix@...> wrote:

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/




Re: crucial library problems

by felix-38 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I'm sorry, that one is my fault.  re-update now and these should be resolved


On Thu, Jul 10, 2008 at 8:59 PM, David Hughes <mr.mr.shoes@...> wrote:

ERROR: Message 'setTopLeftBounds' not understood.
RECEIVER:
Instance of JSCWindow

this is because I added a method to SCWindow that isn't yet added to JSCWindow

my bad.  I should add a check that yells at me if the interfaces aren't identical.



ERROR: Message 'didSpawn' not understood.
RECEIVER:
Instance of Sample

another very recent change that didn't get checked in correctly.



I've updated sc because i was missing the instrSpawner2 class, which is still missing.

I've removed the help file.


 
the help file is there but no class file.  has anyone else had the same problems.
any help would be greatly appreciated 
thanks in advance
mrmrshoes



Re: crucial library problems

by mrmrShoes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hia felix

Thanks alot for that.
I'll update now.
Thanks again.

mrmrshoes