Hello VDJ Community!
I am currently working on a personal project, it is about a midi controller for VDJ using Atmega16 running at 16Mhz max frecuency.
The controller is currently working fine, it can send and receive midi messages, no problems found at this moment. My VDJ recognices it perfectly and im very happy.
Yesterday i decided to export vu meters to give it a better looking. At first, i did it as a "bar of notes". It worked... but if bar is longer than 8 leds system gets slow and led refresh is not good. It sounds logic if i think about how many notes per second are sent to keep leds moving. Now i changed firmware, and implemented it as "CC bar" so i only need one message to change vu meter value. Now performance is much better, system keeps running fine but im still not happy with led refresh, it is slow.
You may think... Is firmware optimized? Yes. I did several optimizations to waste the less clock cycles as possible.
Most of leds are controlled by notes, only vu meter is controlled by CC. System is P4 HT with 1GB of DDR400Mhz... Tested on a much better computer, same.
My question is... is it a software limitation?
Greetings! Glad if someone can help!
I am currently working on a personal project, it is about a midi controller for VDJ using Atmega16 running at 16Mhz max frecuency.
The controller is currently working fine, it can send and receive midi messages, no problems found at this moment. My VDJ recognices it perfectly and im very happy.
Yesterday i decided to export vu meters to give it a better looking. At first, i did it as a "bar of notes". It worked... but if bar is longer than 8 leds system gets slow and led refresh is not good. It sounds logic if i think about how many notes per second are sent to keep leds moving. Now i changed firmware, and implemented it as "CC bar" so i only need one message to change vu meter value. Now performance is much better, system keeps running fine but im still not happy with led refresh, it is slow.
You may think... Is firmware optimized? Yes. I did several optimizations to waste the less clock cycles as possible.
Most of leds are controlled by notes, only vu meter is controlled by CC. System is P4 HT with 1GB of DDR400Mhz... Tested on a much better computer, same.
My question is... is it a software limitation?
Greetings! Glad if someone can help!
Posté Mon 01 Aug 11 @ 2:39 pm