Creating Shift Key stroke Sequence

0
0

Hi!
I seem to have programmed everything correctly except for one thing. When ever my sequence for “Shift + H” is activated, the midi command ends up adding the note on a measure. Is there any way to stop this?

I have done the following:
1) Created a Translator That receives the Raw MIDI 90 0E 7F (corresponds to note 14 – D0). This is linked to a Timer with 0 secs in delay.
2) Then below is my timer called Init. This timer just has the variable “// wait time between keystrokes in ms ga=500”
3) I then created a new preset called “Inverted Hairpin” which has 4 translators:
4) The first one is called Trigger. Incoming MIDI 90 0E 00, Swallow MIDI…, Rules “//pp=1”, Outgoing Key Stroke “Shift Down” Delay in seconds pp
5) The second translator is h Down: Incoming MIDI 90 0E 00, Swallow MIDI…, Rules “//pp=1”, Outgoing Key Stroke “H Down” Delay in seconds pp
6) The third translator is h Up: Incoming MIDI 90 0E 00, Swallow MIDI…, Rules “//pp=1”, Outgoing Key Stroke “H Up” Delay in seconds pp
7) The fourth Translator is Shift Up: Incoming MIDI 90 0E 00, Swallow MIDI…, Rules “//pp=1”, Outgoing Key Stroke “Shift Up” Delay in seconds pp.

I attached my Log Window.

Everything works fine, except for the fact that this command inputs an unwanted note. Is there any way to avoid this?

Thanks in advance!

Alan G Frausto

Attachments:
Marked as spam
Posted by (Q&A Forum: 1, Answers: 2)
November 16, 2018 5:35 pm
53 views

Hi, it would be help if you posted the project file but I will try re-creating it and then helping you.

In the meantime, it looks like you have comments before your assignments of pp
// at the beginning of a line is a comment so if that is how it is, you are not assigning any
value to pp which could be problematic. Since pp is a local variable it won’t have a default value so your delay results will be quite unpredictable.

Also, I noticed your note velocities of 00 which usually means note-off but as long as the translators are triggering, it is probably not the problem.

You don’t appear to be using ga in any translator other than Init so I’m not sure what you are doing there.

So maybe you could look into these items while I try to re-create your project and duplicate the problem.

I assume you are testing with your the active window being your outgoing keystroke actions which are certainly not the case in your log file.

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

( at November 16, 2018 10:43 pm)
0
Private answer

Thanks!

There’s only one thing that happens every now and then. Sometimes when I start the file I need, for no apparent reason I have no MIDI Out, or just one of the few commands I need. Is this normal?

Here’s the file.

 

Thanks in advance!

Marked as spam
Posted by (Q&A Forum: 1, Answers: 2)
November 18, 2018 2:59 pm

Hi,

Since you are not using MIDI OUT, this should not be a problem, however maybe if MT Pro is getting confused about this, you should just set your default output to Bome Virtual MIDI port 1 and then you shouldn’t see these messages. If you do, maybe you can show a screen shot and more detail on what you did to get there.

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

( at November 18, 2018 11:05 pm)
0
Private answer

Thank you so much! I think I’m all set =D!

Marked as spam
Posted by (Q&A Forum: 1, Answers: 2)
November 18, 2018 1:16 pm

Glad I could help. Note that in some cases, manually setting up delays like this may not be necessary, it just depends whether the computer software uses can handle key rates at the speed that MT Pro is sending them. In some cases, you could send a few keystrokes, then delay and then if you get a dialog box, a text string all at once.

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

( at November 18, 2018 2:52 pm)
0
Private answer

Please try the below project file.

I’ve the first action happens after 500ms delay and each action thereafter we add addtional 1 ms. It resets itself back to 500ms at the end.

If it doesn’t work, you might want to increase the delay time in the rules to a higher value.

 

Marked as spam
Posted by (Q&A Forum: 36, Answers: 2724)
November 16, 2018 10:57 pm
Votes
Answers
Topic
0
votes
1
answer
asked 1 week ago by
updated 1 week ago by
1
vote
4
answers
asked 2 months ago by
updated 2 months ago by
0
votes
2
answers
asked 2 months ago by
updated 2 months ago by
0
votes
3
answers
asked 3 months ago by
updated 3 months ago by
1 2 3 5