Subject: Re: 3 SAOL questions, was Re: [linux-audio-user] What's up with SAOL?
From: Paul Winkler (pw_lists_AT_slinkp.com)
Date: Wed Jan 23 2002 - 01:29:56 EET
On Tue, Jan 22, 2002 at 01:18:41PM -0800, John Lazzaro wrote:
> > Paul Winkler <pw_lists_AT_slinkp.com> writes:
> >
> > 3. Any idea why the attached saol/sasl compiles but segfaults
>
> Yes :-). The default options for sfront are non-compliant with the
Thanks John, I posted a working version late last night in the "What's
up with SAOL?" branch of this thread - I should have kept it here and
given it a better title.
The "debugging" section of your book is pretty good! I used printf's
to figure out what my index was doing, and changed bits of the instr
until I figured out *why*. Turns out that tableread, unlike tablei in
csound, doesn't clip out-of-bounds table indeces, which I was
generating deliberately. So I added calls to min() and max() to clip
it manually. And also there was a spot where I'd somehow done a divide
when I should have multiplied (even though it was correct in the
csound version).
--paul winkler home: http://www.slinkp.com music: http://www.reacharms.com calendars: http://www.calendargalaxy.com
This archive was generated by hypermail 2b28 : Wed Jan 23 2002 - 01:17:50 EET