Notifications
Clear all

Hanging Notes in Unify


Robert Pryke
(@robert-pryke)
Eminent Member
Joined: 1 year ago
Posts: 43
Topic starter  

@getdunne

I'm using the BPM Pad - Reflective Moments

When it plays back my MIDI File it gets stuck.

 

I can repro this consistently with this MIDI file I attached from my project.

I am using Reaper v 6.23

 

I used MIDI Filter to process all of the notes to make sure it gets proper note off:

Here is the MIDI data from MIDI Filter.

0.00 ms: Ch01 Note on F3 nn 65 vel 114
272.72 ms: Ch01 Note on F4 nn 77 vel 114
545.46 ms: Ch01 Note on A6 nn 105 vel 99
1090.91 ms: Ch01 Note off F3
1090.91 ms: Ch01 Note on F3 nn 65 vel 100
1090.91 ms: Ch01 Note on C4 nn 72 vel 100
1090.91 ms: Ch01 Note on A4 nn 81 vel 100
1363.63 ms: Ch01 Note off F4
1363.63 ms: Ch01 Note off A6
1363.63 ms: Ch01 Note on C7 nn 108 vel 80
1363.63 ms: Ch01 Note on C5 nn 84 vel 119
2181.81 ms: Ch01 Note off F3
2181.81 ms: Ch01 Note off C4
2181.81 ms: Ch01 Note off A4
2181.81 ms: Ch01 Note off C7
2181.81 ms: Ch01 Note off C5
2181.81 ms: Ch01 Note on G6 nn 103 vel 89
2181.81 ms: Ch01 Note on F3 nn 65 vel 114
2181.81 ms: Ch01 Note on C4 nn 72 vel 114
2181.81 ms: Ch01 Note on G4 nn 79 vel 114
2181.81 ms: Ch01 Note on A4 nn 81 vel 114
2454.54 ms: Ch01 Note on F4 nn 77 vel 121
3000.00 ms: Ch01 Note off G6
3000.00 ms: Ch01 Note on C6 nn 96 vel 99
3272.72 ms: Ch01 Note off F3
3272.72 ms: Ch01 Note off C4
3272.72 ms: Ch01 Note off G4
3272.72 ms: Ch01 Note off A4
3272.72 ms: Ch01 Note on F3 nn 65 vel 100
3272.72 ms: Ch01 Note on C4 nn 72 vel 100
3272.72 ms: Ch01 Note on G4 nn 79 vel 100
3272.72 ms: Ch01 Note on A4 nn 81 vel 100
3545.46 ms: Ch01 Note off F4
3545.46 ms: Ch01 Note on C5 nn 84 vel 104
3818.19 ms: Ch01 Note off C6
3818.19 ms: Ch01 Note on A5 nn 93 vel 99
4363.63 ms: Ch01 Note off F3
4363.63 ms: Ch01 Note off C4
4363.63 ms: Ch01 Note off G4
4363.63 ms: Ch01 Note off A4
4363.63 ms: Ch01 Note off C5
4363.63 ms: Ch01 Note on G3 nn 67 vel 114
4636.37 ms: Ch01 Note off A5
4636.37 ms: Ch01 Note on G7 nn 115 vel 80
4636.37 ms: Ch01 Note on G4 nn 79 vel 114
5454.54 ms: Ch01 Note off G3
5454.54 ms: Ch01 Note off G7
5454.54 ms: Ch01 Note on A6 nn 105 vel 89
5454.54 ms: Ch01 Note on G3 nn 67 vel 100
5454.54 ms: Ch01 Note on C4 nn 72 vel 100
5454.54 ms: Ch01 Note on A4 nn 81 vel 100
5727.28 ms: Ch01 Note off G4
5727.28 ms: Ch01 Note on C5 nn 84 vel 119
6272.72 ms: Ch01 Note off A6
6272.72 ms: Ch01 Note on C6 nn 96 vel 99
6545.46 ms: Ch01 Note off G3
6545.46 ms: Ch01 Note off C4
6545.46 ms: Ch01 Note off A4
6545.46 ms: Ch01 Note off C5
6545.46 ms: Ch01 Note on G3 nn 67 vel 114
6545.46 ms: Ch01 Note on C4 nn 72 vel 114
6545.46 ms: Ch01 Note on G4 nn 79 vel 114
6545.46 ms: Ch01 Note on A4 nn 81 vel 114
6818.19 ms: Ch01 Note off G4
6818.19 ms: Ch01 Note on G4 nn 79 vel 121
7090.91 ms: Ch01 Note off C6
7090.91 ms: Ch01 Note on A5 nn 93 vel 99
7636.37 ms: Ch01 Note off G3
7636.37 ms: Ch01 Note off C4
7636.37 ms: Ch01 Note off A4
7636.37 ms: Ch01 Note off G4
7636.37 ms: Ch01 Note on G3 nn 67 vel 100
7636.37 ms: Ch01 Note on C4 nn 72 vel 100
7636.37 ms: Ch01 Note on G4 nn 79 vel 100
7636.37 ms: Ch01 Note on A4 nn 81 vel 100
7909.09 ms: Ch01 Note off A5
7909.09 ms: Ch01 Note on G6 nn 103 vel 80
7909.09 ms: Ch01 Note on C5 nn 84 vel 104
8727.28 ms: Ch01 Note off G3
8727.28 ms: Ch01 Note off C4
8727.28 ms: Ch01 Note off G4
8727.28 ms: Ch01 Note off A4
8727.28 ms: Ch01 Note off G6
8727.28 ms: Ch01 Note off C5
8727.28 ms: Ch01 Note on F7 nn 113 vel 89
8727.28 ms: Ch01 Note on F3 nn 65 vel 114
9000.00 ms: Ch01 Note on F4 nn 77 vel 114
9545.46 ms: Ch01 Note off F7
9545.46 ms: Ch01 Note on A6 nn 105 vel 99
9818.19 ms: Ch01 Note off F3
9818.19 ms: Ch01 Note on F3 nn 65 vel 100
9818.19 ms: Ch01 Note on C4 nn 72 vel 100
9818.19 ms: Ch01 Note on A4 nn 81 vel 100
10090.91 ms: Ch01 Note off F4
10090.91 ms: Ch01 Note on C5 nn 84 vel 119
10363.63 ms: Ch01 Note off A6
10363.63 ms: Ch01 Note on A5 nn 93 vel 99
10909.09 ms: Ch01 Note off F3
10909.09 ms: Ch01 Note off C4
10909.09 ms: Ch01 Note off A4
10909.09 ms: Ch01 Note off C5
10909.09 ms: Ch01 Note on F3 nn 65 vel 114
10909.09 ms: Ch01 Note on C4 nn 72 vel 114
10909.09 ms: Ch01 Note on G4 nn 79 vel 114
10909.09 ms: Ch01 Note on A4 nn 81 vel 114
11181.81 ms: Ch01 Note off A5
11181.81 ms: Ch01 Note on F4 nn 77 vel 121
11181.81 ms: Ch01 Note on F6 nn 101 vel 80
12000.00 ms: Ch01 Note off F3
12000.00 ms: Ch01 Note off C4
12000.00 ms: Ch01 Note off G4
12000.00 ms: Ch01 Note off A4
12000.00 ms: Ch01 Note off F6
12000.00 ms: Ch01 Note on G6 nn 103 vel 89
12000.00 ms: Ch01 Note on F3 nn 65 vel 100
12000.00 ms: Ch01 Note on C4 nn 72 vel 100
12000.00 ms: Ch01 Note on G4 nn 79 vel 100
12000.00 ms: Ch01 Note on A4 nn 81 vel 100
12272.72 ms: Ch01 Note off F4
12272.72 ms: Ch01 Note on C5 nn 84 vel 104
12818.19 ms: Ch01 Note off G6
12818.19 ms: Ch01 Note on C6 nn 96 vel 99
13090.91 ms: Ch01 Note off F3
13090.91 ms: Ch01 Note off C4
13090.91 ms: Ch01 Note off G4
13090.91 ms: Ch01 Note off A4
13090.91 ms: Ch01 Note off C5
13090.91 ms: Ch01 Note on A#2 nn 58 vel 114
13363.63 ms: Ch01 Note on A#3 nn 70 vel 114
13636.37 ms: Ch01 Note off C6
13636.37 ms: Ch01 Note on A7 nn 117 vel 99
14181.81 ms: Ch01 Note off A#2
14181.81 ms: Ch01 Note on A#2 nn 58 vel 100
14181.81 ms: Ch01 Note on C4 nn 72 vel 100
14181.81 ms: Ch01 Note on A4 nn 81 vel 100
14454.54 ms: Ch01 Note off A#3
14454.54 ms: Ch01 Note off A7
14454.54 ms: Ch01 Note on C7 nn 108 vel 80
14454.54 ms: Ch01 Note on C5 nn 84 vel 119
15272.72 ms: Ch01 Note off A#2
15272.72 ms: Ch01 Note off C4
15272.72 ms: Ch01 Note off A4
15272.72 ms: Ch01 Note off C7
15272.72 ms: Ch01 Note off C5
15272.72 ms: Ch01 Note on G6 nn 103 vel 89
15272.72 ms: Ch01 Note on A#2 nn 58 vel 114
15272.72 ms: Ch01 Note on C4 nn 72 vel 114
15272.72 ms: Ch01 Note on G4 nn 79 vel 114
15272.72 ms: Ch01 Note on A4 nn 81 vel 114
15545.46 ms: Ch01 Note on A#3 nn 70 vel 121
16090.91 ms: Ch01 Note off G6
16090.91 ms: Ch01 Note on C6 nn 96 vel 99
16363.63 ms: Ch01 Note off A#2
16363.63 ms: Ch01 Note off C4
16363.63 ms: Ch01 Note off G4
16363.63 ms: Ch01 Note off A4
16363.63 ms: Ch01 Note on A#2 nn 58 vel 100
16363.63 ms: Ch01 Note on C4 nn 72 vel 100
16363.63 ms: Ch01 Note on G4 nn 79 vel 100
16363.63 ms: Ch01 Note on A4 nn 81 vel 100
16636.37 ms: Ch01 Note off A#3
16636.37 ms: Ch01 Note on C5 nn 84 vel 104
16909.09 ms: Ch01 Note off C6
16909.09 ms: Ch01 Note on A5 nn 93 vel 99
17448.87 ms: Ch01 Note off A#2
17448.87 ms: Ch01 Note off C4
17448.87 ms: Ch01 Note off G4
17448.87 ms: Ch01 Note off A4
17448.87 ms: Ch01 Note off C5
17448.87 ms: Ch01 Note off A5
17454.56 ms: Ch01 Note on F3 nn 65 vel 114
17727.26 ms: Ch01 Note on F4 nn 77 vel 114
17856.15 ms: Ch01 Note off F3
17856.15 ms: Ch01 Note off F4


Quote
Robert Pryke
(@robert-pryke)
Eminent Member
Joined: 1 year ago
Posts: 43
Topic starter  

Have tried with other patches in Unify, trying to determine if it was Reaper or Unify.

Other patches aren't getting stuck.  So might be this patch.

Tried 5x different patches, they don't hang.

 

Since I own signs of life in Omnisphere, I swapped the Unify Sampler for zPad - Gentle Rain n Violins, and it doesn't get stuck

This post was modified 8 months ago by Robert Pryke

ReplyQuote
Robert Pryke
(@robert-pryke)
Eminent Member
Joined: 1 year ago
Posts: 43
Topic starter  

Something more of interest.

If I take the BPM Pad - Reflective Moments, and swap in the Omnisphere version from sign of life on the layer, swapping out the guru sampler then it gets stuck.

 

Might have something to do with the FX in the patch?


ReplyQuote
getdunne
(@getdunne)
Member Admin
Joined: 2 years ago
Posts: 2850
 

@robert-pryke

It turns out MIDIBox in Unify 1.3.2 has a few issues when playing inside a DAW. This is probably the source of the problem. I'm working on this, and I hope to issue an update very soon, where this will be fixed.

 


ReplyQuote
Robert Pryke
(@robert-pryke)
Eminent Member
Joined: 1 year ago
Posts: 43
Topic starter  

@getdunne That's good to know, but this patch doesn't use MIDI box.  I'm playing the MIDI as a clip in my DAW.

So I am not using MIDI Box.


ReplyQuote
getdunne
(@getdunne)
Member Admin
Joined: 2 years ago
Posts: 2850
 

@robert-pryke Oops, I guess I answered too quickly. Unify 1.3.2 also has a few Omnisphere-related issues, which I think are fixed in the latest code here. I'll have a closer look. Thank you for posting your MIDI file.


ReplyQuote
Robert Pryke
(@robert-pryke)
Eminent Member
Joined: 1 year ago
Posts: 43
Topic starter  

@getdunne No problem.  Hope it helps out.  Thanks again for all your support!


ReplyQuote
getdunne
(@getdunne)
Member Admin
Joined: 2 years ago
Posts: 2850
 

@robert-pryke

Coming back to this thread after having cleared away some other work, I have no idea what the problem is. The screenshot you provided in connection with BPM PAD - Reflective Moments is particularly confusing, since you haven't simply swapped out one layer.

I'd like to try to reproduce this issue, but I'll need more details.


ReplyQuote
Robert Pryke
(@robert-pryke)
Eminent Member
Joined: 1 year ago
Posts: 43
Topic starter  

@getdunne

 

Shane, for clarity.

If I use the BPM Pad - Reflective Moments from Unify.

When it plays back my MIDI File it gets stuck.

 

As a test of whether it was the Unify Patch Guru Sampler Layer, I swapped out the Guru Sampler for the Omnisphere equivalent of what was loaded in Guru Sampler.

It also got stuck on the notes.

 

So for BPM Pad - Reflective Moments from Unify, the stock patch will hang notes.

If I swap the instrument out in that patch for Omnisphere will hang notes.

 

I just thought it was weird that the patch hung even if I changed the instrument in the layer.

 

So, I wouldn't worry on focusing on the Omnisphere patch - just the stock BPM Pad - Reflective Moments.

 

 

 


ReplyQuote
getdunne
(@getdunne)
Member Admin
Joined: 2 years ago
Posts: 2850
 

@robert-pryke

Your MIDI file includes some REALLY high notes (A7, MIDI note number 117). Those go into INST layer 1, which is set to transpose +12. 117 + 12 is 129, which is two steps beyond the highest MIDI note (127 or G8), so it "wraps around" and becomes MIDI note number 2 or C#-2, whose fundamental frequency is just above 9 Hz -- below the normal range of human hearing.

Unify isn't handling the "wrapped" notes correctly, and this is what's causing them to get stuck. Basically, the note-on event gets wrapped from 129 to 2, but the corresponding note-off event confuses the code and gets suppressed.

I will work on making Unify more robust against extreme MIDI note-numbers, but in the meantime, that's why you're seeing stuck notes.

I'm curious as to why your MIDI file includes such incredibly high notes. A7 is nearly an octave above the highest note of the piano keyboard.


ReplyQuote
Robert Pryke
(@robert-pryke)
Eminent Member
Joined: 1 year ago
Posts: 43
Topic starter  

@getdunne

I have the high notes from doing experimental stuff with my music.  I like to play a melody or write one in a DAW then I run it through music theory programs such as scaler and chord potion.

I then try to work with what the software gives me and force it to work.  I like doing odd things with my music.

 

I did end up completing the piece using a different patch as a work around and the high notes gave it an interesting feel.


ReplyQuote
getdunne
(@getdunne)
Member Admin
Joined: 2 years ago
Posts: 2850
 

@robert-pryke

I'm working through the code right now, to make sure all transposition is handled consistently, and is robust against wraparound. Note-number arithmetic is performed in many places in Unify, so I might not get every one on my first pass.

These changes should eliminate the stuck notes, but may not give the result you want musically. In situations where wrap-around is expected, you might want to consider using a MIDI Filter before the instrument, set to filter out extremely low notes.


ReplyQuote
Robert Pryke
(@robert-pryke)
Eminent Member
Joined: 1 year ago
Posts: 43
Topic starter  

@getdunne

Thanks.  I'll keep that in mind.  Appreciate you for looking into it.


ReplyQuote
Share: