Blitz (76/176)

From:amorel
Date:22 Jul 2001 at 20:58:34
Subject:Re: offset

On 22-Jul-01, John Mason wrote:

C=Try "for teller = 0 to soundsize-1" -- since you're starting at 0,
C=the last byte in the sample will be numbered one less than the actual
C=length of the file (hopefully :) )..

I tried this before I sent the email:

if teller=1 to soundsize
soundarr.l(teller)=xbpeeksound(soundnr,teller-1)
etc....

Which at least does have the same effect at the end, doesn`t it?
But that gave the same error.

C=Also, you'd use 1/4 the amount of RAM if you dim soundarr.l as soundarr.b
C=since your sample is (I'm assuming) only 8 bit and not 32 bit.

Yeah, but I first need to get it working and I reckoned using .l won`t gimme
much problems.

Regards



-*AMOREL*- musician/programmer \ \ Amiga 1200T/PPC/040/32/6g more shit
http://www.xs4all.nl/~amorel \ \ Good old C=64 and an attitude!
Running QNX rtp, linux, AmigaOS \ \ / /Half a decent studio
Music: www.mp3.com/vopak \ \/ /Contact me for bookings,
www.xs4all.nl/~amorel/amusic.html \/\/productions,demos,programs...

-*R u an AOL l33t? ----------> Amoralplayer1.5, a no fuss audioplayer*-

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie