• SONAR
  • MIDI instruments Go Out of Tune After Soloing Tracks
2016/11/19 15:14:53
jsg
I am noticing odd behavior while working on a piece of only MIDI tracks (no soft synths, no VSTs, no audio tracks).  The MIDI data is being sent via MIDI over LAN to a dedicated computer which holds the VSL library. 
 
When I solo some tracks, suddenly upon playback I am hearing instruments transposed and playing wrong notes.  I hit the MIDI reset button, but this doesn't fix it.  When I unsolo everything, the instruments play as expected. 
 
I don't think I've seen this issue before, I am running Platinum, the release is a few months old, because the latest releases have new copy and paste bugs involving the event list and staff view, so I am avoiding these releases. 
 
Has anybody seen this or reported this issue to Cakewalk?
 
Thanks,
Jerry
http://www.jerrygerber.com
 
2016/11/19 17:07:00
chuckebaby
Any Audio in this project ?
typically any time hear someone say out of tune between tracks, I think of sample rate.
 
2016/11/19 20:56:28
bitflipper
Jerry said it's a MIDI-only project, no audio, no internal synths. All audio is generated on the remote machine.
 
What an interesting and unusual problem! I have no idea what it is, but it's certainly piqued my curiosity.
 
Assuming that the sampler isn't detuning itself, it would seem that MIDI data is getting munged in transit. To test that hypothesis, reproduce the problem and then go to the server and click on Kontakt's virtual keyboard and see if the note plays as expected. If it does, and I'd be surprised if it didn't, then something is happening to the data stream enroute to the server. 
 
Is the pitch error a consistent whole number of semitone(s), or is it less than a semitone? If it's a dropped bit in the MIDI data, it'll be off by a whole number, e.g. 1, 2, 4, 8, etc. If it's less than a semitone, that would make corrupted MIDI data a less-likely explanation. If the pitch errors are inconsistent, my first guess would be that a non-pitched instrument's (e.g. percussion) MIDI was somehow being routed to a chromatic instrument.
 
How many MIDI ports (not channels) are in use? Could channel N on one port being mis-routed to channel N on another port account for the wrong notes?
 
Another test I'd perform: with the de-tune problem in play, start adding other tracks back in one-by-one. It would be very interesting if, as soon as one of the other tracks was un-muted, the sampler started playing in tune again.
 
Another thought: are there any tracks where multiple tracks are routed to the same instrument? For example, one track for MIDI notes and a separate track for keyswitches. Here's a hypothetical scenario: Track A has a wheel event that shifts the pitch, but you don't hear it because it's being negated by Track B that shares its channel. When you solo A, B's not there to zero the controller.
2016/11/20 00:50:41
jsg
bitflipper
Jerry said it's a MIDI-only project, no audio, no internal synths. All audio is generated on the remote machine.
 
What an interesting and unusual problem! I have no idea what it is, but it's certainly piqued my curiosity.
 
Assuming that the sampler isn't detuning itself, it would seem that MIDI data is getting munged in transit. To test that hypothesis, reproduce the problem and then go to the server and click on Kontakt's virtual keyboard and see if the note plays as expected. If it does, and I'd be surprised if it didn't, then something is happening to the data stream enroute to the server. 
 
Is the pitch error a consistent whole number of semitone(s), or is it less than a semitone? If it's a dropped bit in the MIDI data, it'll be off by a whole number, e.g. 1, 2, 4, 8, etc. If it's less than a semitone, that would make corrupted MIDI data a less-likely explanation. If the pitch errors are inconsistent, my first guess would be that a non-pitched instrument's (e.g. percussion) MIDI was somehow being routed to a chromatic instrument.
 
How many MIDI ports (not channels) are in use? Could channel N on one port being mis-routed to channel N on another port account for the wrong notes?
 
Another test I'd perform: with the de-tune problem in play, start adding other tracks back in one-by-one. It would be very interesting if, as soon as one of the other tracks was un-muted, the sampler started playing in tune again.
 
Another thought: are there any tracks where multiple tracks are routed to the same instrument? For example, one track for MIDI notes and a separate track for keyswitches. Here's a hypothetical scenario: Track A has a wheel event that shifts the pitch, but you don't hear it because it's being negated by Track B that shares its channel. When you solo A, B's not there to zero the controller.




Thanks for the suggestions, not sure what you mean "go to the server and click on Kontakt's virtual keyboard; though I use Kontakt, it is not being used in this piece.  There are 14 MIDI tracks, all being sent out via MIDI over LAN to a dedicated computer.  I am not sure whether the out of tune notes are up a semitone or a whole tone, but it's definitely not just a little out of tune, more like a 1/2 step or whole step.  Also not sure exactly which tracks are out of tune, maybe even all of them.   There are no MIDI tracks sharing channels, each one is on its own dedicated channel.
 
Next time it happens, I'll investigate further, and see if I can pin down the exact track and the actual amount of pitch-shift I am hearing.  
 
Thanks,
Jerry
 
 
 
 
 
 
2016/11/20 06:08:24
tlw
It might be worth running MidiOx on the Sonar and/or VSL computer and routing the MIDI through it. That should confirm what notes and controller data Sonar is sending and whether they are arriving across the network unchanged.
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account