Re: parsing bugs?

From: Eric Scheirer (eds@media.mit.edu)
Date: Tue Feb 10 1998 - 11:03:53 EST


Steven Curtin wrote:
> I was wondering what the timetable for fixing the "invalid character"
> message for the Windows implementation is. I've also been finding that
> having spaces between lines in a .sasl file will cause the compiler to
> crash/exit in Windows. It's nice to be able to add white space to a .sasl
> file for readability. It also seems to crash if you don't have the first
> event start at time zero, but this could be something else.

I'm fixing and adding things on a heavy schedule for the next
four weeks. I'm hopeful to take 'saolc' from 85% complete/
compliant and 75% bug-free, which it is now, to more like
98% complete/compliant and 90% bug-free in this time. I wasn't
planning to release anything until about the second week of
March.

Do any of these bugs prevent you from working (ie, crashes with
no apparent workarounds), or are they mostly annoying? If
you have a showstopper, I'll fix it and release a patch ASAP.

> Also, how do you turn a sasl/saol file pair into a bitstream file? Is
> there a utility for this somewhere?

All the source code for doing this is in the public source code
release. Do 'make sa_encoder' in Unix or use the following
files in a win32 project:

  sa_encode.cpp sa_encode.yy.c saol_tok_table.cpp bitstream.cpp
  aifif.c saol_score.c byteswap.c IEEE80.c

Then the usage looks like this:

> sa_encoder foo.mp4
Chunk types: 1=SAOL 2=SASL 3=sample 4=MIDI 5=SASBF (0=done)
Type, name: 1 claps.saol
Incorporate sound file 'clap.aiff'? y
Read 2804 samples->
Chunk types: 1=SAOL 2=SASL 3=sample 4=MIDI 5=SASBF (0=done)
Type, name: 2 claps.sasl
Chunk types: 1=SAOL 2=SASL 3=sample 4=MIDI 5=SASBF (0=done)
Type, name: 0
Include sa_symbol table? n

For each 'chunk', you give a type and a filename. If you
include the symbol table, the bitstream is slightly larger,
and the decoded orchestra looks more like the original. If
not, the bitstream is slightly smaller, and all the names of
variables and instruments are gone from the orchestra.

Best,

 -- Eric

>
> Steve C
>
> --------------------------------------------------------------
> Steven Curtin
> http://www.emf.org/people_curtin.html
> Lucent Technologies - Bell Labs Innovations
> rm. 3C-208, 200 Laurel Ave S
> Middletown, NJ 07748-4801 U S A
> ph: (732)957-2996 fax: (732)957-6878
> --------------------------------------------------------------

-- 
+-----------------+
|  Eric Scheirer  |A-7b5 D7b9|G-7 C7|Cb   C-7b5 F7#9|Bb  |B-7 E7|
|eds@media.mit.edu|      < http://sound.media.mit.edu/~eds >
|  617 253 0112   |A A/G# F#-7 F#-/E|Eb-7b5 D7b5|Db|C7b5 B7b5|Bb|
+-----------------+



This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 11:46:32 EST