Helpful Reply[CWBRN-1336][CWBRN-2503] The "Enable MIDI Output" bug without 3rd party plugins.

Page: < 123 > Showing page 2 of 3
Author
brundlefly
Max Output Level: 0 dBFS
  • Total Posts : 14250
  • Joined: 2007/09/14 14:57:59
  • Location: Manitou Spgs, Colorado
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/12 19:14:19 (permalink)
0
What exactly are you trying to do?



He's trying to get SONAR to distinguish between MIDI events on the same channel arriving from different sources, either by independent physical MIDI ports or MIDI Output from a soft synth.


But SONAR fails to differentiate such sources when recording. It's a bug. It's been verified and reported by a number of users going back at least as far as S7.


I didn't believe it myself when first reported, but I tested it six ways to Sunday, and it's a bonafide SONAR bug.


To the doubters: Test it for yourselves as described here, or in the thread that bvideo linked.


To SilkTone: Don't waste your breath on the doubters who refuse to test it for themselves. 



















#31
SilkTone
Max Output Level: -59.5 dBFS
  • Total Posts : 1566
  • Joined: 2003/11/10 17:41:28
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/12 19:33:37 (permalink)
0
brundlefly


What exactly are you trying to do?


He's trying to get SONAR to distinguish between MIDI events on the same channel arriving from different sources, either by independent physical MIDI ports or MIDI Output from a soft synth.

But SONAR fails to differentiate such sources when recording. It's a bug. It's been verified and reported by a number of users going back at least as far as S7.

I didn't believe it myself when first reported, but I tested it six ways to Sunday, and it's a bonafide SONAR bug.

To the doubters: Test it for yourselves as described here, or in the thread that bvideo linked.

To SilkTone: Don't waste your breath on the doubters who refuse to test it for themselves. 
brundlefly, thanks for your voice of reason. This bug has been driving me up the wall for a long time now (much more than a year, it is just that a year ago I was able to narrow the issue down, hence the web-page I posted at the time). And then to have to spend a lot of time trying to explain the problem to people that just don't want to believe it makes it just so much more unpleasant. There are things I really really want to do in Sonar, but I can't because of this bug. You can't have more than one instance of Catanya, for instance (I think you can use EnergyXT to work around it though, but seriously...). Catanya is a plugin that screams for multiple instances. Every other host can do it, just not Sonar.
 
It is funny, every time this bug comes up, people argue that having crosstalk between the same channels from different ports isn't really a bug. I really wish there was a better way for me to explain it. I think I am not very good at explaining technical details.

Windows 10 Pro x64, SONAR Platinum 64-bit
Focusrite Scarlett 18i8 USB, ASRock Z97 Pro4, Haswell 4790k @ 4.4GHz
32GB DDR3/1600, 500GB SSD (OS) + 256 GB SSD + 3TB MD
NVIDIA GTX-1070, 40" 4K Monitor + 1 Monitor in ISO booth
#32
Stone House Studios
Max Output Level: -40 dBFS
  • Total Posts : 3550
  • Joined: 2004/05/07 15:07:32
  • Location: Natural Bridge, VA USA
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/12 19:53:22 (permalink)
0
SilkTone,
Now that I am home, and can pull up Sonar - I get the answer I was looking for originally "Where does the midi output go?"
Of course, now I understand how it is supposed to work according to Cakewalk.
Again, when I jumped in, and began with "Just curious" - that's all there was to it. I was asking a question, not doubting your findings. I completely get that there should not be cross talk between channels - but I did not understand the relationship between the midi out and how it is to be selected as an input. Now I do.
That said, I am going to put it through its paces here this weekend, using a couple of different midi set ups.
I am curious about any relationships (or non) using hard midi ports and USB midi ports.

Brian

 Core i7-6700@3.40Ghz  Windows 10x64 16 GB RAM
Sonar Platinum/Studio One     PreSonus Studio 192
#33
brundlefly
Max Output Level: 0 dBFS
  • Total Posts : 14250
  • Joined: 2007/09/14 14:57:59
  • Location: Manitou Spgs, Colorado
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/12 19:53:28 (permalink)
0
It is funny, every time this bug comes up, people argue that having crosstalk between the same channels from different ports isn't really a bug. I really wish there was a better way for me to explain it. I think I am not very good at explaining technical details.



I think there are a number of factors working against you:


1. It's unfathomable that such a basic thing is not working properly in a product as advanced as SONAR, and that it was not readily reproduced by the Bakers and fixed at the first opportunity.


2. There are so many ways to screw up both MIDI and audio signal routing in SONAR and be mistaken about what you're seeing and hearing (or not seeing or hearing as the case may be) that experienced users immediately presume some sort of user error - I was guilty of this myself.


3. The soft synth MIDI Out manifestation of the bug is more complicated with more variables, and consequently even more prone to being attributed to user error.


I also think it's easier for people to understand the issue of physical MIDI Inputs exhibiting "crosstalk" between like channels and then see the soft synth problem as an extension of the same bug. But you have to have two physical MIDI IN ports to test this, and many do not.



#34
brundlefly
Max Output Level: 0 dBFS
  • Total Posts : 14250
  • Joined: 2007/09/14 14:57:59
  • Location: Manitou Spgs, Colorado
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/12 20:00:58 (permalink)
0
I am curious about any relationships (or non) using hard midi ports and USB midi ports.



For reference, I originally reproduced the problem with physical MIDI ports, even ports on different devices - one on my 1820M which uses a PCI card, and one on a USB interface. You can read about that in the thread that bvideo linked.




#35
SilkTone
Max Output Level: -59.5 dBFS
  • Total Posts : 1566
  • Joined: 2003/11/10 17:41:28
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/12 20:10:58 (permalink)
0
Stone House Studios


SilkTone,
Now that I am home, and can pull up Sonar - I get the answer I was looking for originally "Where does the midi output go?"
Of course, now I understand how it is supposed to work according to Cakewalk.
Again, when I jumped in, and began with "Just curious" - that's all there was to it. I was asking a question, not doubting your findings. I completely get that there should not be cross talk between channels - but I did not understand the relationship between the midi out and how it is to be selected as an input. Now I do.
That said, I am going to put it through its paces here this weekend, using a couple of different midi set ups.
I am curious about any relationships (or non) using hard midi ports and USB midi ports.

Brian

Brian,
 
Understood. Sorry if I got a bit testy there. I have been struggling with this issue for a long time, and as brundlefly pointed out, the bug is both simple and complex at the same time, depending on how you look at it. It just doesn't make sense when someone else tries to explain it. And as brundlefly said, people usually assume user error unless they try it out themeselves. 
 
As for your question about hard/USB MIDI ports, I think you will find that there isn't any difference. I have both a USB MIDI controller (PCR-50) as well as feeding an Oxygen 8 into my FA-66 using its hard MIDI port. Both reproduce the bug equally. In fact I used these two MIDI keyboards to reproduce the same bug where the MIDI events bleed into each other's tracks when you record both at the same time. Those are completely different MIDI devices using completely different drivers, so I think that rules out a controller/driver bug.
post edited by SilkTone - 2010/02/12 20:14:35

Windows 10 Pro x64, SONAR Platinum 64-bit
Focusrite Scarlett 18i8 USB, ASRock Z97 Pro4, Haswell 4790k @ 4.4GHz
32GB DDR3/1600, 500GB SSD (OS) + 256 GB SSD + 3TB MD
NVIDIA GTX-1070, 40" 4K Monitor + 1 Monitor in ISO booth
#36
rabeach
Max Output Level: -48 dBFS
  • Total Posts : 2703
  • Joined: 2004/01/26 14:56:13
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/12 21:59:55 (permalink)
0

Reproduce steps using [external MIDI keyboard] - Omni:

It is reproducible on my DAW running sonar 8.5.2 when under option/midi devices only one device is selected otherwise the problem does not exist on my/DAW.</Pe3e
post edited by rabeach - 2010/02/12 22:01:48
#37
greysound
Max Output Level: -89 dBFS
  • Total Posts : 55
  • Joined: 2007/03/27 20:30:21
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/13 00:59:16 (permalink)
0
I'm going to risk the wrath of the Cakewalk gods here, but prior to 8.5.2, MIDI-enabled VSTi bugs were already known issues at Cakewalk.  SilkTone has done several thorough step-by-step reproductions of the problem and I've documented my own experiences numerous times.

What remains to be done is to encourage Cakewalk to view these problems as priorities.  While fixing long-standing bugs doesn't make for particularly exciting marketing copy, it plays heavily in user retention.  My own particular work-around involves subhosting energyXT and using it for all VSTi MIDI tasks.  But while I am committed enough to Sonar's workflow to invest money in a bug workaround, other users may simply choose to move on entirely.  Please let Cakewalk know that you care about this issue.

#38
Crg
Max Output Level: 0 dBFS
  • Total Posts : 7719
  • Joined: 2007/11/15 07:59:17
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/13 06:22:17 (permalink)
0
brundlefly



What exactly are you trying to do?



He's trying to get SONAR to distinguish between MIDI events on the same channel arriving from different sources, either by independent physical MIDI ports or MIDI Output from a soft synth.


But SONAR fails to differentiate such sources when recording. It's a bug. It's been verified and reported by a number of users going back at least as far as S7.


I didn't believe it myself when first reported, but I tested it six ways to Sunday, and it's a bonafide SONAR bug.


To the doubters: Test it for yourselves as described here, or in the thread that bvideo linked.


To SilkTone: Don't waste your breath on the doubters who refuse to test it for themselves. 

I fully beleive it to be a bug. I've experienced it my self even when using different ports and channels for different Midi input. But there is a common feature present in all these instances that seems to be being ignored and that is the fact that there is an OS, computer hardware and a VSTi plugin in the data handling path. How do you rule out which is responsible for the problem?
I suppose it's not too much to expect Sonar to regulate all of these factors, I sincerely wish it did.
In addition to all that, how do you know it's not a flaw in the system of Midi?

Craig DuBuc
#39
greysound
Max Output Level: -89 dBFS
  • Total Posts : 55
  • Joined: 2007/03/27 20:30:21
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/13 10:59:59 (permalink)
0
Crg

I fully beleive it to be a bug. I've experienced it my self even when using different ports and channels for different Midi input. But there is a common feature present in all these instances that seems to be being ignored and that is the fact that there is an OS, computer hardware and a VSTi plugin in the data handling path. How do you rule out which is responsible for the problem?
I suppose it's not too much to expect Sonar to regulate all of these factors, I sincerely wish it did.
In addition to all that, how do you know it's not a flaw in the system of Midi?
This isn't obvious?

The MIDI specification has nothing in it regarding VSTi MIDI implementation.  It predates VSTs by many, many years.  By today's standards, MIDI is quite simplistic.  It designates channels, controllers, timing and note information and very little else.  While MIDI certainly has very dated specifications, pointing the finger there is a bit like blaming the alphabet for a misspelled word.

As for OS and computer hardware, I would simply point to the fact that many other packages handle this scenario with ease and the problem has manifested itself on multiple hardware and OS platforms.

Regarding VSTi MIDI implementation, yes, this absolutely could be a factor...except for the fact that these problems occur identically with multiple MIDI-enabled VST instruments from different manufacturers, including Cakewalk.  However these same instruments work perfectly when circumventing the problem with a subhost, which points to the host itself as the culprit.  (I suspect the reason for the subhost solution is that the subhost is not multithreading the instruments as Sonar is.  But better to single thread just a few MIDI applications rather than all of Sonar.)

The only common link would appear to be Sonar itself.




#40
SilkTone
Max Output Level: -59.5 dBFS
  • Total Posts : 1566
  • Joined: 2003/11/10 17:41:28
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/13 12:16:49 (permalink)
0
Crg
I fully beleive it to be a bug. I've experienced it my self even when using different ports and channels for different Midi input. But there is a common feature present in all these instances that seems to be being ignored and that is the fact that there is an OS, computer hardware and a VSTi plugin in the data handling path. How do you rule out which is responsible for the problem?
I suppose it's not too much to expect Sonar to regulate all of these factors, I sincerely wish it did.
In addition to all that, how do you know it's not a flaw in the system of Midi?
If you read any forum thread that talks about Sonar + Catanya for instance, you will see people bemoan the fact that Sonar can't handle multiple instances of Catanya, while every other host can. You can substitute Catanya with Jamstix, and the exact same propblem occurs, or any other VSTi that is capable of sending MIDI events out.
 
And how do you explain the simple fact that Sonar can't record from two MIDI keyboards at the same time without the two keyboard's events bleeding into each other's tracks? That is as basic MIDI functionality as you can ask from a DAW, yet Sonar is incapable of doing even that. From a technical point, I see no way how such a bug can be in anything other than Sonar.
 
Personally I have seen this on XP, Vista and now Windows 7. I have seen it on every version of Sonar going back to at least Sonar 7, and maybe even earlier. I have also seen it using different MIDI keyboards from different vendors, using different drivers.

Windows 10 Pro x64, SONAR Platinum 64-bit
Focusrite Scarlett 18i8 USB, ASRock Z97 Pro4, Haswell 4790k @ 4.4GHz
32GB DDR3/1600, 500GB SSD (OS) + 256 GB SSD + 3TB MD
NVIDIA GTX-1070, 40" 4K Monitor + 1 Monitor in ISO booth
#41
Stone House Studios
Max Output Level: -40 dBFS
  • Total Posts : 3550
  • Joined: 2004/05/07 15:07:32
  • Location: Natural Bridge, VA USA
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/13 16:11:43 (permalink)
0
greysound - "Blaming the alphabet for a misspelled word"  Classic!
 
Brian

 Core i7-6700@3.40Ghz  Windows 10x64 16 GB RAM
Sonar Platinum/Studio One     PreSonus Studio 192
#42
SilkTone
Max Output Level: -59.5 dBFS
  • Total Posts : 1566
  • Joined: 2003/11/10 17:41:28
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/13 16:21:59 (permalink)
0
BTW, I called tech support on Wednesday, and after carefully explaining how to reproduce the bug using Catanya, I got an email back the next day with the conclusion "...a bug in their [Catanya] software or a limitation". Completely missed the point.
post edited by SilkTone - 2010/02/16 16:19:22

Windows 10 Pro x64, SONAR Platinum 64-bit
Focusrite Scarlett 18i8 USB, ASRock Z97 Pro4, Haswell 4790k @ 4.4GHz
32GB DDR3/1600, 500GB SSD (OS) + 256 GB SSD + 3TB MD
NVIDIA GTX-1070, 40" 4K Monitor + 1 Monitor in ISO booth
#43
Crg
Max Output Level: 0 dBFS
  • Total Posts : 7719
  • Joined: 2007/11/15 07:59:17
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/13 17:05:24 (permalink)
0
greysound


Crg

I fully beleive it to be a bug. I've experienced it my self even when using different ports and channels for different Midi input. But there is a common feature present in all these instances that seems to be being ignored and that is the fact that there is an OS, computer hardware and a VSTi plugin in the data handling path. How do you rule out which is responsible for the problem?
I suppose it's not too much to expect Sonar to regulate all of these factors, I sincerely wish it did.
In addition to all that, how do you know it's not a flaw in the system of Midi?
This isn't obvious?

The MIDI specification has nothing in it regarding VSTi MIDI implementation.  It predates VSTs by many, many years.  By today's standards, MIDI is quite simplistic.  It designates channels, controllers, timing and note information and very little else.  While MIDI certainly has very dated specifications, pointing the finger there is a bit like blaming the alphabet for a misspelled word.

As for OS and computer hardware, I would simply point to the fact that many other packages handle this scenario with ease and the problem has manifested itself on multiple hardware and OS platforms.

Regarding VSTi MIDI implementation, yes, this absolutely could be a factor...except for the fact that these problems occur identically with multiple MIDI-enabled VST instruments from different manufacturers, including Cakewalk.  However these same instruments work perfectly when circumventing the problem with a subhost, which points to the host itself as the culprit.  (I suspect the reason for the subhost solution is that the subhost is not multithreading the instruments as Sonar is.  But better to single thread just a few MIDI applications rather than all of Sonar.)

The only common link would appear to be Sonar itself.


It's not obvious to me. I'm a Midi Idiot. What exactly do mean by a sub host? I did some researching today trying to find a GM2 .ins to, put in my instrument definitions and one of the articles I read stated that it was a common action for Midi to obliterate same note occurences when two different Midi inputs sent the same note data at the same time due to the serial nature of Midi information. I wish I'd have saved the link. I'll see if I can find it again.

Craig DuBuc
#44
SilkTone
Max Output Level: -59.5 dBFS
  • Total Posts : 1566
  • Joined: 2003/11/10 17:41:28
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/13 17:23:15 (permalink)
0
Crg


greysound


Crg

I fully beleive it to be a bug. I've experienced it my self even when using different ports and channels for different Midi input. But there is a common feature present in all these instances that seems to be being ignored and that is the fact that there is an OS, computer hardware and a VSTi plugin in the data handling path. How do you rule out which is responsible for the problem?
I suppose it's not too much to expect Sonar to regulate all of these factors, I sincerely wish it did.
In addition to all that, how do you know it's not a flaw in the system of Midi?
This isn't obvious?

The MIDI specification has nothing in it regarding VSTi MIDI implementation.  It predates VSTs by many, many years.  By today's standards, MIDI is quite simplistic.  It designates channels, controllers, timing and note information and very little else.  While MIDI certainly has very dated specifications, pointing the finger there is a bit like blaming the alphabet for a misspelled word.

As for OS and computer hardware, I would simply point to the fact that many other packages handle this scenario with ease and the problem has manifested itself on multiple hardware and OS platforms.

Regarding VSTi MIDI implementation, yes, this absolutely could be a factor...except for the fact that these problems occur identically with multiple MIDI-enabled VST instruments from different manufacturers, including Cakewalk.  However these same instruments work perfectly when circumventing the problem with a subhost, which points to the host itself as the culprit.  (I suspect the reason for the subhost solution is that the subhost is not multithreading the instruments as Sonar is.  But better to single thread just a few MIDI applications rather than all of Sonar.)

The only common link would appear to be Sonar itself.


It's not obvious to me. I'm a Midi Idiot. What exactly do mean by a sub host? I did some researching today trying to find a GM2 .ins to, put in my instrument definitions and one of the articles I read stated that it was a common action for Midi to obliterate same note occurences when two different Midi inputs sent the same note data at the same time due to the serial nature of Midi information. I wish I'd have saved the link. I'll see if I can find it again.

You can get plugins that you can insert into Sonar that act as a host themselves. So you can insert additional plugins within this plugin, and the MIDI and audio routing etc of all the sub-hosted plugins will be handled by that plugin, instead of Sonar.  Doing this, you can work around bugs in the main host's routing implementation.
 
As far as your comment about the serial nature of MIDI... This is only relevant within the same MIDI "port". The original MIDI spec only allowed for 16 channels. This is far too few unique channels for a DAW, and the way to work around this limitation is to create the concept of a port (or simply "MIDI input" or "MIDI output" as they are called in Sonar), where each one can carry 16 unique channels, labeled 1 through 16. Just because one channel in a port is called "channel 1" doesn't mean it is the same as another channel in a different port called "channel 1". Just like the "left" channel on a stereo mixer's track 1 is not the same as the "left" channel of track 2 (there should be no crosstalk between them). Similarly, there should be no crosstalk between channels on different MIDI ports. That is the whole point - that you can have essentially an unlimited number of unique MIDI channels. If that was not the case, why even have ports? Why not call everything just "channel 1" through "channel 16", since channel 1 in port A is the same thing as channel 1 in port B?
post edited by SilkTone - 2010/02/13 17:25:08

Windows 10 Pro x64, SONAR Platinum 64-bit
Focusrite Scarlett 18i8 USB, ASRock Z97 Pro4, Haswell 4790k @ 4.4GHz
32GB DDR3/1600, 500GB SSD (OS) + 256 GB SSD + 3TB MD
NVIDIA GTX-1070, 40" 4K Monitor + 1 Monitor in ISO booth
#45
Crg
Max Output Level: 0 dBFS
  • Total Posts : 7719
  • Joined: 2007/11/15 07:59:17
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/13 17:49:44 (permalink)
0
SilkTone


Crg
I fully beleive it to be a bug. I've experienced it my self even when using different ports and channels for different Midi input. But there is a common feature present in all these instances that seems to be being ignored and that is the fact that there is an OS, computer hardware and a VSTi plugin in the data handling path. How do you rule out which is responsible for the problem?
I suppose it's not too much to expect Sonar to regulate all of these factors, I sincerely wish it did.
In addition to all that, how do you know it's not a flaw in the system of Midi?
If you read any forum thread that talks about Sonar + Catanya for instance, you will see people bemoan the fact that Sonar can't handle multiple instances of Catanya, while every other host can. You can substitute Catanya with Jamstix, and the exact same propblem occurs, or any other VSTi that is capable of sending MIDI events out.
 
And how do you explain the simple fact that Sonar can't record from two MIDI keyboards at the same time without the two keyboard's events bleeding into each other's tracks? That is as basic MIDI functionality as you can ask from a DAW, yet Sonar is incapable of doing even that. From a technical point, I see no way how such a bug can be in anything other than Sonar.
 
Personally I have seen this on XP, Vista and now Windows 7. I have seen it on every version of Sonar going back to at least Sonar 7, and maybe even earlier. I have also seen it using different MIDI keyboards from different vendors, using different drivers.

Well, I'll tell you about an experience I've had with the Fantom Synth.With going into some long details about voice capacity of the Fantom which is a 128 voice polyphony-16 channel synth.
I recorded a backing track using a large number of channels loaded with Fantom presets that contained generally four voices in various combinations in each loaded instrument. That would encompass a channel 1 instrument driving several other instruments, a bass, drums, strings and string channel driven instruments. Every thing worked as expected when recording or playing the recorded Midi voices through the Fantom.
When I attempted to play a second part on different channels of the Fantom that weren't linked to the original channels while playing the recorded voices through the Fantom, the problem you describe occured. Notes in the recorded backing track material were noticably dimmed or replaced by the new notes I was inputing. The problem was more severe if I used the same notes in the same octave and the exact same note at the exact same time was replaced by the new note in most instances depending on the pressure with which it was applied. Same velocity or higher with the new notes replaced the backing track note through the Fantom. A lower velocity strike on the new notes dimmed the backing track notes.
If I recorded the Midi backing tracks down to an Audio file and muted the Midi backing tracks and played the Audio track, there was no problem with the New Midi note input.
So at this point I can't say if the problem was due to the voice limitation of the Fantom, the data handling characteristics of Midi or Sonar. This problem is so similar to yours I have to narrow it down to the voicing capacity of the Fantom or the data handling of Midi.

Craig DuBuc
#46
auto_da_fe
Max Output Level: -56.5 dBFS
  • Total Posts : 1866
  • Joined: 2004/08/04 21:32:18
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/15 08:20:28 (permalink)
0
Silk Tone...

I have Jamstix3 and Catanya and I know exactly what you are talking about here. 

Glad to see you got the bug to show itself with Sonar bundled vsti's.

I have never before noticed any serious flaws with Sonar until I started using vsti 'enable midi output'  to trigger another soft synth.   This function is just super buggy and very unreliable / un predictable.

JR

HP DV6T - 2670QM, 8 GB RAM,
Sonar Platypus,  Octa Capture, BFD2 & Jamstix3, Komplete 10 and Komplete Kontrol
Win 10 64 
SLS PS8R Monitors and KRK Ergo
https://soundcloud.com/airportface
#47
bvideo
Max Output Level: -58 dBFS
  • Total Posts : 1707
  • Joined: 2006/09/02 22:20:02
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/15 09:19:26 (permalink)
0
Silktone,
  I am now concerned that you might be offering a different bug as a symptom of your original VST midi out bug. If it were me, I would not want Cakewalk to think they had fixed the (likely more complicated) VST out & buffer corruption bug just because they fixed the (very likely simpler) bug of channel interference between ports.
  Bill B.
#48
brundlefly
Max Output Level: 0 dBFS
  • Total Posts : 14250
  • Joined: 2007/09/14 14:57:59
  • Location: Manitou Spgs, Colorado
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/15 10:29:26 (permalink)
0
am now concerned that you might be offering a different bug as a symptom of your original VST midi out bug. If it were me, I would not want Cakewalk to think they had fixed the (likely more complicated) VST out & buffer corruption bug just because they fixed the (very likely simpler) bug of channel interference between ports.



I don't know, Billy. I think they are very likely the same bug. It all comes down to whether a MIDI track that is armed and recording ignores events coming in from a source other than the one assigned as input, whether that other sources is a another physical port, or an VSTi MIDI output.


Its all virtual MIDI messages flying around inside the code, and, and at some point, I don't think SONAR distinguishes between physical sources and virtual sources.

That said, I think Sikltone's test procedure and information will tell them more about the root cause than will the physical port manifestation.

Personally, I suspect Development knows about it and has a good idea what the root cause is, but has determined that it's going to be a bear to fix without producing a lot of fallout because of the way MIDI is handled at a low level in the code.





#49
SilkTone
Max Output Level: -59.5 dBFS
  • Total Posts : 1566
  • Joined: 2003/11/10 17:41:28
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/15 11:31:12 (permalink)
0
bvideo


Silktone,
I am now concerned that you might be offering a different bug as a symptom of your original VST midi out bug. If it were me, I would not want Cakewalk to think they had fixed the (likely more complicated) VST out & buffer corruption bug just because they fixed the (very likely simpler) bug of channel interference between ports.
Bill B.

I know what you are saying, but I really believe they are the same bug. The symptoms are the same: If you record from two external keyboards, when you select "external keyboard - Omni", it records all notes from the other keyboard. If you select "external keyboard - Ch. 1", it won't record the other keyboard's notes, but notes you play on one keyboard will be cut short the instant you play the same note on the other keyboard. Now if you substitute a VSTi's output in place of one of the external keyboards, the results are exactly the same. That is why I believe it is the same bug. 
 
But just to be safe (since just like you I thought it could be different bugs), I submitted bug reports for both scenarios. They might test it and determine it is the same bug. On the other hand, if it is two different bugs, they will at least have steps to reproduce both scenarios.
post edited by SilkTone - 2010/02/15 11:32:18

Windows 10 Pro x64, SONAR Platinum 64-bit
Focusrite Scarlett 18i8 USB, ASRock Z97 Pro4, Haswell 4790k @ 4.4GHz
32GB DDR3/1600, 500GB SSD (OS) + 256 GB SSD + 3TB MD
NVIDIA GTX-1070, 40" 4K Monitor + 1 Monitor in ISO booth
#50
bvideo
Max Output Level: -58 dBFS
  • Total Posts : 1707
  • Joined: 2006/09/02 22:20:02
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/15 11:33:43 (permalink)
0
brundlefly,
 In a previous post silktone published what I think could be a different list of bugs (italics added by me):
Bug #1: When a VSTi plugin is configured with Enable MIDI Output turned on, and it passes incoming MIDI events straight through, the incoming buffer of MIDI events sometimes becomes corrupted. This results in stuck notes.

Bug #2: If the input of a completely unrelated MIDI track has its input set to that of an external MIDI controller, and that track is put into record mode, it not only records the input from the MIDI controller (as expected), but also what the unrelated VSTi is outputting at the time (not as expected).

Bug #3: If a MIDI track's input is set to an external MIDI controller, and its output is fed into a VSTi that has Enable MIDI Output turned on, it will record ghost notes of everything that is played on the MIDI controller. This might just be the same bug as #2 above but just manifesting in a different way.

The "stuck notes," "corrupted buffers," and "ghost notes," and especially "...sometimes...," make me think it is a different bug. When I was experimenting, I never found ghost notes or any unexpected notes recorded. Only notes truncated at the moment of "note on" from an unrelated port (granted, from either external or VSti midi sources), without fail.

Also the maxim "don't stop at one bug" (c.f. Kernighan and Plauger) applies, here especially. Hopefully whatever fix(es) they come up with, they will test against all the offered test cases. And maybe they should fix a few other anomalies like stuck notes when soloing or muting.

Bill B.
#51
brundlefly
Max Output Level: 0 dBFS
  • Total Posts : 14250
  • Joined: 2007/09/14 14:57:59
  • Location: Manitou Spgs, Colorado
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/15 11:53:43 (permalink)
0
don't stop at one bug



I'm not saying it's unlikely there are no secondary issues. But these three issues all involve what happens with MIDI input. I'm thinking input "corruption" of #1 is due to the VSTi seeing it's own output at the input. Ghost notes and stuck notes may indeed be a different manifestation of the same problem seen with physical ports - different because the VSTi output is seen back at the input much faster and nearer simultaneously in the virtual environment than it is when looped back via physical cables, or from multiple keyboards being played "simultaneously".




#52
SilkTone
Max Output Level: -59.5 dBFS
  • Total Posts : 1566
  • Joined: 2003/11/10 17:41:28
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/15 11:58:20 (permalink)
0
bvideo


brundlefly,
 In a previous post silktone published what I think could be a different list of bugs (italics added by me):
Bug #1: When a VSTi plugin is configured with Enable MIDI Output turned on, and it passes incoming MIDI events straight through, the incoming buffer of MIDI events sometimes becomes corrupted. This results in stuck notes.

Bug #2: If the input of a completely unrelated MIDI track has its input set to that of an external MIDI controller, and that track is put into record mode, it not only records the input from the MIDI controller (as expected), but also what the unrelated VSTi is outputting at the time (not as expected).

Bug #3: If a MIDI track's input is set to an external MIDI controller, and its output is fed into a VSTi that has Enable MIDI Output turned on, it will record ghost notes of everything that is played on the MIDI controller. This might just be the same bug as #2 above but just manifesting in a different way.

The "stuck notes," "corrupted buffers," and "ghost notes," and especially "...sometimes...," make me think it is a different bug. When I was experimenting, I never found ghost notes or any unexpected notes recorded. Only notes truncated at the moment of "note on" from an unrelated port (granted, from either external or VSti midi sources), without fail.

Also the maxim "don't stop at one bug" (c.f. Kernighan and Plauger) applies, here especially. Hopefully whatever fix(es) they come up with, they will test against all the offered test cases. And maybe they should fix a few other anomalies like stuck notes when soloing or muting.

Bill B.

Bill,
 
You might very well be right. The stuck notes one is rare, while all the other symptoms are 100% reproducible. For the stuck notes to occur, there needs to be a small amount of inherent delay in the VSTi (as in CPU usage, not delay compensation, which is different). The plugin I provide on that web page allows you to add a very small amount of artificial delay (CPU usage) to its MIDI handling function. This simulates a typical plugin better because the plugin I provided there doesn't do any processing on the data, so when the host calls into the function to deliver the MIDI events, it returns almost immediately. The optional delay helps in correcting this situation.
 
The first time I noticed these stuck notes, I was using JMT Orchestrator, which is a VSTi that creates a lot of its own MIDI events and so its processing will add some delay. This seems to indicate that there is a multithreading issue. If there is some delay in the function that the host calls into to deliver the MIDI events to the plugin, that thread might become pre-empted (pauses), and other threads start processing data. If there is a multithreading bug, another thread can modify the contents of the original buffer of data that the first call is still working on, and this could result in the corrupted data, and hence stuck notes.
 
So even though these could be different bugs, I think the root cause is that there is a flaw in Sonar where it re-uses buffers incorrectly, whether between different threads, or between different ports. The code that needs to be fixed in both cases may or may not be the same code. My rough guess is that it is probably the same code. But only Cakewalk would know for sure, and the best we can do is speculate.

Windows 10 Pro x64, SONAR Platinum 64-bit
Focusrite Scarlett 18i8 USB, ASRock Z97 Pro4, Haswell 4790k @ 4.4GHz
32GB DDR3/1600, 500GB SSD (OS) + 256 GB SSD + 3TB MD
NVIDIA GTX-1070, 40" 4K Monitor + 1 Monitor in ISO booth
#53
SilkTone
Max Output Level: -59.5 dBFS
  • Total Posts : 1566
  • Joined: 2003/11/10 17:41:28
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/15 12:17:12 (permalink)
0
BTW, here is another bit of strangeness I found...

If you record from an external MIDI keyboard using "external keyboard - Omni" and outputting to a VSTi MIDI output, the bug only manifests if you have one MIDI input driver enabled. If you have two enabled, then there is no crosstalk, although you will still get notes cut short if you select "external keyboard - Ch. 1". Maybe what happens in this case is that it is appropriating the unused MIDI input driver's buffer to use for the VSTi's output instead of the one that is actually doing the recording (well, appropriating either would be wrong of course).
post edited by SilkTone - 2010/02/15 12:18:19

Windows 10 Pro x64, SONAR Platinum 64-bit
Focusrite Scarlett 18i8 USB, ASRock Z97 Pro4, Haswell 4790k @ 4.4GHz
32GB DDR3/1600, 500GB SSD (OS) + 256 GB SSD + 3TB MD
NVIDIA GTX-1070, 40" 4K Monitor + 1 Monitor in ISO booth
#54
Ryan Munnis [Cakewalk]
Administrator
  • Total Posts : 1067
  • Joined: 2009/11/01 10:28:44
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/16 10:43:23 (permalink)
0
SilkTone,
 
Please refrain from attacking Cakewalk Technical Support regarding this issue. Our support representatives have been trying to assist you but have been met with hostility that you "have been trying to get in contact with us for over a year regarding this issue and have yet to hear a reply". As we explained to you in private messages previously, the Cakewalk User Forums are not an official way to get in contact with Cakewalk Technical Support as we do not monitor these forums. Additionally, the Cakewalk Problem Report Form is not an official way to open up a dialog with Cakewalk Technical Support. This is explained directly in the problem report form. Regarding your problem report submissions, I researched several of the ones that you have submitted. Below:
 
CWBRN-1336 - Status - Submitted to Development
CWBRN-2503 - Status - Closed - Duplicate Entry
CWBRN-2534 - Status - Submitted to Development
CWBRN-2533 - Status - Submitted to Development
 
Any problem reports that have not had their status changed are still being looked into.
 
To summarize, we are trying to assist. The issues that are known issues have been submitted to our development team in hopes to address in a future release.
post edited by Ryan Munnis [Cakewalk] - 2010/02/16 10:44:47

Ryan Munnis
Cakewalk
#55
SilkTone
Max Output Level: -59.5 dBFS
  • Total Posts : 1566
  • Joined: 2003/11/10 17:41:28
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/16 11:26:27 (permalink)
0
Ryan Munnis [Cakewalk
]

SilkTone,

Please refrain from attacking Cakewalk Technical Support regarding this issue. Our support representatives have been trying to assist you but have been met with hostility that you "have been trying to get in contact with us for over a year regarding this issue and have yet to hear a reply". As we explained to you in private messages previously, the Cakewalk User Forums are not an official way to get in contact with Cakewalk Technical Support as we do not monitor these forums. Additionally, the Cakewalk Problem Report Form is not an official way to open up a dialog with Cakewalk Technical Support. This is explained directly in the problem report form. Regarding your problem report submissions, I researched several of the ones that you have submitted. Below:

CWBRN-1336 - Status - Submitted to Development
CWBRN-2503 - Status - Closed - Duplicate Entry
CWBRN-2534 - Status - Submitted to Development
CWBRN-2533 - Status - Submitted to Development

Any problem reports that have not had their status changed are still being looked into.

To summarize, we are trying to assist. The issues that are known issues have been submitted to our development team in hopes to address in a future release.
Ryan,
 
How exactly have your support representatives been able to "assist" me? When I called tech support and carefully explained the problem using Catanya as an example, the email response I got back stated "...which means it’s implementation issues with their software [Catanya]".
 
It is great that Cakewalk has finally left the denial stage of this bug - it almost took a whole year after I filed the first report of this problem using your official reporting system. This has nothing to do with the forum.
 
But logging an official bug report didn't do anything. CWBRN-1336 was filed on 2/25/2009, even though the report itself incorrectly states the date as 9/22/2009 (I believe you ported your bug reports to a new database, and the dates got mangled). So what should I have done? The report says "Submitted to Development". That tells me zero about whether it can be reproduced by Cakewalk or any other relevant status. So I filed additional reports with different ways to duplicate the same bug. Can you give me advice of what I should have been doing otherwise seeing as Cakewalk has been denying the problem up until a few days ago?
 
BTW, the "Duplicate Entry" report was an accident on my part. After I submitted the report, I switched to a different tab in the browser. After a while I did a "Refress All" for all tabs, and for some reason your report form re-submitted the exact same report again without me clicking on Submit again (even though it was sitting at the "Thanks for submitting..." page, the one that contains the report number). Yea, so sorry for that one, it wasn't intentional.
 
Honestly, given how difficult it was to get Cakewalk to acknowledge the bug, I think the last thing you can do is blame me for anything...
 
EDIT: BTW, you make it sound as if I logged the exact same thing multiple times. Remember that at the time I filed these reports, Cakewalk was still denying that the bug existed at all. I'll add the titles of the bug reports, showing how they are different ways to reproduce the same bug (and please forgive me for trying to give you multiple ways to reproduce the bug):
 
CWBRN-1336 - Multiple MIDI bugs, all related to VSTi MIDI output
CWBRN-2504 - Bugs related to the "Enable MIDI Output" functionality (this refers back to 1336 and gives additional info on how to reproduce it) 
CWBRN-2534 - Can't record from two MIDI keyboards at the same time
CWBRN-2533 - MIDI notes cut short when a different source sends notes
post edited by SilkTone - 2010/02/16 11:56:09

Windows 10 Pro x64, SONAR Platinum 64-bit
Focusrite Scarlett 18i8 USB, ASRock Z97 Pro4, Haswell 4790k @ 4.4GHz
32GB DDR3/1600, 500GB SSD (OS) + 256 GB SSD + 3TB MD
NVIDIA GTX-1070, 40" 4K Monitor + 1 Monitor in ISO booth
#56
Ryan Munnis [Cakewalk]
Administrator
  • Total Posts : 1067
  • Joined: 2009/11/01 10:28:44
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/16 13:28:33 (permalink)
0
Steven,

To clarify, "Submitted to Development" means that our staff has indeed reproduced the issue and has submitted a step-by-step recipe that demonstrates the behavior in question. For future references, you can consider this official acknowledgment from Cakewalk that the issue is indeed a valid one.

I'm not sure where Cakewalk denied the existence of this issue. We have suggested a work-around in the meantime as a way of getting around this behavior until it addressed in the future.

You are correct in that CWBRN-1336 was ported to a new database where we could manage submissions more accurately and efficiently. I apologize for any confusion on your end as a result of this. Please understand that this was indeed for the benefit of our users to track his/her problem report submissions as well as for us to more easily manage the status of these reports (in regards to duplicate entries, problems that have been already resolved in updates, problems that may be system specific and require more info, as well as problems with SONAR that are still standing and we hope to address)

For what it is worth, initial reports of this issue were submitted by a different SONAR user prior to your report. Upon receiving and reviewing your reports, our staff changed the status to "Submitted to Development" or "Duplicate" for our own internal reporting system.

Our support staff has assisted you in taking time to look into your problem report submissions as well as to look into Catanya's behavior itself to see if these issues were related or separate. The representative you corresponded with explained more odd behavior in regards to Catanya rather than simply pointing the finger at Catanya and denying that this issue was related to SONAR. If we ever ask for step-by-step recipes that eliminate third-party plug-ins, it is only because we are trying to accurately report issues internally with as much information as possible.

Please understand that I am not blaming you for any confusion in regards to your reports, I am simply trying to clarify that we have acknowledged this issue and have forwarded your reports as you requested. In the meantime, all we can suggest is to specify different MIDI channels when running into this behavior under specific circumstances.
post edited by Ryan Munnis [Cakewalk] - 2010/02/16 13:34:19

Ryan Munnis
Cakewalk
#57
aj
Max Output Level: -69 dBFS
  • Total Posts : 1084
  • Joined: 2003/12/08 08:21:36
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/19 17:45:06 (permalink)
0
Ryan

I've got a lot of sympathy for Silktone here. Perhaps you should consider making your defect management somewhat more public.

Consider how Cockos does it, for instance. They provide a specific issue tracker sub-forum and this is what they say

QUOTE

If you need REAPER help, have a performance problem, or are not 100% certain that the unexpected behavior is a bug, please discuss it in the user forum, not here.

Bugs should be specific and reproducible. Feature requests should be clearly described. Very popular feature requests will be automatically marked as elevated, and closed to new posts.

The issue tracker will be actively moderated to try to maintain a high signal to noise ratio. If you want to be counted in support of (or against) a bug report or feature request, please use the yes/no buttons. Only add a comment if you have additional information. Content-free posts will be deleted. Thanks!

UNQUOTE

This provides a clean, moderated and efficient way for users to determine if the problem is a known issue, or to discuss proposed enhancements.

At present it is immensely frustrating for Sonar users who may or may not be experiencing a known issue, and I can entirely understand, as a professional software developer myself, why at times the discussions will become a little fraught.

Now I doubt very much that Reaper's bug count is any less than Sonar's, but they are engaging in a much more coordinated way with their users and you need to seriously think about this.

In an ideal world, your confirmed defect list should be entirely public. This shocks many software companies, who feel that if users knew about all the reported defects, they would not use the software. However, consider that pretty much all open source projects have entirely public defect lists and some of these - Google's Android springs to mind - aren't exactly 'two guys in a garage' kind of affairs. You need to open up here on known issues.  Even Microsoft publishes many of the known issues with its product - not all (I know they maintain a secret internal bug list, having been closely involved with them in the past).

Finally, you really do - admit it! -  have rather a backlog of annoying issues to address. The track template volume level problem I reported, for instance. Also a number of other residual issues with instrument tracks, which are still not entirely bug-free.

I appreciate that fixing bugs doesn't sell new copies of Sonar, but it certainly causes existing users to start thinking about alternatives.


#58
SilkTone
Max Output Level: -59.5 dBFS
  • Total Posts : 1566
  • Joined: 2003/11/10 17:41:28
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/19 17:49:55 (permalink)
0
I posted the below in a different thread, but I think I will repost it here because this thread is specific to this issue:

I had a good email discussion with TS and they have duplicated the problem and are fully aware of it now (including their development department). This includes both recording from two MIDI keyboards, as well as problems you run into when a VSTi sends MIDI events out (they see this as two seperate bugs, but that is fine, as long as they can reproduce both scenarios they will fix all related bugs). Unfortunately, since only me and one other person filed bug reports on this, they don't consider this important enough to fix anytime soon. Personally I don't agree with that because I believe this is the root cause of many weird MIDI related problems that people have been running into. Quite a few people have lately commented they ran into this, and a quick search showed an almost 2 year old thread where someone ran into this exact same problem (could not record from two keyboards), but of course that person is not going to file a bug report because everyone essentially told him it must be user error. Unfortunately I think that is a very common (and wrong) conclusion for this particular bug given its nature, hence so few bug reports filed against it. EDIT: Also, when you run into this when using a VSTi's MIDI output, the thing that makes the most sense is that it has to be a bug in the 3rd party VSTi, so once again, no bug filed. 
 
So if anyone has run into this, please file a bug report, mentioning "Problems with MIDI crosstalk" or something similar so that they can finally connect these issues to the same bug(s). 
 
BTW, I realize recording from two MIDI keyboards is not something many people do, but there are more and more VSTis that can send MIDI events out (Jamstix, Catanya, Widening Meter Pro, Atomic, ERA, ReVisit, and others), and if you use those, you will run into this if you want to record anything from a MIDI controller at the same time. So I think this is much less of an edge case as what it might appear to some people.
post edited by SilkTone - 2010/02/19 17:57:26

Windows 10 Pro x64, SONAR Platinum 64-bit
Focusrite Scarlett 18i8 USB, ASRock Z97 Pro4, Haswell 4790k @ 4.4GHz
32GB DDR3/1600, 500GB SSD (OS) + 256 GB SSD + 3TB MD
NVIDIA GTX-1070, 40" 4K Monitor + 1 Monitor in ISO booth
#59
Thrillington
Max Output Level: -89 dBFS
  • Total Posts : 92
  • Joined: 2009/11/08 22:51:32
  • Location: New Zealand
  • Status: offline
Re:Finally been able to duplicate the "Enable MIDI Output" bug without 3rd party plugins. 2010/02/19 18:22:10 (permalink)
0
"Consider how Cockos does it, for instance"

Cockos do it like the Chinese- piggybacking on 2 decades of others peoples work and then claiming they are game changers by selling it real cheap.

Vista 32bit, Dual Core 3 Gigs, UA-101
#60
Page: < 123 > Showing page 2 of 3
Jump to:
© 2025 APG vNext Commercial Version 5.1