>> I'm looking for an accurate pitch to tone registers value translation table
>> for PSG.
>Do you mean, how values you can use in (in case of use channel A)
>register 0 and 1?
>If yes, you can use de following:
>
>         Fclock
>Freq=--------------
>     16*(r0+r1*256)
>
>where Freq mean the frequency you wish
>      Fclock mean the CPU's clock (3579545 Hz on TR)
>      r0 and r1 is register 0 and 1 of the PSG

Yes, but I'm looking for a precalculated table, just to save the hassle of
searching for an "equal-tempered" scale in Hz and coding a piece of BASIC
or CM to generate the table 8:\

>> What's the recommended method to setup PSG for 4-bit PCM playback? Setting
>> the lowest pitch? Disabling both noise & tone in the mixer?
>Ricbit can tell you more details about that, but in the simple way:
>-disable noise
>-set R0 and R1 (channel A) with 0
>-drop the sample data in R8 (channel A)
>only these 3 things. Is it hard?? ;-)
>Note that the mixer values has no effect, you can disable or enable the
>channel, the sample will be played anyway.

OK, thanks. I did it on the ZX Spectrum an the ST, but they have the Yamaha
flavour of the PSG.

Kiss you lot.

        Mk2



****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to