Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Lip sync with external audio after publish

New Here ,
Feb 12, 2024 Feb 12, 2024

Say I'm generating audio dynamically, how would I pass the audio into the exported code to lip sync the generated audio (TTS) in an HTML5/JS context.

 

Is it possible to do some sort of

movieClip.gotoAndPlay(audioFile)

 

How would it be possible to achieve this?

TOPICS
Other
85
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 12, 2024 Feb 12, 2024

is this an as3 project?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 12, 2024 Feb 12, 2024
LATEST

I'm currently prototyping a scenario of exporting a character with various animations as movieclips to html5/js, and then making them say dynamically generated audio from something like elevenlabs from outside the canvas. I have the fla files of the characters, so can edit them, and have already been setup for lipsyncing.

In the exported code the audio file is referenced in 

lib.properties = {
	id: '',
	width: 800,
	height: 600,
	fps: 24,
	color: "#FFFFFF",
	opacity: 1.00,
	manifest: [
		{src:"sounds/audiowav.mp3", id:"audiowav"}
	]
};

And the idea would be that I want to swap that mp3, and rerun the viseme matching - or something.

 

What I want to achieve is a character, on a website, lipsyncing whatever mp3 you upload/provide to it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines