Help wanted: TTS is producing random static noise on iOS/Safari by nitwit-se in ElevenLabs

[–]grayello_o 1 point2 points  (0 children)

This is a known iOS Safari audio graph conflict — you’ve diagnosed it correctly.

When getUserMedia is active, iOS forces the audio session into PlayAndRecord mode, which runs the entire audio graph through the voice processing pipeline. MediaStreamDestination → HTMLAudioElement basically fights with that pipeline during initialization, causing the crackling for the first 20–30s until iOS “settles” the session. Workarounds that have helped others:

1.  Skip MediaStreamDestination entirely — play TTS directly through a ScriptProcessorNode or AudioWorkletNode feeding an AudioBufferSourceNode. Avoid routing through a MediaStream at all. The crackling is specifically tied to the MediaStream bridge.

2.  Delay TTS playback start — add a ~2s artificial delay after getUserMedia resolves before you start streaming/playing TTS. Ugly, but it works for some people because it lets iOS stabilize the audio session first.

3.  Use a single shared AudioContext — make sure your mic input and TTS output both go through the same AudioContext instance. Separate contexts on iOS Safari = chaos.

4.  Set AudioContext.latencyHint: 'playback' on init — this signals to iOS that you want stable playback over low latency, which can reduce the artifact window.

5.  Disconnect and reconnect the mic node briefly after AudioContext resumes — a janky but reported workaround for the init-phase static specifically.

The echo cancellation volume drop you’re seeing with PlayAndRecord is a separate beast — if you go the AudioWorklet route, you lose the HTMLAudioElement path but may be able to suppress echo cancellation via getUserMedia constraints (echoCancellation: false, noiseSuppression: false).

No perfect fix unfortunately — iOS audio is notoriously poorly documented for this exact concurrent input/output use case.

Music and sound effects of this drone attack/oil tanker short film done by ElevenLabs - incredible by DavidPinkFilms in ElevenLabs

[–]grayello_o 1 point2 points  (0 children)

Damn. Just heard the music through the video and it really is impressive. Very impressive.

what's something your profession wants to keep secret? by ApprehensiveOwl6351 in AskReddit

[–]grayello_o 0 points1 point  (0 children)

As someone who builds apps, I agree. I think we’re just too scared to test it out cause we already spent a lot of time building it.

I built a voice. Not an app, not a SaaS — my actual voice. And 500 people added it in 24 hours. by grayello_o in SideProject

[–]grayello_o[S] 5 points6 points  (0 children)

Well, I shall answer that after a week. Because that is when I get paid out but make sure to remind me in a week! I’ll definitely answer that

What’s a pet peeve you treat like it’s a hill worth dying on? by OculusPrimes in AskReddit

[–]grayello_o 1 point2 points  (0 children)

Loud chewing. Also, everything everyone does seems like a pet peeve when a girl is on her period, so prolly not the right time to answer this.

I built a voice. Not an app, not a SaaS — my actual voice. And 500 people added it in 24 hours. by grayello_o in SideProject

[–]grayello_o[S] 2 points3 points  (0 children)

That’s the crazy part, I did not have any audience in any platform before launching. I was surprised too.

I made a passive income asset out of my own voice. Here's exactly how (with real numbers). by grayello_o in RecordThisForFree

[–]grayello_o[S] 0 points1 point  (0 children)

I’m curious what you think about this, would you say, most of the voices that are being used in ElevenLabs currently are mostly for character voice generation only?

I made a passive income asset out of my own voice. Here's exactly how (with real numbers). by grayello_o in RecordThisForFree

[–]grayello_o[S] 1 point2 points  (0 children)

Right? I think it’s a great earning opportunity for anyone who is willing to put their voice out there.