liamc
NNormal
•Created by DC on 1/16/2025 in #🤝ask-a-question
is there a way to count the connections to the room without using the Avatar Manager
A basic usage could look like this:
But for a normcore object you could register/unregister when the realtime model is replaced, so that its initialised at the time of registration. Or if it's a poolable object you could Regsiter/Unregister in OnEnable/OnDisable, etc.
11 replies
NNormal
•Created by DC on 1/16/2025 in #🤝ask-a-question
is there a way to count the connections to the room without using the Avatar Manager
I use this pattern a fair bit in all projects, not just normcore projects.
11 replies
NNormal
•Created by s_q_u_i_s_h on 10/12/2024 in #🤝ask-a-question
Intermittent issues with voice in our Apple Vision Pro app
That doesnt sound right. A single coroutine per voice instance with a couple of null checks once a second shouldn't have a measurable cpu cost.
25 replies
NNormal
•Created by s_q_u_i_s_h on 10/12/2024 in #🤝ask-a-question
Intermittent issues with voice in our Apple Vision Pro app
25 replies
NNormal
•Created by Killikario on 8/20/2024 in #🤝ask-a-question
Scripts Disabling
Do you have any exceptions or other errors in your console? Unity will disable scripts if they have a null reference exception in start function for example. But that's a unity feature, not normcores fault
19 replies
NNormal
•Created by dontworry on 7/1/2024 in #🤝ask-a-question
How can I distort the mic audio in RealtimeAvatarVoice to be higher or lower pitch?
No problem!
24 replies
NNormal
•Created by dontworry on 7/1/2024 in #🤝ask-a-question
How can I distort the mic audio in RealtimeAvatarVoice to be higher or lower pitch?
24 replies
NNormal
•Created by dontworry on 7/1/2024 in #🤝ask-a-question
How can I distort the mic audio in RealtimeAvatarVoice to be higher or lower pitch?
I'll have a look when I'm back at work tomorrow and let you know (it's midnight here)
24 replies
NNormal
•Created by dontworry on 7/1/2024 in #🤝ask-a-question
How can I distort the mic audio in RealtimeAvatarVoice to be higher or lower pitch?
We've added voice effects like this recently and its working well. We have an AudioSource attached to the same object as the voice script so that it will use the existing audio source instead of creating one.
For modifying the voice we use AudioMixer effects though. If you just increase/decrease the pitch of an audiosource it will play the audio clip back faster/slower, which is not ideal if you have voice data streaming in at a fixed rate. Theoretically, with a higher pitch you'd finish playing back the chunk of voice data before you receive the next chunk, causing gaps in the playback.
24 replies
NNormal
•Created by vconquest on 6/21/2024 in #🤝ask-a-question
Syncing video stream. Getting Error model' is inaccessible due to it's protection level
Looks like you're listening for changes to the model itself (i.e, when the entire instance of the model is replaced). You should probably be subscribing to model.isPlayingDidChange and model.playbackTimeDidChange events
11 replies
NNormal
•Created by vconquest on 6/21/2024 in #🤝ask-a-question
Syncing video stream. Getting Error model' is inaccessible due to it's protection level
Or you can add a getter to expose it
11 replies