Page 4 of 4

Posted: Mon Oct 27, 2014 10:41 pm
by Stef
Well actually if you really want to do a real pause and interrupt sound i guess you still need that 96 YM writes ! key-off only is not enough a RR can be infinite... so you definitely have to set TL and D1L to max for each operator :-/
And before resuming music you need to restore them to their previous values... which means you need to save them, arg !
Well i have some ideas about it ;)

Posted: Tue Oct 28, 2014 8:48 am
by TmEE co.(TM)
If you want instant silence set L and R flags to 0 on each channel. Then do the magic to actually silence the channels with RR parameter stuff and whatnot.

Posted: Tue Oct 28, 2014 8:52 am
by Stef
Oh yeah i forgot about the L/R bits, it might be a good solution for a pause (and the instant stop of course) ! Thanks for the tips :)

Posted: Fri Nov 14, 2014 11:46 am
by MintyTheCat
TmEE co.(TM) wrote:If you want instant silence set L and R flags to 0 on each channel. Then do the magic to actually silence the channels with RR parameter stuff and whatnot.
But any *CLICK* this way? I have only used the YM2413 and I cannot recall what happened - it was 9 years ago and I am now old and forgetful :P

Posted: Fri Nov 14, 2014 12:59 pm
by Stef
Actually i tried to use it, and it does not work really nicely on real hardware.
Strangely when you disable a channel (LR set to 0) while it was playing you can sometime still heard it (but at a lower level and somehow distorted). So i had to find another solution ;)