Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I cannot import audio from the time slider.

1 REPLY 1
SOLVED
Reply
Message 1 of 2
amaterasu-qbb
1673 Views, 1 Reply

I cannot import audio from the time slider.

I can import audio from File > Import, but it does not appear in the time slider and there is no sound. In other words, it is recognized but cannot be imported.

// Result: H:/maya/animation/Ball_Rolling/sound/Tennis Ball_Bounces_edit01.wav

Audio Details

  • Less than 2 seconds
  • WAV Format
  • Exported from Davinci Resolve 16

When importing audio from the Time Slider I get the following error

file -import -type "audio" -ignoreVersion -ra true -mergeNamespacesOnClash false -namespace "Tennis_Ball_Bounces_edit01" -options "o=0" -pr - importFrameRate true -importTimeRange "override" "H:/maya/animation/Ball_Rolling/sound/Tennis Ball_Bounces_edit01.wav";
doSoundImportArgList ("1", {"H:/maya/animation/Ball_Rolling/sound/Tennis Ball_Bounces_edit01.wav", "0"});
// Result: 0
// File read in 0.0072 seconds.
// Result: H:/maya/animation/Ball_Rolling/sound/Tennis Ball_Bounces_edit01.wav
# Error: cannot find file
# Error: file: C:/Program Files/Autodesk/Maya2023/scripts/others/doSoundImportArgList.mel line 53: Cannot open soundfile

I have tried changing the location of the audio from drive H to drive D and also tried importing an empty scene, but it does not work.

Tags (2)
Labels (2)
1 REPLY 1
Message 2 of 2

Hi! everyone. I found a solution and would like to share it with you.

 

I also found a different error, so I'll post it here.

 

 

Error: file: C:/Program Files/Autodesk/Maya2023/scripts/others/doSoundImportArgList.mel line 53: Cannot open soundfile

 

 

 

the cause is

  • sound source is 48000Hz (48kHz)
  • Even 44100Hz (44.1kHz) won't play if it's 32bit

You can see it from the audio of the actual property details,

Capture17.PNG

but it's hard to understand because it's kbps instead of Hz. But I tried to put something together.

Unplayable

  • 1536kbps, 48kHz, 16bit
  • 2822kbps, 44.1kHz, 32bit Import only 
  • 2304kbps, 48kHz, 24bit
  • 3072kbps, 48kHz, 32bit

Playable

  • 1411kbps, 44.1kHz, 16bit recommended
  • 2116kbps, 44.1kHz, 24bit

The solution is to use an audio editing software and export at 44.1kHz 16bit.
I used Audacity, but it seems to be unstable due to repeated Windows IME updates, so I think Adobe Audition is the best.

And with Davinci Resolve, you can change it from 48kHz to 44.1kHz in the project settings, but when you export it, it will be 48kHz, so it didn't work.

thank you. also I added a idea about adding mp3 support to maya.

https://forums.autodesk.com/t5/maya-ideas/please-support-flac-mp3-and-other-audio-formats/idi-p/1169...

feel free to vote.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report