Opened 15 years ago

Last modified 14 months ago

#7420 new enhancement

MT-32: Write "Memory Timbres" names to LCD

Reported by: SF/tbcarey Owned by:
Priority: normal Component: Audio: MT32
Keywords: Cc:
Game:

Description

Currently, ScummVM does not write the actual names of MT-32 'memory timbres' [custom instruments] to the LCD. For example, in MI-2, 'Memory | glop' only shows up as 'Piano | AcouPiano1', 'Memory | leshbass' as 'Strings | Str Sect 3', etc. Obviously, this applies to all games that use MT-32 natively.

Ticket imported from: #1177537. Ticket imported from: feature-requests/236.

Change History (15)

comment:1 by kingguppy, 15 years ago

Owner: set to kingguppy

comment:2 by SF/tbcarey, 15 years ago

This may or may not be related, but I just noticed that ScummVM does not actually write custom instruments to Timbre Memory (as the original interpreter does), but instead uses Timbre Temp Area for specific parts.

Timbre Memory is written via start address 08 xx 00. [where xx = 00h - 7Eh, jumping 2 bits] Timbre Temp Area is written by first specifying part/channel number in byte 3, then via start address 02 00 00.

Here's the different in SysEx commands between the original interpreter and ScummVM when writing 'glop':

F0 41 10 16 12 08 00 00 67 6C 6F 70 20 20 20 [...] - Original F0 41 01 16 12 02 00 00 67 6C 6F 70 20 20 20 [...] - ScummVM

This may be why the LCD does not display custom instrument names when they're being written to the module.

comment:3 by kingguppy, 15 years ago

Yep, I know - I'm fairly sure that's the reason it's not shown on the LCD. The timbre name is written correctly as part of the timbre.

There are other reasons to switch to using timbre memory rather than the timbre temp area. It's on my to-do list.

comment:4 by kingguppy, 15 years ago

Status: newpending

comment:5 by kingguppy, 15 years ago

I've just checked with my real MT-32, and I see "glop" on the LCD display. When/how are you seeing something incorrect? I'm just pressing the button for the appropriate part (1), and seeing the correct name.

comment:6 by SF/tbcarey, 15 years ago

Yes, that's after the instrument has already been written to Timbre Temp Area. However, as it's being written, your LCD should display a program name; it will never be Memory | [name] (as with the original interpreters), but instead a normal program name. Presumably this is because of the reason I followed up with about Timbre Temp Area vs. Timbre Memory.

comment:7 by SF/tbcarey, 15 years ago

Status: pendingnew

comment:8 by kingguppy, 15 years ago

Ah yes, I see, it briefly flashes the timbre name on program change. We don't send a program change for custom instruments - or at least we shouldn't - since we're not storing the data in a patch (it goes directly to the temp areas, as you know).

comment:9 by sev-, 14 years ago

Owner: changed from kingguppy to SF/jamieson630

comment:10 by sev-, 14 years ago

Jamieson, there recently were some changes in that aspect. What you can say on this request?

comment:11 by fingolfin, 13 years ago

Owner: SF/jamieson630 removed

comment:12 by fingolfin, 13 years ago

It seems both Jamieson and Kingguppy are not active anymore :-/

comment:13 by angstsmurf, 20 months ago

Is this still a problem?

comment:14 by bonki, 20 months ago

I would very much assume so.

comment:15 by digitall, 14 months ago

Component: Audio: MT32
Note: See TracTickets for help on using tickets.