| The file seems perfectly OK (though I haven't done a complete chunk
arithmetic check yet - but if there were serious problems they would
have shown up). My WinSound 3.53 scans it without problems, and Sound
Forge also read it corectly. If Wavelab can't, send them a sarky message
and ask for a refund.
To use the commandline sndinfo (assuming Win32 OS), you would need to
wrap the filename in quotes:
csound -U sndinfo "BOSEN mf B4 st"
I haven't tested your orc yet - I have to switch to Win95 to use the
card that has a MIDI adapter on it...
The file does contain several auxiliary chunks, for the loop
information, and an APPL chunk, and there is still software out there
(especially on UNIX systems!) that does not know about such things.
Although these long filenames with spaces are legal in Win32 systems, it
may still be a good practice to convert them to a single string with
underscores, and actually use the aif extension. Csound reads the header
to determine the format, as all good programs do (including SoundForge,
obviously), but some rely only on the extension as a starting point. For
example, if a file with an aif extension is actually in WAVE format,
then strictly speaking it is an incorrect file. Your case against
Wavelab is that much weaker if the file doesn't have the required
extension.
Also, the extensions are very useful with wildcard filters for sorting,
copying, GUI file selectors,etc.
Richard Dobson
Jim Smitherman wrote:
>
> thanks for your interest Richard, here's a file. It opens fine in Cool Pro,
> but in fact Wave Lab claims all these aiff files are corrupted, and won't
> open them at all. I played around a little with sox, but it's a bit deep
> for me right now.
>
> I can easily change to wav, but I wonder what kind of change I would make in
> the orc file to accomidate that? I'll check the manual of course, but I'm
> not quite sure where to look
>
> ----- Original Message -----
> From: Richard Dobson
> To: Jim Smitherman
> Cc: Csound List
> Sent: Friday, June 18, 1999 6:04 PM
> Subject: Re: more piano
>
> > I seem to be doing a lot of fiddling with file formats these days... if
> > you have a reasonably short example (eg less than 1MByte), you can send
> > it to me as an email attachment (try zipping it with Winzip first), and
> > I will take a long hard look at it...
> >
> > and yes, converting to WAVE might well be a useful thing to do, if you
> > are running a PC.
> >
> > Richard Dobson
> >
> > PS SOX cannot always be trusted. The version that came with my Redhat
> > 5.2 Linux system puts a chunk size in the initial FORM part of the AIFF
> > header that is larger than the overall file size!
> >
> >
> >
> > Jim Smitherman wrote:
> > >
> > > I can't get sndinfo to read any of the files in, no matter how I try the
> > > command line as given in the help file, I get for instance
> > >
> > > C:\Csound\SoundIn>csound -U sndinfo test BOSEN mf A0 st
> > > DOS/4GW Protected Mode Run-time Version 1.97
> > > Copyright (c) Rational Systems, Inc. 1990-1994
> > > Failed to find DB file
> > >
> > > I don't have 'sox' . .
> > >
> > > this is very frustrating. would simply changing the aif files to wav
> files
> > > be a good thing I wonder?
> >
> > --
> > Test your DAW with my Soundcard Attrition Page!
> > http://wkweb5.cableinet.co.uk/rwd (LU: 19th May 1999)
> > CDP: http://www.bath.ac.uk/~masjpf/CDP/CDP.htm (LU: 6th May 1999)
>
> ------------------------------------------------------------------------
> Name: BOSEN mf B4 st.zip
> BOSEN mf B4 st.zip Type: Zip Compressed Data (application/x-zip-compressed)
> Encoding: base64
--
Test your DAW with my Soundcard Attrition Page!
http://wkweb5.cableinet.co.uk/rwd (LU: 19th May 1999) |