21 February 2021, 15:12 | #1 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,163
|
tool to stop MT32 sound
When quitting a whdload game with quitkey on a sierra MT32 game when MT32 replay is active, the sound remains.
Is there a command to send (using serial.device) to stop the midi sound? |
21 February 2021, 16:39 | #2 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 760
|
Perhaps sending a midi controller message.
Those are three bytes. First byte is status byte and channel, second byte is controller number and third byte value. I´ll try with "All Sound Off" or "All Notes Off" messages. All Sound Off: B0 78 00 All Notes Off: B0 7B 00 Hope it helps. |
21 February 2021, 18:39 | #3 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,163
|
it does. What is really funny is that when restarting whdload on any game that uses kickstart, the sound stops... It means that kickstart stops midi at startup.
Is there a way to do that programmatically using serial.device ? |
21 February 2021, 19:36 | #4 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 760
|
I have only do midi stuff with camd.library but anyway, you only have to send those bytes and the mt32 knows what to do...I hope!
|
21 February 2021, 20:34 | #5 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 760
|
I have made a quick test in amiblitz with my raspberry mt32 emu and...doesnt work.
MT32 is pre general midi and perhaps doesnt understand those commands. Will have to look a solution. :/ |
21 February 2021, 20:37 | #6 |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,986
|
Is it enough to open and then close serial device?
|
21 February 2021, 20:46 | #7 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,163
|
@Galahad: worth a try.
|
21 February 2021, 20:48 | #8 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 760
|
Sorry...dont know what happend before.
Yes, open serial, send "b0 7b 00" and close serial. But I think you have to send it to each channel. "b0 7b 00" "b1 7b 00" "b2 7b 00" "b3 7b 00" ... |
21 February 2021, 21:03 | #9 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 760
|
Jotd...could you test a file I uploaded to the zone?
|
21 February 2021, 22:56 | #10 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,163
|
yeah. It works very well! thanks. Maybe you could share the source? Bert could be interested in integrating it with whdload
In the meantime, integrating it to s:whdload-cleanup works fine. |
21 February 2021, 23:14 | #11 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 760
|
I have code it in a hurry in amiblitz but I'll post it tomorrow so someone can code it in a proper manner.
Happy it works for you. |
23 June 2021, 00:51 | #12 |
Moderator
Join Date: Nov 2001
Location: Germany
Posts: 866
|
The latest WHDLoad beta contains a workaround for this problem. The sound should be stopped on exit.
http://www.whdload.de/whdload/whd187.lha |
23 June 2021, 02:52 | #13 |
Registered User
Join Date: Sep 2018
Location: California
Posts: 322
|
Not sure if this is useful information but I have a hardware PC hooked up to a hardware MT32 and I frequently have this problem as well
|
23 June 2021, 09:33 | #14 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,163
|
@Wepl: that's great!
@cloverskull I'm sure there are tools to stop the MT32 from your PC. Of course whdload will be of no help here |
23 June 2021, 14:14 | #15 |
Registered User
Join Date: Dec 2014
Location: Netherlands
Posts: 1,406
|
This is originally for MT32-Pi, but maybe it has some command included you can use as well https://github.com/gmcn42/mt32-pi-control
|
23 June 2021, 19:14 | #16 |
Registered User
Join Date: Sep 2018
Location: California
Posts: 322
|
|
09 July 2021, 07:07 | #17 |
Registered User
Join Date: Jul 2010
Location: Utah, USA
Posts: 516
|
This is an actual bug in the MT32, and it does it on pretty much every platform. Can be rather annoying and as pointed out, it can be worked around.
|
09 July 2021, 08:27 | #18 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,163
|
Bert has added this feature in whdload now.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What tool was used to disassemble Seka and Sound Tracker | redblade | Coders. General | 2 | 24 October 2020 23:05 |
Looking for Games with Roland Mt32 support | Zurgs_Galaxy | support.Games | 1 | 16 August 2020 08:22 |
add midi/MT32 support | jotd | HOL suggestions and feedback | 24 | 26 April 2020 10:58 |
How to setup Roland MT32 emulation? | Retrofan | support.WinUAE | 17 | 15 April 2019 01:27 |
Games that supported Roland MT32 on Amiga? | ancalimon | request.Old Rare Games | 9 | 04 December 2009 00:53 |
|
|