sfrecord~ Problem??


    Apr 27 2006 | 6:14 pm
    I don't know if this is a problem or if I am doing something silly... but I set up a little patch which uses sfrecord~ but the directory under which the files are saved in is changing all the time. Sometimes it's saving under the Max/MSP folder then the Max help-file folder then the folder under which the patch is itself saved...
    I know this problem has been discussed in the forum and the below solution was given. I was wondering though why it is changing folders, seemingly at random??? and is there a way to avoid having to use the below patch...
    I apologize if this is too simple a question, but it confuses the hell out of me. Plus having to hunt down my samples each time I start the thing is pretty annoying too!!!

    • Apr 28 2006 | 5:26 am
      you write the extension aiff with (sprintf %s%s%ld.aiff). why do you
      need the "aiff" a second time (pack open s aiff)?
      have a look at this:
      max v2;
      greetings
      peter
    • Apr 28 2006 | 6:27 pm
      thanks... but I must say I don't quite understand the whole sprintf object yet... I have no background other than Max and that only for a couple of months.
      When I use your patch it creates a file (in the correct folder) even though I am not recording and all the files are corrupt. Since I don't really understand what is going on I don't know how to tackle the problem.
      Why would sfrecord make a file when it doesn't get a 1 to start recording???
    • Apr 30 2006 | 2:40 pm
      Martin Ritter wrote:
      > I don't know if this is a problem or if I am doing something silly...
      > but I set up a little patch which uses sfrecord~ but the directory
      > under which the files are saved in is changing all the time.
      search the documentation and archive for default path, in max its
      changing (for good reasons) dependent on what you open before, which
      explains the behaviour.
      Thats why you should open splay~ ALWAYS with a COMPLETE path. Then
      you'll never run into that problem.
      > and is there a way to avoid having to use the below patch...
      Yes but they are all much more complicated than that simple solution,
      its worth to understand it...
      > Plus having to hunt down my samples each time I start the thing is
      > pretty annoying too!!!
      Sometimes annyoance is, what will force you to learn. Its always worth
      it, and the best way to overcome the annoyance...
      It will save you a lot of time in the future...
      Stefan
      --
      [][] [][][] [][] [][][]
      [][][][][][][][][][][][][][][]
      Stefan Tiedje
      Klanggestalter
      Electronic Composition
      &
      Improvisation
      /~~~~~
      \ /|() ()|
      ))))) )| | |( \
      /// _/)/ )))))
      ___/ ///
      -------------------------x----
      --_____-----------|-----------
      --(_|_ ----|-----|-----()----
      -- _|_)----|-----()-----------
      ----------()------------x-----
      14, Av. Pr. Franklin Roosevelt,
      94320 Thiais, France
      Phone at CCMIX +33-1-57 42 91 09
    • May 01 2006 | 8:38 am
      Martin Ritter wrote:
      > Why would sfrecord make a file when it doesn't get a 1 to start
      > recording???
      It needs to open a file to start recording. If you don't record, the
      file still will be there without any content. Just don't open it if you
      don't want to record...
      Stefan
      --
      [][] [][][] [][] [][][]
      [][][][][][][][][][][][][][][]
      Stefan Tiedje
      Klanggestalter
      Electronic Composition
      &
      Improvisation
      /~~~~~
      \ /|() ()|
      ))))) )| | |( \
      /// _/)/ )))))
      ___/ ///
      -------------------------x----
      --_____-----------|-----------
      --(_|_ ----|-----|-----()----
      -- _|_)----|-----()-----------
      ----------()------------x-----
      14, Av. Pr. Franklin Roosevelt,
      94320 Thiais, France
      Phone at CCMIX +33-1-57 42 91 09