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

MS-plus - Midi Control of system/patch/effect parameters #86

Open
mungewell opened this issue Sep 18, 2024 · 13 comments
Open

MS-plus - Midi Control of system/patch/effect parameters #86

mungewell opened this issue Sep 18, 2024 · 13 comments

Comments

@mungewell
Copy link
Owner

Quick check of MS-plus to ensure we can access the effect/patch parameters in the same way. Patch with single EQ effect, parameters set in a 'wave'.

$ amidi -p hw:2,0,0 -S 'F0 52 00 6e 64 02 00 09 00 F7' -r temp.bin -t 2

567 bytes read

$ python3 decode_screens.py temp.bin
---
Effect: BassGEQ (On)
50Hz : 0.0
120Hz : 6.0
400Hz : 12.0
500Hz : 6.0
800Hz : 0.0
4.5kHz : -6.0
10kHz : -12.0
VOL : 100
---
Effect: Blank (Off)
---
Effect: Blank (Off)
---
Effect: Blank (Off)
---
Effect: Blank (Off)
@mungewell
Copy link
Owner Author

mungewell commented Sep 18, 2024

Control seems to be using a different '0x64 0x20' command.

First turn on editor mode, turn off effect, turn on effect in slot 0.

$ amidi -p hw:2,0,0 -S 'F0 52 00 6e 50 F7'
$ amidi -p hw:2,0,0 -S 'f0 52 00 6e 64 20 00 00 00 00 00 00 00 00 f7'
$ amidi -p hw:2,0,0 -S 'f0 52 00 6e 64 20 00 00 00 01 00 00 00 00 f7'
                                                   ^^ 0=Off, 1=On
                                                ^^ Item 0 = Effect Enable
                                             ^^ Slot 0

@mungewell
Copy link
Owner Author

mungewell commented Sep 18, 2024

First turn on editor mode, set lowest value in First Parameter

$ amidi -p hw:2,0,0 -S 'F0 52 00 6e 50 F7'
$ amidi -p hw:2,0,0 -S 'f0 52 00 6e 64 20 00 00 02 00 00 00 00 00 f7'
                                                   ^^ 0=Lowest Value = -12dB for BassEQ
                                                ^^ Item 02 = First Parameter
                                             ^^ Slot 0

Note: Effect parameters are 'Item 02' for left most, through to 'Item 09' for the right most ('vol' for BassEq).

Note: 'Item 01' is effect type and requires 32bit value to be split into 5 7-bit values

@mungewell
Copy link
Owner Author

mungewell commented Sep 18, 2024

Changing patch Name

amidi -p hw:2,0,0 -S 'f0 52 00 6e 64 20 00 5f 00 20 00 00 00 00 f7'
                                                 ^^ 20 = ASCII code, ie space
                                              ^^ 00 = First Character, through 1B last
                                           ^^ 5F = Patch Name

@mungewell
Copy link
Owner Author

mungewell commented Sep 18, 2024

Changing 'R Position' (where in the effects chain that the R output is fed from) - This may only work for the MS-60B+

$ amidi -p hw:2,0,0 -S 'f0 52 00 6e 64 20 00 64 04 01 00 00 00 00 f7'
                                                   ^^ 00 = After Last, 01= Before First, 02 = After First, etc
                                                ^^ 04 = R Pos
                                             ^^ 64 = System Setting

@mungewell
Copy link
Owner Author

Changing Tempo

$ amidi -p hw:2,0,0 -S 'f0 52 00 6e 64 20 00 64 02 60 00 00 00 00 f7'
                                                   ^^ 60 = 96 BPM
                                                ^^ 02 = Tempo
                                             ^^ 64 = System Setting

@mungewell
Copy link
Owner Author

Autosave On/Off

$ amidi -p hw:2,0,0 -S 'f0 52 00 6e 64 20 00 64 0f 01 00 00 00 00 f7'
                                                   ^^ 00 = Off, 01=On
                                                ^^ 0f = Autosave
                                             ^^ 64 = System Setting

@mungewell
Copy link
Owner Author

Pre-select On/Off

$ amidi -p hw:2,0,0 -S 'f0 52 00 6e 64 20 00 64 1f 01 00 00 00 00 f7'
                                                   ^^ 00 = Off, 01=On
                                                ^^ 1f = PreSelect
                                             ^^ 64 = System Setting

@mungewell mungewell changed the title MS-plus - patch/effect parameters MS-plus - Midi Control of system/patch/effect parameters Sep 18, 2024
@mungewell
Copy link
Owner Author

mungewell commented Sep 18, 2024

Contrast

$ amidi -p hw:2,0,0 -S 'f0 52 00 6e 64 20 00 64 14 01 00 00 00 00 f7'
                                                   ^^ 01 .. 0C
                                                ^^ 14 = Contrast
                                             ^^ 64 = System Setting

@mungewell
Copy link
Owner Author

This appears to be patch volume, but it's not controllable via the UI on the pedal

$ amidi -p hw:2,0,0 -S 'f0 52 00 6e 64 20 00 64 00 64 00 00 00 00 f7'

Changes the PPRMv2 block we (/I) have been too lazy to decode

    PPRM = Container: 
        length = 32
        dump = hexundump("""
        0000   00 00 00 00 00 00 00 00 00 40 06 02 00 00 00 00   .........@......
                                          ^^ ^^ Note: weird bit alignment
        0010   00 00 00 00 00 20 00 00 00 00 00 00 00 00 10 00   ..... ..........
        """)

@mungewell
Copy link
Owner Author

mungewell commented Sep 19, 2024

Tuner Bypass/Mute

$ amidi -p hw:2,0,0 -S "f0 52 00 6e 64 20 00 64 10 00 00 00 00 00 f7"
                                                   ^^ 00 = Bypass, 01 = Mute
                                                ^^ 10 = Mode
                                             ^^ 64 = System Setting

Tuner Tuning

$ amidi -p hw:2,0,0 -S "f0 52 00 6e 64 20 00 64 0c 00 00 00 00 00 f7"
                                                   ^^ 00 = 430 ... 0A = 440 ... 14 = 450
                                                ^^ 0C = Tuning
                                             ^^ 64 = System Setting

Tuner Type

$ amidi -p hw:2,0,0 -S "f0 52 00 6e 64 20 00 64 0D 00 00 00 00 00 f7"
                                                   ^^ 00 = Chromatic, 01 = Bass
                                                ^^ 0D = Type
                                             ^^ 64 = System Setting

@mungewell
Copy link
Owner Author

ECO Mode

$ amidi -p hw:2,0,0 -S 'f0 52 00 6e 64 20 00 64 1E 01 00 00 00 00 f7'
                                                   ^^ 00 = Off, 01 = On
                                                ^^ 1E = Eco Mode
                                             ^^ 64 = System Setting

@shooking
Copy link

A new midi mapping for later pedals? Maybe to fix some of the inconsistencies on the "*Four" implementation?

@mungewell
Copy link
Owner Author

@shooking Side question; did you/'we' ever figure out how to remote control the drum machine. See #85

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

2 participants