[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ensoniq Question
- Subject: Re: Ensoniq Question
- From: mbusse@amiganet.chi.il.us (Marco Busse)
- Date: 25 Feb 93 21:38:24 CST
- Newsgroups: comp.sys.apple2
- Organization: Amiga Network Information Systems
- References: <shaner.730194067@extro.ucc.su.OZ.AU>
shaner@extro.ucc.su.OZ.AU (Shane Richards) writes:
>
> i have been reading the GS Hardware reference and doing some
>test coding. Would I be right in saying that if I have a soundwave between
>16k & 32k it has to sit either at the 0k mark or the 32k mark in the
>sound ram (i.e you couldn't simply put it at 0600). And that if I had
>a soundwave which was between 8k and 16k that it would have to sit at either
>the 0k, 16k, 32k, or 48k position in the sound ram. I was watching what
>SoundSmith does when it loads instruments and where it puts them. True or
>False?
>
As far as I can tell, the answer to your question is "true". I just
recently wrote some code which was to play a soundwave which was between 16 &
32k in length. However, I was under the assumption I could place this sound
wave so it started on pretty much any bank (in the lower 32k half of the DOC
ram). It didn't work that way, however. No matter where I told the oscillator
that the soundwave started, it would always round (or truncate??) the bank
number so that it started playing from either the 0k or 32k position. That
leads me to believe that you must start your wave at a position that is evenly
divisible by its size (as stored in the oscillator's wavetable size register).
I can't say that I have read confirmation of this anywhere (it doesn't - as far
as I know - specifically say this in the Hardware Ref. or any other reference
books I have). Has anyone else?
_____________________________________________________________________________
Marco Busse | "True dignity is never gained by place,
Jupiter Systems | And never lost when honors are withdrawn."
mbusse@amiganet.chi.il.us |
Apple II Infinitum | -Massinger