[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] [Error] AtsFile.new("sounds/a11wlk01.ats").loadToBuffer



Dear SC advanced Users,

My SC3 is the most recent version.
And when I excute the following command line from the AstSynth help file,
there is an error.

a = AtsFile.new("sounds/a11wlk01.ats").loadToBuffer

The following lines are the error message.

ERROR: Primitive '_FileLength' failed.
Failed.
RECEIVER:
Instance of AtsFile {    (0528C6D0, gc=48, fmt=00, flg=00, set=05)
  instance variables [19]
    fileptr : nil
    header : nil
    data : nil
    numFrames : nil
    numPartials : nil
    sndDur : nil
    filename : "sounds/a11wlk01.ats"
    filetype : nil
    buffer : nil
    server : instance of Server (06708200, size=44, set=6)
    freqs : nil
    amps : nil
    phases : nil
    parNoi : nil
    bandNoi : nil
    critBands : nil
    parTables : nil
    signal : nil
    bige : nil
}
CALL STACK:
    MethodError:reportError   052E5270
        arg this = <instance of PrimitiveFailedError>
    Nil:handleError   052E5210
        arg this = nil
        arg error = <instance of PrimitiveFailedError>
    Thread:handleError   052E51B0
        arg this = <instance of Thread>
        arg error = <instance of PrimitiveFailedError>
    Object:throw   052E5150
        arg this = <instance of PrimitiveFailedError>
    Object:primitiveFailed   052E50F0
        arg this = <instance of AtsFile>
    File:pos_   052E5090
        arg this = <instance of AtsFile>
        arg toPos = 0
    AtsFile:readHeader   0528D7F0
        arg this = <instance of AtsFile>
        var magic = nil
        var len = nil
        var arr = nil
    AtsFile:init   052E5030
        arg this = <instance of AtsFile>
        arg path = "sounds/a11wlk01.ats"
        arg serv = <instance of Server>
    Meta_AtsFile:new   0528D960
        arg this = class AtsFile
        arg path = "sounds/a11wlk01.ats"
        arg server = nil
        var file = nil
        var inserver = <instance of Server>
    < closed FunctionDef >  (no arguments or variables)
    Interpreter:interpretPrintCmdLine   052E4F10
        arg this = <instance of Interpreter>
        var res = nil
        var func = <instance of Function>
    Process:interpretPrintCmdLine   052E4EB0
        arg this = <instance of Main>


What can I do against this error?


Best Regards,
Prko