** Sox dd Cmix problems - desperate ! **

** Sox dd Cmix problems - desperate ! **

Post by David J Topp » Wed, 09 Nov 1994 12:10:59



Still on the road to Cmix ...

PROBLEM 1 - can't record a sound file

I try using the "dd" command from the Sound-HOWTO to record an 8k
sampled sound.  And I do in fact get a file which seems about the
right length.  But then when I try to play it with cat to

Quote:>/dev/audio I get nothing.

I can play other sound files.  I tested the mic, which works.

So I pretend it doesn't matter and plod on.  Which leads to ...

PROBLEM 2 - is sox really converting the files?

I try to use sox (from sunsite.unc.edu - which compiles fine - at
last) to convert this (and other) files into .snd files.  But I
don't know if it's working.  I try several methods from the TIPS
file for the coversion, like:

     sox file.au  -r 11025 -t ub file.snd     and
     sox sox -t ul -r 8012 file.au ...

But when I try to run Cmix on the files (ones created with the mic-
record-file-then-sox and the already-play-file-then-sox method) it
leads to ...

PROBLEM 3 - Cmix still (and may never) work ...

Here are the errors:

============================
input:  151552
name: sample.snd   sr: -0.000000   nchans: -2139062144  class: -
2139062144 sfd[fno] 3
This is an IRCAM soundfile.
Duration of file is -817346451728953199558656.000000 seconds.
---------> Cmix/mix<----------
Opening input file as unit 0
CMIX: malloc ovpeak buffer error

So it looks like the files I'm reading are incorrect ( == Sox
doesn't work ) or something else.

If anyone thinks they can help, I can post some more details about
the commands I used.  But I basically just took the straight from
the files.  If anyone knows commands that do work (for anything)
I'd love to hear about it.

Time for (what's the word?) ... ah yes ... sleep ... precious sleep

Thanks,

Dave Topper

 
 
 

** Sox dd Cmix problems - desperate ! **

Post by Robert J. D » Wed, 09 Nov 1994 20:41:45



: Still on the road to Cmix ...

: input:  151552
: name: sample.snd   sr: -0.000000   nchans: -2139062144  class: -
: 2139062144 sfd[fno] 3
: This is an IRCAM soundfile.
: Duration of file is -817346451728953199558656.000000 seconds.
: ---------> Cmix/mix<----------
: Opening input file as unit 0
: CMIX: malloc ovpeak buffer error

Did CMix compile OK? There could be several probs in the compilation
which may explain the problem. For example the use of the %f flag in
fscanf and printf instead of %lf for doubles ... Check that the math.h
header has been included too. Which system do you have? I think I have
cmix lying around on the system here (Sparcstation 10) so I could have a look.

Robert Dow
University of Edinburgh
Faculty of Music



 
 
 

** Sox dd Cmix problems - desperate ! **

Post by Harvey J. Ste » Mon, 14 Nov 1994 01:43:53




   PROBLEM 2 - is sox really converting the files?

   I try to use sox (from sunsite.unc.edu - which compiles fine - at

   last) to convert this (and other) files into .snd files.  But I

   don't know if it's working.  I try several methods from the TIPS

   file for the coversion, like:

        sox file.au  -r 11025 -t ub file.snd     and

        sox sox -t ul -r 8012 file.au ...

If you use the -V switch then it will tell you exactly what it thinks
the input is and what kind of output it's making.  This is in the man
page.

--
Dr. Harvey J. Stein
Berger Financial Research

 
 
 

** Sox dd Cmix problems - desperate ! **

Post by topp.. » Sat, 12 Nov 1994 15:14:31


Hello,

I'd love to hear from anyone who has cmix running under Linux.

  What files do you use.  I've tried dozens.

Thanks,

Dave Topper

 
 
 

1. ** Cmix / Sox -> PLEASE HELP **

Is there anyone out there who know's about Linux sound?  I'm about
ready to give up on this project.

I've been trying to get Cmix running on Linux.  I downloaded
appropriate linux file from princeton.edu.  I copied it into the
musr directory, but that's about as far as I can get.  Here are
some stories ...

Just trying to do a simple series of commands, you know, to see if
it works.  I take a score file right out of the intro.man1 file:

     input("english.au")
     output("test")
     setline(0,0,1,1,10,1,11,0)
     mix(8.6,0,21,1,0)
     input("english.au")
     setline(0,0,5,1,11,0)
     mix(0,0,11,1,0)

The file "english.au" is that soundfile of Linux Torvalds saying
... "Hello, my name is Linus Torvalds ... " and so on.

The file "test" is a blank file that I created using sfcreate:

     sfcreate -r 22000 -c 1 -i test

But then when I try "mix < my.data" I get the following:

     ============================
     input:  151552
     name: english.au   sr: 18241744253896912762044416.000000  
     nchans: 1869112675  class: -310612625 sfd[fno] 3
     Duration of file is 0.000000 seconds.
      ---------> Cmix/mix<----------
     Opening input file as unit 0
     CMIX: malloc ovpeak buffer error

Needless to say, the file "test" is unaltered.  Something is
clearly wrong here but I don't know what.

Perhaps, I thought to myself, the sound file format is incorrect.
So I go and check out the Sox program.  The file I downloaded was
Lsox... from tsx-11.mit.edu.

But the problems continue...

When trying to compile the sox programs, I get errors all over the
place.  Yes, I apply the patch as explained in the INSTALL file.
And yes, I move the appropriate files to the Sox directory.

I tried just about every concievable combination for the Makefile,
both the original and ones made from Makefile.unx.  But nothing
ever seems to work.
So then I check out the Linux software map (LSM) and see if my
version of Sox is outdated for the new sound drivers.  There's no
mention of it.

Is there anyone out there who can help, or direct me to someone who
can help.  I've been working on getting Cmix running on Linux for
a LONG time now, but never seem to get anywhere.

Is there anyone out there who has even managed to get Cmix running
on Linux?

Thanks (from the land of exhaustion and desperation)

Dave Topper

P.S.  I noticed, in previous attempts at this, that other sources
for Cmix (e.g., cmix.sparc) have many other directories with what
look like some added features.  Any way to port this stuff?

2. Help: Bogus Packet Size msg on n/w card...

3. User timeout

4. Desperate Times, Desperate Measures.

5. Linux mentioned on pirate shortwave radio

6. Changing all date fields from mm/dd/yy to dd/mm/yy

7. Problem with cdrom

8. Socks.conf with two socks servers?

9. dd | remsh dd under AIX 1.2

10. dd command: extract single files out of a dd-file

11. Available: Perl-5+SOCKS, mirror.pl+PASV+SOCKS, more perl5 fixes.

12. To dd or not to dd that is the question!