#Occasional crackling / voice artifacts

1 messages · Page 1 of 1 (latest)

sudden gorge
inner phoenix
#

Not sure honestly Steam Voice is a prety black box system

You get compressed voice data from Steam.exe and you decompress voice data via Steam.exe

All we are really doing is loading it into the back of a Streaming audio clip

#

so our Voice Stream script is just taking the bytes you pass in and passing that into a Unity steaming sound clip

#

poping or cliping usually is the result of values clipping

#

so that is usually caused by compression or decompression

#

which is all Steam side

#

The idea behind our "buffering" is just to let the system build up a bit of data so that the variability of latency can be hidden

#

it shouldn't introduce any artifacts

it could introduce drops of course if you have latency and data doesn't comein to the stream before the stream empties

#

in that case it will just add 0 as in silence

#

so you will hear broken or droped voice

sudden gorge
#

thanks for the clarification, increasing the bufferLength could help reduce the chances of drops like this?

inner phoenix
#

drops yes, all thats doing is building up more data before it starts playback

#

so it gives you more wiggle room on teh latency side of things