MIDI file to load States

Hi
I’m new to Cantabile and now I mostly use it for audio plugins.
I prepared the relevant binding to send PC to stages.
I run midi file (by media player) to load stages.
In my test example I prepared midi file(with my DAW) that loads stages 1 to 4 every 2 bars and finally returns to stage 1.
What actually happens that stage 1 is not recognized and finally it returns to stage 2 .
very wired
Please help
Thanks
ly

Hi Ly and Welcome!

I’m not sure if you can post attachments and pictures here yet but to be of help will require a picture of your binding you use for stage changes and your MIDI file in a zip file to see what it says. Hopefully that will give some answers.

Cheers,

Dave

Thanks Dave
link to zip files
https://app.box.com/s/2e79hsnstrvxqamdsnt655xnm887gxc1
ly

Hi Ly,

Thanks for posting that for me to check out it really helped. The MIDI file is fine but you need to do the following to the Cantabile media player you use to change the states. When you click on the media player you are using you need to get the state behaviors pane opened under the states list on the left.

Then uncheck all the boxes in the state behaviors list.

That should correct the situation. What happened was that when the first state change occurred the MIDI file you had loaded for state 1 was not loaded for state 2, state 3 etc and so the file only played for one state change … so by unchecking the boxes the media player behaviors are the same for all 4 states meaning if the file is loaded in any one of the states it is loaded in all the others and it can perform all the PG changes you wanted. Hope this gets it going … :slight_smile:

Regards,

Dave

1 Like

Thanks Dave
Still not working as should be , don’t know why…
ly

Hi Ly,

Could you post the Cantabile song file? It must be something else, maybe that file will show what it is. Sorry it didn’t work but will try some more if you wish.

Dave

Hi Dave
link to cantabile file (plus 1 plugin for the test)
https://app.box.com/s/m7dx1tjivj9njqdp5dun9nt9h0z64xza
ly

Hi again
change midi file to midi test_x.MID (instead of test_xx.MID)
ly

Thank Ly,

I think I found it. The Program numbers you have for your states start at 0 instead of one which is not working with your file.

your current state list

right click on the list and select reassign Program numbers

SnapShot 3966

set it to All starting at 1 and hit OK to renumber the states

SnapShot 3969

States should be numbered on the far left like this.

SnapShot 3964

Also I ran a check on the file and the order of pg changes was slightly different from your description as shown here it ends on state 4 after a return to state 1

That sequence does perform correctly here on your song after the mods

Cheers,

dave

1 Like

Hi Dave
When I saw that on your computer states is 0-3 (on mine is 1-4) I thought that the problem is with the midi file.
I make midi files with Reaper .
PC on Reaper is 0-127 and cantabile is 1-128.
So in Reaper I changed PC to begin with zero(0-3) and saved it as a new midi file.
I load this file to Cantabile and now it works as excepted.
Thanks for your time and to solve this problem :smiley:
ly

1 Like

Hi @dave_dore
What app is it that you’re using to look at the contents of the midi file?

Thanks,
Robb

Hey Robb,

I use Sekaiju

Cheers,

Dave

1 Like