Blitz (150/176)

From:amorel
Date:30 Jul 2001 at 22:13:45
Subject:Re: Drawing a sample

On 31-Jul-01, David McMinn wrote:

C=If you print out the values of xsam and teller after the loop has finished
C=what are their values (and what are they like in comparison to 620 and the
C=length of the sample)?

Either 620(for xsam) and/or not far less(for teller). As the sample gets drawn
to the right inner edge of the window.

C=I was also just wondering....are samples ever stored as words on the Amiga?
C=You know, something like 1 byte for left channel and then 1 byte for right
C=channel? Hmm, maybe not, I don't remember too many samples that use >1
C=channel.

The length is given in words in the sound structure, but that`s just to be
able to put larger numbers in there I`d say. And the bytes I read in appear to
be within 0-255.

I`m still at a loss. I might just reside to using numbers instead, but how can
I be sure the whole sample is there if I can`t get it drawn fully.

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