Quantcast
Channel: Photon Voice — Photon Engine
Viewing all articles
Browse latest Browse all 671

Current Buffer Lag - reduce faster in Speaker

$
0
0
In the Speaker component using PUN for Voice (v2), there's a display for "Current Buffer Lag". It seems to reflect the current lag from speaking to hearing in 10ths of ms (it usually hovers around 8500 and is about 0.85s of lag).

Sometimes for whatever reason (dropped signal, pausing, resizing window etc) the buffer lag increases, sometimes getting as high as 30000 - 3 full seconds lag. When it does this, it automatically "chipmunks" the voice to play it back faster, and brings the buffer lag back to normal, around 8500.

My Q is, how can I control this? It happens very slowly, with chipmunking often lasting 10-15 seconds for a few seconds of lag. I'd like to make the lag accommodation go faster, or - ideally - control the samples themselves. For example, skipping every other sample to make the voice talk very fast, rather than just compressing samples together and raising the pitch.

How can I modify/access that? Thanks!



Image shows the component with buffer lag quite high, at 2.6secs:

xKboElp.png

Viewing all articles
Browse latest Browse all 671

Trending Articles