-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix #33081: acoustic bass channel info #1309
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't get it. 43 and 44 are tremolo and pizz strings no? Why associating them to arco and tremolo?
There are other Bass technics in MIDI
32 Acoustic Bass
33 Electric Bass (finger)
34 Electric Bass (pick)
35 Fretless Bass
36 Slap Bass 1
37 Slap Bass 2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The difference between 0-based and 1-based patch numbering might be getting in the way here. I'm just using the same numbering scheme as elsewhere in instruments.xml. 43 is the patch used for the "contrabass" instrument in its default channel, and 32 is the patch number used for the "pizz" channel. This is 0-based numbering. In the 1-based numbering you see in most published charts, that's "44 Contrabass" and "33 Acoustic Bass" respectively. We were already using 32 (=33-1) as the default channel for "Acoustic Bass", and that's correct. I just needed to add 43 (=44-1) for the arco sound - and 44 (=45-1) for tremolo, so Contrabass and Acoustic Bass have the exact same channels just with a different default.
Now I'm confusing myself, but as far as I can tell, I got it right. The three patch numbers in question (0-based) are 32 for plucked, 43 for bowed, and 44 for tremolo. For the "contrabass" instrument, 43 is the default and is unnamed; 32 is available as "pizzicato". For the "acoustic bass" instrument, 32 is the default and 43 is available as "arco". This is exactly as it was in 1.3; I'm just restoring that behavior, as for some reason the arco and tremolo options got omitted.