Skip to content
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

MIDI control bank change fail #35

Closed
simdax opened this issue Sep 20, 2016 · 7 comments
Closed

MIDI control bank change fail #35

simdax opened this issue Sep 20, 2016 · 7 comments
Milestone

Comments

@simdax
Copy link

simdax commented Sep 20, 2016

Hello,

Not really a bug, but I'm trying to communicate between AMSYNTH and SUPERCOLLIDER, sending simple MIDI control Message.

It works for volume or program change but I can't change bank ??

I was looking sources and saw that

void
MidiController::controller_change(unsigned char cc, unsigned char value)
{
    if (!_handler || !presetController)
        return;

    switch (cc) {
        case MIDI_CC_BANK_SELECT_LSB:
        case MIDI_CC_BANK_SELECT_MSB:
break;

Maybe it's not implemented yet, or am I missing something ? Should be difficult to implement ?

Thank you !

@nickdowell
Copy link
Member

Hi @simdax - yes, bank selection via MIDI is not currently implemented.

To do so would require assigning numbers to each bank, and right now I'm not sure how best to do that. As a user, how would you expect that to work?

@simdax
Copy link
Author

simdax commented Sep 21, 2016

As for an example, with ZynAddSubFx and Supercollider, I just send a midiControl #0 and I can choose the bank.

In amsynth, I can imagine that [U] User bank should be 0, all the [F] BrianBanks in the range (1..19) and 20 for amsynth factory. This are the banks I have.

@nickdowell nickdowell added this to the 1.7.0 milestone Sep 26, 2016
@phil123456
Copy link

phil123456 commented Apr 1, 2021

same problem here, I tried with ZynAddSubFx (ZynFusion) and it's not reacting either
why not just map the numbers to the order of the banks, just simple
that would be something nice
can you implement this?

@nickdowell
Copy link
Member

@phil123456 what version of amsynth are you using?

MIDI Bank Selection was added in 1.7.0

@phil123456
Copy link

phil123456 commented Apr 6, 2021

version 1.12.2...

I gave it another try
I sent this :
[B0 00 00]
[B0 20 02]

[C0 00]

amsynth BANK does not move an inch...it stays on "[U] user bank"

while program changes are taken into account

these work fine:
[C0 00]
[C0 01]
[C0 02]
[C0 03]
....

@nickdowell
Copy link
Member

Hmm ok I think there's a bug with amsynth's MIDI bank select implementation - the LSB and MSB messages are the wrong way round. It's ended up with way because amsynth was tested against vkeybd which sends the bank in CC0 🙈

@nickdowell
Copy link
Member

There's now a fix for the bank select handling in #190 on branch feature/fix-midi-bank-select

Would be very helpful if someone can report whether the fix works for them 🙃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants