Page 1 of 1

Midi Control gets very low when programming more buttons

Posted: 04 Sep 2011, 13:42
by jmibk
Hi,

new project, new problem:

I've built a usb midi interface with an atmel ATMEGA processor with a lots of midi buttons. It works very good itself.

When i program under 10 buttons to freestyler, the response time of the button is okay, if you program more buttons the response gets extreme slow to fs.
When pressing the button it takes half a second to activate the function (also in midi setup when showing midi address and the "127" value it takes ca. 500 mseconds) and when releasing the button it takes 1 - 2 seconds to deactivate the funktion in fs (when programming a override button as flash button).

Why is that and how can i solve the problem? Faster CPU in the personal computer and other operating system didn't solve the problem. PC is a AMD Quadcore 4x 2,8GHz, 4gig Ram, 64Bit Win7. Same problem with a notebook with 1,7ghz 2gig ram and 32bit xp.
DMX Output is Artnet.

Re: Midi Control gets very low when programming more buttons

Posted: 04 Sep 2011, 13:56
by Spirit
does the device also have any Drivers to install.

i know with the bcf you also have the same problem if you not install the drivers.

/spirit

Re: Midi Control gets very low when programming more buttons

Posted: 04 Sep 2011, 14:22
by jmibk
I've tried the same thing with a pioneer djm900 nexus (its a midi controller too) and there its working.

My project is based on this: http://www.obdev.at/products/vusb/index-de.html and the MIDI: http://cryptomys.de/horo/V-USB-MIDI/index.html

Re: Midi Control gets very low when programming more buttons

Posted: 04 Sep 2011, 14:28
by Spirit
do you also use the Midi output from freestyler?

Re: Midi Control gets very low when programming more buttons

Posted: 04 Sep 2011, 14:39
by jmibk
Yes, i defined the device also in the output. Without it works much better. (Thanks for the hint)

In the future i will use the output function in combination with LEDs and Motorfader.

Re: Midi Control gets very low when programming more buttons

Posted: 04 Sep 2011, 14:46
by Spirit
i think the problem is because the links you gave me i see the device works on USB1.1

and Freestyler realy , Send Alot of output messages. so that makes it slow.
i also had the same issue with my one bcf, on a old pc that only supported usb1.0.

now i use usb2.0 and it works great.

/spirit

Re: Midi Control gets very low when programming more buttons

Posted: 04 Sep 2011, 14:54
by jmibk
I decided to build a PCB with a USB Midi to I2C converter. The switches and faders are on other PCBs connected through I2C on the Master PCB.

Now, i try using another USB connection (like the FT232RL) or a commercial USB Midi converter and my PCB is MIDI to I2C converter.

Re: Midi Control gets very low when programming more buttons

Posted: 04 Sep 2011, 14:57
by Spirit
:D it looks realy iteresting but i do not realy understand you.

but i hoped i solved your problems.

/spirit