How do I load an MP3 file for the Viseme timeline?


https://forum.reallusion.com/Topic523245.aspx
Print Topic | Close Window

By ifarkas - 3 Years Ago
Hi Support,I can successfully load a WAV file based on the RLPy RAudio examples.I can't do the same for MP3.Also, the example is very weird and has not been updated for over 2 years!print()? Really?print(RLPy.RAudio.LoadAudioToObject(avatar, wav_file, RLPy.RTime(600)))Thx, Ivan
By Johnny (RL) - 3 Years Ago
ifarkas (9/6/2022)
Hi Support,I can successfully load a WAV file based on the RLPy RAudio examples.I can't do the same for MP3.Also, the example is very weird and has not been updated for over 2 years!print()? Really?print(RLPy.RAudio.LoadAudioToObject(avatar, wav_file, RLPy.RTime(600)))Thx, Ivan


Yes, only WAV audio files in PCM format are currently supported.

If you have practical application requirements please let us know, we are happy to add mp3 support in the future version.
By ifarkas - 3 Years Ago
Yes. That is a very badly needed missing feature.
I am storing Brotli compressed MP3 audio in S3, a 13x saving over WAV file!
236,204 test_en-us_1.wav
 29,565 test_en-us_1.mp3
 18,128 test_en-us_1_compressed.mp3
I download these files from S3 in my IC Python plug-in, where I decompress them.
Please add this feature, perhaps in 8.1?

Thx, Ivan
By Johnny (RL) - 3 Years Ago
Understand, that we will evaluate the timing of adding this feature to see if it can be arranged in the iClone8.1 schedule. Thanks,
By Johnny (RL) - 3 Years Ago
Hi ifarkas,

This feature is added in iClone 8.1,
A new version will be released in the next few days, thanks.