View Issue Details

IDProjectCategoryView StatusLast Update
0001629OpenMPTFeature Requestpublic2022-09-07 14:12
Reportercs127 Assigned To 
Status newResolutionopen 
Platformx86 / x64OSAnyOS VersionAny
Product VersionOpenMPT 1.31.00.* (current testing) 
Summary0001629: [Feature request] a way to access different velocity samples in soundfonts

When importing an instrument from an SF2 file, OpenMPT always seems to import the samples assigned to the highest note velocity in the soundfont (that's what I think is happening, I might be wrong though), making samples assigned to lower velocities inaccessible.

I think it would be nice to have some way to choose samples from a specific velocity range (e.g. a dialog box that would ask which velocity range the samples of that instrument should be imported from, or a "Default soundfont velocity" value that can be configured in the settings).

Steps To Reproduce

Example: Piano 1 (000:000) from SGM v2.01

  • When looking at the preset in a soundfont editor like Polyphone, there are two sample sets for velocity ranges 0-94 and 95-127, with the letters "p" and "f" in their sample names respectively.
  • When the preset is imported in OpenMPT, the higher velocity range is chosen automatically without any way to configure it, making the "p" samples inaccessible.
TagsNo tags attached.
Has the bug occurred in previous versions?Not a bug, but yes
Tested code revision (in case you know it)17811


Saga Musix

Saga Musix

2022-09-05 12:55

administrator   ~0005300

To be honest I'd rather implement velocity-sensitive instrument maps than clunky workarounds.



2022-09-07 14:12

reporter   ~0005305

Sure, that's a lot better. I guess this could be another feature for the revised MPTM format (issue 865).

Issue History

Date Modified Username Field Change
2022-09-05 12:53 cs127 New Issue
2022-09-05 12:55 Saga Musix Note Added: 0005300
2022-09-07 13:48 cs127 Summary [Feature request] Choosing the velocity range when importing an instrument from a soundfont => [Feature request] a way to access different velocity samples in soundfonts
2022-09-07 13:51 cs127 Priority normal => low
2022-09-07 14:12 cs127 Note Added: 0005305