Stereo Tool
https://forums.stereotool.com/

Low latency secondary input (microphone)
https://forums.stereotool.com/viewtopic.php?t=853
Page 58 of 75

Author:  DUB<^>STEP [ Sun Mar 21, 2010 9:22 pm ]
Post subject:  Re: Low latency secondary input (microphone)

installed beta3 and all seems ok.. no fault found yet. will message back if and when i find one.

Author:  Bojcha [ Mon Mar 22, 2010 12:28 pm ]
Post subject:  Re: Low latency secondary input (microphone)

beta3,
i put it on transmitter. for now all seems ok!
- CPU usage from 30 to 27%.
- Mem usage 28.5MB

:)

Author:  Boris [ Mon Mar 22, 2010 3:19 pm ]
Post subject:  Re: Low latency secondary input (microphone)

Have Some trouble, Whe Edcast and Stereotools working simultaneously, after 2-3 hors i hear some artifacts which makes by ASIO.
My buffer is - 0.60 sec. Сan be done Something to get rid ? I used BETA 2. When Use only Stereotool all work good. CPU load 35% (Stereotool+Edcast+Shoutcast)

Author:  hvz [ Mon Mar 22, 2010 4:23 pm ]
Post subject:  Re: Low latency secondary input (microphone)

Quote:
Have Some trouble, Whe Edcast and Stereotools working simultaneously, after 2-3 hors i hear some artifacts which makes by ASIO.
My buffer is - 0.60 sec. Сan be done Something to get rid ? I used BETA 2. When Use only Stereotool all work good. CPU load 35% (Stereotool+Edcast+Shoutcast)
Hi Boris,

Was this problem not present with version 4.22 (or older versions)? So, is it something new in this beta?

Can you describe the artifacts a bit more? And can you tell me what your setup looks like? (How do you send your output to EdCast, are you using something like Virtual Audio Cable for Stereo Tool input and output? Or are you recording the data from the sound card in EdCast? Or.....)

How do you know that they are ASIO artifacts? And do they disappear when you change the buffer size?

Author:  Boris [ Mon Mar 22, 2010 4:42 pm ]
Post subject:  Re: Low latency secondary input (microphone)

Late week i used only ST, and transmit only FM Radio, yesterday i organaze Stream transmit by internet and i noticed this artifacts after 3 hours of work this setup. When i restart comp, all work good,3 hour passes again present artifacts Asio, when work only Stereotools standalone, all works good. My setup is there: Line In>Stereotools>After that signal goes to line output and paralel to Input of Edcast by Direct Wire and VAC....Image

Author:  hvz [ Mon Mar 22, 2010 6:28 pm ]
Post subject:  Re: Low latency secondary input (microphone)

@Boris

If the clock of VAC is even slightly different from that of the Juli@, the buffer will either get empty (causing gaps in the sound, where probably old buffer data is repeated), or full (new data cannot be placed in the buffer fast enough).

Since Stereo Tool without repeater and VAC works fine, Repeater (combined with VAC) appears to be affecting the Juli@ ASIO output. (Is it really the Juli@ output that is wrong, or is the data that EdCast receives bad? I would expect the latter.)

ASIO is supposed to be used to send and receive data to and from the same sound card (it's even impossible to use ASIO at 2 different sound cards simultaneously from one program). And that's done exactly to avoid this type of behavior.


If Stereo Tool would receive its data from a non-timed source (for example, if it would play an MP3 file instead of line-in), it would just push the data into Repeater/VAC and this problem would not occur. But in your setup, the input sample rate and the VAC sample rate must be an exact match.


Now, how to solve it.
1. The difficult way: Tune VAC such that the VAC speed matches the Juli@ speed. You'll never get a perfect match, but the time before disturbances occur can probably be increased greatly this way. (*)

2. The easy way: Why are you using this Repeater+VAC in the first place? You can use Juli@'s DirectWire to directly send the output from Stereo Tool to Edcast. (Unless I'm missing something).



(*) Sample calculation: If Repeater works (as seen in the window) at 192000 Hz, and the buffer size is 500 (I assume that's ms???), and the problem starts to occur after 3 hours, then the tuning that's needed would be:

0.5 seconds * 192000 Hz / 3 hours
= 0.5 seconds * 192000 samples/second / (3 * 3600 seconds)
= 8.888888888 samples/second (Hz)

So you should change the sample rate from 192000 Hz to either 191991.111 or 192008.888 Hz, depending on whether it's running too fast or too slow.

If you have the exact numbers ('3 hours' is probably an estimated time), you'll be able to calculate it more accurately.

Author:  Bojcha [ Tue Mar 23, 2010 2:01 am ]
Post subject:  Re: Low latency secondary input (microphone)

@ Boris

You don't need repeater - direct LineIn Form juli@ as input for ST
You don't need asio - Since this is stream, the latency is not important ..
You don't need any connection in DirectWire
So, use VAC1 for StereoTool output and same VAC1 for EdCast Input
Set Edcast to 192000-192000kHz and 16-16 bit .... viewtopic.php?f=4&t=1439

If you have problems with stereo tool output buffer.. use VAC's control panel to set Clock Correction

I use Realtek Soundcard for ST input (juli@ is ready to replace realtek), for stream and VAC for output.. and found that VAC's clock correction used for ST output and for EdCast Input need to be 100.6%.

Author:  Boris [ Tue Mar 23, 2010 11:29 am ]
Post subject:  Re: Low latency secondary input (microphone)

Sorry that i use this topic for my problem ! But on another nobody answer me

Thanks All !!
To Bojcha - I transmit Stream Radio and FM Radio all in One and Latency is important to me. Only directwire not work wit edcast, and i need to instal VAC, without repeater too not work.

To Hans -Without repeater not work.I put OUT Buffer of ASIO on Julia on 0.600 sec, now all good work, i will wait, I hope that everything will be good


Question for you - I use normal output to transmit FM Radio, on Julia Sample rate 192000, Can I change sample rate to 44100 without lost the quality ? And if i do that, it affect on CPU Load or On something else ?


My Stream in Test mode - http://trt.homedns.org:8048 - (put link in winamp Play URL )

Author:  hvz [ Tue Mar 23, 2010 11:45 am ]
Post subject:  Re: Low latency secondary input (microphone)

Quote:
Sorry that i use this topic for my problem ! But on another nobody answer me

Thanks All !!
To Bojcha - I transmit Stream Radio and FM Radio all in One and Latency is important to me. Only directwire not work wit edcast, and i need to instal VAC, without repeater too not work.

To Hans -Without repeater not work.I put OUT Buffer of ASIO on Julia on 0.600 sec, now all good work, i will wait, I hope that everything will be good


Question for you - I use normal output to transmit FM Radio, on Julia Sample rate 192000, Can I change sample rate to 44100 without lost the quality ? And if i do that, it affect on CPU Load or On something else ?


My Stream in Test mode - http://trt.homedns.org:8048 - (put link in winamp Play URL )
If you're not using an MPX signal (stereo and RDS info in the signal, and pre-emphasis), the normal and FM output are identical, and lowering the sample rate should not affect anything (you might get a very slightly lower CPU load and latency).

Author:  Bojcha [ Tue Mar 23, 2010 11:47 am ]
Post subject:  Re: Low latency secondary input (microphone)

ok. ..

i must do some test with that combimation FM+NormalOutput+asio+streaming ...

Page 58 of 75 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/