All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Fri Sep 03, 2010 10:03 pm 
User avatar

Joined: Tue Dec 08, 2009 11:55 am
Posts: 138
is there anyway that you hans can make a simple auto volume control for my net book and for anyone else that may want to use it....as you know it must be low latency and you need to be able to select what sound in put you want to use e.g virtual audio cable ... im asking this because sterotool does not work well with notebook as the cpu is not all that powerful...and you end up with skipping a bad latency problems..


if you can make make something like that id be happy to send you a donation for your trouble.

all it has to be is an automatic volume control that goes up in low sound and goes down on loud sounds.

obviously with some small settings like milliseconds for volume up and down.
its basicly going to get used for youtube and videos and stuff.. it just needs to be not so demanding on the
cpu as you know the intel atom is not that much of a power house.

im on skype if you need to ask me about this in call.

AND KEEP GOING WITH STEREOTOOL IT ROCKS IM STILL USING IT EVERYDAY and will continue to do so ...

thanks hans. :P


Top
   
PostPosted: Fri Sep 03, 2010 10:42 pm 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
After talking on Skype:

Solution is to make parameter ResetTimeNeeded_MAX (current 30 seconds, which means that after 30 seconds of having a huge delay in the output, the thing resets) configurable. So you can set it to - say - 0.1 seconds to make it reset immediately whenever this occurs. Or keep it at a high value if cutting audio is not acceptable (for example for radio stations).

Basically, the black bar in the input sound card blue bar in the Stand Alone version means:
- Hey, I'm receiving input data and nobody is processing it.

That occurs when the CPU load is high - the input gathering is done at a higher priority, processing is done at normal priority.

Basically, the idea is that after the high CPU load, the processing can catch up, and hiccups are not noticeable because there is a big enough output buffer.

However, when watching Youtube videos on a Netbook, you want a very very short output buffer, so basically any browser action would cause hiccups. And after such a hiccup the audio should be synchronized with the input (without extra latency) as soon as possible. (Also, because there is no big enough output buffer, there's no way the output buffer would hide the hiccup anyway).

My 'gut feeling': For LOW LATENCY use, the ResetTimeNeeded_MAX should be just slightly higher than the output buffer size. For NORMAL LATENCY (radio station) use, it should still be high.

So the easiest solution would be to add a button to reset as soon as possible when needed, which would then look at the output buffer size.


Edit: NO, I should automatically check whether the output buffer COULD fix the issue. If that's completely impossible, for example because it is already completely empty, I should just reset the input as well. I'm not completely sure of this though.
Edit 2: NO this is not true. Windows also can have a buffer of upto 300 ms which I cannot detect at all. And maybe some people don't mind the hiccups as much as loosing audio. So this should still be configurable :-(


Top
   
PostPosted: Fri Sep 03, 2010 10:44 pm 
User avatar

Joined: Tue Dec 08, 2009 11:55 am
Posts: 138
yes thanks for that hans......


it will be nice to be able to watch videos on my net book and have the audio in sync on whatever I am watching.

there is a very small delay on stereo tool no matter what you do ...but you get used to it .....but when it starts going over 4 seconds it starts to become a problem...and you have to wait 30 seconds for the sound to reset and go back in sync but yes hans..it just needs to reset faster ..like 0.1 seconds or something like that...

as you know its the 100% CPU that makes that happen..hiccup in your case hans..lol

right ill just wait for a fix.....so yes thank you .


Top
   
PostPosted: Tue Sep 07, 2010 3:15 am 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
I think this should fix it:
Winamp DSP plugin: http://www.stereotool.com/download/dsp_ ... A510-7.exe
Stand alone version: http://www.stereotool.com/download/ster ... A510-7.exe
VST version: http://www.stereotool.com/download/vst_ ... A510-7.dll
VST version (No SSE2): http://www.stereotool.com/download/vst_ ... A510-7.dll
Command line version: http://www.stereotool.com/download/ster ... A510-7.exe


Top
   
PostPosted: Tue Sep 07, 2010 9:52 am 
User avatar

Joined: Tue Dec 08, 2009 11:55 am
Posts: 138
thanks for the update hans im going to test in on my net-book when I get the chance sometime tonight.

i did however test it on my gaming pc and all seems OK as you don't get that annoying delay when the game starts like it did before ....so yea it seems you have fixed it :) .

you still get the small delay stereo-tool has...but I am used to it...i think its around 20ms or so its not big

lets say you are playing a shooting game....and you fire your gun...you can see the gun fire then 20ms later you hear it....so its not bad at all.


but yes thank you for the fix. and i am looking forward to the next new version of stereo-tool


Top
   
PostPosted: Tue Sep 07, 2010 2:36 pm 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
Well the actual delay is bigger. 20 ms wouldn't be noticeable. But Windows itself also creates a latency of upto 300 (!!) ms, and then there's the Stereo Tool processing that also introduces 12-96 (depending on the Latency settings) ms of latency. I would advice choosing 1024 samples latency - or 512 if you're only using the AGC.

Note: If you could use ASIO, the extra Windows latency would be gone. But that requires the source of the audio to support ASIO as well, and that's usually a problem.


Top
   
PostPosted: Wed Sep 08, 2010 5:23 pm 
User avatar

Joined: Tue Dec 08, 2009 11:55 am
Posts: 138
well i did try it on my net-book and it did work very well no sync problems at all.
when the CPU hit 100% it just reset and that's what I wanted.
just that one fix saved me a lot of problems .
youtube now works great with it..
so thank you as always.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC+02:00


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited