Aligning PSG and FMPAC volume

By OeiOeiVogeltje

Paragon (1426)

OeiOeiVogeltje's picture

24-07-2012, 19:21

Hello
As you might do or do not know im busy assembling a Gr8Bit MSX computer.
i have put a Potmeter at the PSG section to adjust the volume
question is
I need a way to generate a sound that both PSG and FMPAC can play alternatly so i can measure the volume of both devices and adjust the volume accordingly

Does anyone have any ideas or maybe even a tool on that??

Login or register to post comments

By MsxKun

Paragon (1115)

MsxKun's picture

24-07-2012, 20:40

You could use plain MSX-Basic and PLAY Command.

By meits

Scribe (6530)

meits's picture

24-07-2012, 20:49

Or boot a Microcabin game...

By anonymous

incognito ergo sum (116)

anonymous's picture

30-07-2012, 02:44

Extremely quick 'n' dirty:

10 _MUSIC : PLAY#2, "@2" : DIM A$ (2) : I = 1
20 A$ (1) = "T255 V15 S2 M1637 C16"
30 A$ (2) = "T255 V15 S1 M32767 C4"
40 PLAY "O4" + A$ (I)
50 A$ = INPUT$ (1)
60 PLAY#2, "O5" + A$ (I)
70 A$ = INPUT$ (1)
80 Z = VAL (A$) : IF Z > 0 AND Z < 3 THEN I = Z
90 IF I = 1 THEN PLAY#2, "@0" ELSE PLAY#2, "@2"
100 GOTO 40

Use the "1" and "2" keys to play and alternate sounds.
BTW it's normal if PSG sounds a bit louder than the FM with this test.