From: | John Mason |
Date: | 23 Jul 2001 at 01:54:26 |
Subject: | Re: offset |
Hi Amorel,
> 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....
Fair enough, but shouldn't it be:
soundarr.l(teller-1)=xbpeeksound(soundnr,teller-1)?
Unless that was just a typo...
> 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.
Unless you try and play it like that, I can't see it being much of a
problem, I guess.
John Mason -- ICQ 17931257
http://chebucto.ns.ca/~ah210/Profile.html
Home of Wibby, NewStuff, and Reminder!
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie