Page 1 of 2

sound 2 light problems

Posted: Thu Jan 08, 2015 9:19 am
by KOUTRONAS Mixalis
when i am using sound 2 light feature the above problem occur. when i am using the first time its ok when i am unchecking it and restart it the cpu goes 100% and the spectrum goes very slow

I am using it on windows xp sp3 and an athlon64 3400+ 2.4 ghz 2gb ram

thank you

sount 2 light problems

Posted: Thu Jan 08, 2015 9:45 am
by Jano Svitok
QLC+ version? If you are using version older than 4.8.3 please upgrade and tell us the result.

sount 2 light problems

Posted: Thu Jan 08, 2015 12:33 pm
by KOUTRONAS Mixalis
qlc version 4.8.3 same thing happen audio trigger work correctly when i stop it and restart it its freeze thanks for helping me

Re: sound 2 light problems

Posted: Mon May 04, 2015 8:18 am
by Mixalisfr
So i filmed a video showing what happeneing with audio trggers

Pc specs athlon64 3400+ k8vmx asus 2GB ddr400 alc 655
enttec ode art.net

the same happens in a laptop dual core amd turon connexent audio card
without capturing the cpu is 2 to 8% load

Re: sound 2 light problems

Posted: Mon May 04, 2015 1:58 pm
by mcallegari
Athlon64 3400+ is a 12 years old, single core processor with slow RAMs.
On that core QLC+ has to process audio data (FFT) and do visual rendering of the bars.

I don't think that computer is enough for that specific functionality.

The AMD Turion (X2?) is 10 years old as well.
Unfortunately QLC+ can't do miracles.

Re: sound 2 light problems

Posted: Tue Jun 16, 2015 7:13 am
by Mixalisfr
whats the system requirements. to actualy be able to work with fft turon x2 still load 100* cpu

Re: sound 2 light problems

Posted: Tue Jun 16, 2015 9:17 am
by mcallegari
There are quite a few variables in the game when playing with audio triggers:
1) the fftw computation
2) how many bars you're using
3) the graphics real-time rendering of the bars in the UI

I would say #3 is the most expensive. Can you try to monitor the CPU while QLC+ is reduced to the task bar ?
Otherwise place the audio trigger widget into a multi page frame and change page once you enable it, so the widget gets hidden.

See if it gets any better.

Re: sound 2 light problems

Posted: Tue Jun 16, 2015 9:33 am
by Mixalisfr
i will try it with hidden ever with the minimum triguers i get 100% load after stopping the trigger and reactivating it on the first activation i get 13% cpu load

Re: sound 2 light problems

Posted: Tue Jun 16, 2015 9:51 am
by Mixalisfr
so i uploaded pictures is from the lower computer i have

1 picture audio triggers reactivated minimized
2 picture audio triggers reactivated not minimized
3 picture audio triggers activated 1st time

Re: sound 2 light problems

Posted: Tue Jun 16, 2015 10:45 am
by mcallegari
Sorry, I'm not sure I understand.

Who is reproducing the audio source ? The PC itself ? (I think I see Windows Media Player ?)
Are you sure it's not the one causing the high CPU load ?
Can you try with an external audio source ? Like a hifi or just by clapping your hands ?

100% or 13% doesn't make much sense to me. The CPU usage should be almost constant in QLC+.
Close every other program running on that PC. Make sure there's no antivirus running or other processes that can cause CPU spikes. Since you have a limited hardware, you need to optimize it to the bone to leave as much CPU as possible to QLC+.

Re: sound 2 light problems

Posted: Tue Jun 16, 2015 12:07 pm
by Mixalisfr
so i put screenshot with audio triggers from mic input
the fist time is when i click on the green v the frist time when i reclick on it the triggers are disable and when i reclick on the green v to re enable the triggers the cpu load is going 100%

Re: sound 2 light problems

Posted: Tue Jun 16, 2015 12:32 pm
by mcallegari
That is weird indeed.
I'm starting to suspect this is a Windows related issue.
I tried on Linux and the CPU usage is quite constant. I need to try on Windows myself and see if I can reproduce the behaviour.

It would be interesting to see if QLC+ and Linux on your machine have a better behaviour.
There a "live images" that you can find on the internet that you can put on a USB pendrive and boot your computer with it. (so no need to actually install Linux on your PC) Then you'd just need to install QLC+ and perform the test again.

Sooner or later I'll have to write a tutorial how to do this, so Windows users can try QLC+ on Linux and compare the performance differences...

Re: sound 2 light problems

Posted: Tue Jun 16, 2015 1:19 pm
by Mixalisfr
i will try it with linux i prefer linux my self but because i use it in bar club and most of the staff there dont know how to use linux i stay on windows. Most people see linux like you have to be a software developer to use it. thanks to understand the problem and hope this will fix I love qlc + but this hold me back to use it as main lightning software

Re: sound 2 light problems

Posted: Tue Jun 16, 2015 3:06 pm
by Mixalisfr
so i tried it on lubuntu the same thing happend but this time the task manager showed a cpu load of 23% even when it get stuck the cpu load is low and the computer is responding i installed it on lububuntu 12.04 if you want any futher information let me know

Re: sound 2 light problems

Posted: Wed Jun 17, 2015 9:25 pm
by Mixalisfr
so good news and bad news i was able to make it to work entirely and partially on linux what i mean
I tested with 2 sounds cards
a usb hercules gamesurround muse pocket and a via 3059 with a realtek alc655 internal sound card
- on the usb hercules gamesurround muse pocket i was abeled to stop audio triggers restart audio triggers switch to operate mode and stop it and restart it with no problem at all without any lags

- on my internal via 3059 with a realtek alc655 i start triggers stop triggers without any problems but when i switch to operate mode and disable it and re-enable it the audio triggers will lags.

the pc used is a athlon64 3400+ with 2gb ram linux distro tested is lubuntu 14.04 i386

the same problem remained on windows with cpu load 100% with both cards

the qlc version used is 4.9.0 git edition compiled from source with qt4

Re: sound 2 light problems

Posted: Sun Jun 21, 2015 6:50 pm
by maquelle
Hello,

I got exactly the same problem on my old IBM T43 with QLC 4.8.3.
I don't think the problem comes from spec of our PC since it works perfectly on first time we activate audio trigger.

Re: sound 2 light problems

Posted: Mon Jun 22, 2015 6:56 am
by Mixalisfr
Im glad to hear that im not the only one i would like to know were i can find the source code of the fft module so i could have a look at it i know this isnt the specs the fft are lightweight and qlc + in general so this is good for having a pc running long hours

Re: sound 2 light problems

Posted: Mon Jun 22, 2015 2:13 pm
by janosvitok

Re: sound 2 light problems

Posted: Mon Jun 22, 2015 7:21 pm
by maquelle
Unfortunately Mixalisfr, I can't help you to analyze the code but I really appreciate if you found a solution ;)

Re: sound 2 light problems

Posted: Tue Jun 23, 2015 1:23 pm
by dragonfly_2
Hi everyone,

Same problem on my old laptop, Intel Pentium dual-core 1.73Ghz, 2GB DDR2, Windows XP SP3, with QLC+ latest version 4.9.0.

The only way to solve it : stop production mode, uncheck/check audio source on edition mode, and get back to production mode. :(