Menu

#3 Dirty sox?

open
nobody
None
5
2001-08-28
2001-08-28
No

What's the secret to getting SoundStudio to work? As
shipped with RedHat 7.1 I get:

HardHat:es> studio
/usr/local/bin/sox: Can not specify sample rate effects
when input and output rate are equal

With the CVS version of studio I get:
HardHat:es> ~/cvs/studio/SoundStudio/studio
/usr/local/bin/sox: Premature EOF on .wav input file

I've got the cvs and release versions of sox and
studio. None of the 4 combinations seem to allow a
basic load, edit, save sequence to work any more.
What's up?

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Are you trying to save a mono soundfile, by chance? I got
    the same error when trying to save a mono wav, in either an
    altered or unaltered state. I made a change to file.tk that
    makes it work - it seems to have been the call to sox
    12.17.1 (12.17.2 doesn't work with Studio AFAIK). If
    someone can point me to what I need to learn in order to
    make this change public, please let me know.

     
  • Paul Baker

    Paul Baker - 2001-11-24

    Logged In: YES
    user_id=383969

    I'm running RH 7.0 and having the same problem.  It'll save
    

    a file, but they're always only 44 bytes long.

    Here's the msg I got when I tried to load a file:

    child process exited abnormally
    while executing
    "exec $FILE(Sox) -V -t .$SAMPLE(format) -$SAMPLE(style)
    -$SAMPLE(size) -r $SAMPLE(rate) -c $SAMPLE(chnl) $loadfile
    -t .raw -$LOAD(style) -$LOAD(size..."
    (procedure "Load" line 153)
    invoked from within
    "Load"
    invoked from within
    ".menubar.file.menu invoke active"
    ("uplevel" body line 1)
    invoked from within
    "uplevel #0 [list $w invoke active]"
    (procedure "tkMenuInvoke" line 47)
    invoked from within
    "tkMenuInvoke .menubar.file.menu 1
    "
    (command bound to event)

    I'm still looking, but I don't know how to fix it.  Any
    

    help will be appreciated. Thanks

     
  • Paul Baker

    Paul Baker - 2002-01-07

    Logged In: YES
    user_id=383969

    I finally got it to work in RH 7.0. Hadn't played with it
    for a while, but the other day I edited
    /usr/local/bin/studio so that it'd use the version of sox
    that came with SoundStudio, and that took care of it.

    I checked the man page for the included version of sox
    against the one on my system. There are some minor(?)
    differences in the order of options. I wouldn't have
    thought it should have mattered, but it works with the older
    version.

    Now it loads, records and saves properly, as far as I've
    tested it.

    What was the change in the tk file?