Woof Woof Image Free on Background-Wallpapers.com

Audio in Maya 2011 / 2012

I have had sev­eral peo­ple that have been hav­ing issues with Maya 2011 and audio clips.  I get state­ments and com­ments like this, “When I go to scrub my ani­ma­tion the audio is not synched up! Help!!!”…. “It works in Maya 2009!”  Well, spe­cific issues with scrub­bing the sound clip in Maya after off­set­ting the audio track in the time­line is just an update issue. It seems that the way Maya han­dles the audio in Maya 2011 is a lit­tle dif­fer­ent.  All you need to do it import the file again off­set it and then play through the clip by using the play but­ton.  Once the file is re-cached or read then go back to scrub­bing.  Every­thing should be fine then.  If not then email me and I’ll try to help.

For those newer users, or if you are using sound clips in Maya 2011 and have never used the off­set fea­tures in the audios dia­logue box, just run through the fol­low­ing steps.

With Maya open go to File->Import and then nav­i­gate to the clip you want to import or sim­ple drag the audio clip into the viewport.

When you look at the time­line it should look like this:

It’s pretty thin and when work­ing with audio clips for dia­logue or gen­eral sound it can be hard to see what is going on in the waveform.

Q: “Why do I need to see the audio clip’s waveform?”

A: Often times it is ben­e­fi­cial to see the peeks and val­leys in the sound.  It helps to see where the beats or rhythms fall within the clip while synch­ing up actions and lipsynch.

If you open the pref­er­ence win­dow within Maya: Window->Settings/Preferences->Preferences you will see the fol­low­ing window.

Under the Cat­e­gories col­umn on the left select Time Slider.  The change height from 1x to 4x.

In order to hear the audio play set the Play­black Speed to Real-time (24 fps).

When you’re done make sure you save your pref­er­ences. — (Note the pref­er­ences win­dow will close!)

You should now see the Time Slider is 4 times it’s nor­mal size.

In order to see the wave form even clearer you can change the color in the Color Preferences.

Expand the ani­ma­tion menu and click on the color swatch.  I have changed myine to yel­low.… the results look like the fol­low­ing image:

This will make it much eas­ier to see that waveform!

You can pull in mul­ti­ple audio clips and turn them on and off by right click­ing on the time slider and going to Sound and select­ing the track you would like to use.

In order to off­set the audio clip you can go to the sound clips dia­logue box and then enter an off­set value.

Once you select the dia­logue box the attribute edi­tor will open that looks like this:

Enter a value in frames that you want to off­set the audio clip.  Just remem­ber that if you off­set it just play through the clip and then you should be able to scrub the audio as well.

Tip: If you need to mute the clip there is a check­box under dura­tion that will tog­gle it audi­ble or not.

To delete audio files from your scene:

1. Go to the dia­logue box for the audio clip and then high­light the title of the name of the audio in the audio field.

2. Command+C to copy it.

3. In the Mel com­mand line type:  delete file­name;

4. Then press enter.

Another way to find and delete audio tracks is to open the outliner.


Under the Dis­play menu in the out­liner you will see sev­eral options.  Uncheck the DAG Object Only option. It is located here:

 

 

 

 

 

 

 

 

 

Now you will see many other things listed in the Out­liner includ­ing Audio Nodes.


Now sim­ply select the nodes and delete them.

Another way to delete sounds is to nav­i­gate to Edit -> Delete by Type -> Sounds and then pick the sounds file to delete.
If you want all the files gone then goto: Edit -> Delete all by type -> Sounds and that will delete them all at the same time.

There are prob­a­bly two more ways to delete sound files because in Maya their are 5 ways to do any­thing.  See if you can find the other 2 and get back to me… LOL.

Addi­tional Notes:
If you have imported sound and can­not hear it try one of the fol­low­ing:
1. Check and make sure you are on Real­time 24 in your time­line set­tings.
2. Check you audio file and make sure it is sup­ported.
3. Res­e­lect the audio file by right click­ing on the time line — goto sound and choose file.
4. Make sure you are up to date on you Maya soft­ware.   I have found issues in 2011 until updat­ing to the cur­rent ser­vice pack!
5. You can­not import files that start in a num­ber — Exam­ple 1audiotrack.wav.

That’s it for now.  Find great clips and ani­mate your heart out.

Craig­Bow­man

21 Comments

  1. David Jeffries

    Thanks so much, you’re an absolute life­saver. I couldn’t get my off­set to work, and in the end I deleted the audio, reim­ported it, reset the off­set and it worked. Thanks!

  2. Charles Lin

    Craig…thanks man. You’ve just saved me hours of headaches…again.

  3. Edith

    Hey!

    I have the prob­lem with sound off­set.
    I know this isn’t a bug in Maya 2011 because other peo­ple don’t have this prob­lem, so it’s a set­ting some­where I guess…
    I off­set the sound, the .wav moved at the right place in the time­line. Every­thing seems fine. But: When I play my time­line, even with the wav off­set cor­rectly, the sound begins at frame 1!

    Do you have any idea what I do wrong?
    Thanks!

  4. Dino

    I got that prob­leme too, when i restart maya. THe Sound begin at frame 1. I resolve this issue to change the name of the .wav file then to re-import it. But now when i click play but­ton i cant ear the sound, while, i ear the sound when i move the time­line with the mouse.

    Thanks for help.

    • Craig

      You may need to res­e­lect the sound file by right click­ing in the time­line goto to sound and re-choose the cor­rect sound file.

  5. jessie

    I tried to import the .wav file but it says //Error: can­not find file.
    How can I import it?

    • Craig

      Specif­i­cally, how did you go about import­ing it. Usu­ally there are two ways to import the sound file.… drag and drop or goto file import… then nav­i­gate to the file on your sys­tem and choose it.

    • Craig

      Try drag­ging the file in to the scene!

  6. Jason

    Craig — you just saved someone’s life at Autodesk … I was get­ting so frus­trated with this, issue — I’m so glad I found your post. Thank you — thank you for sav­ing me too!

  7. Brian

    wow this was incred­i­bly help­ful. BUT i’m still hav­ing a slight prob­lem. so i did as you said and reloaded the audio file then off­set and played. totally fixed the play­back prob­lem in maya. how­ever, when i play­blast it’s still quite off. for exam­ple, my audio is off­set to begin at frame 270 in the time­line, but when i look at the frames in the quick­time play­blast it begins at frame 220 and it’s waaaay before the ani­ma­tion even begins. is it a play­back set­ting? do you think the audio is at a dif­fer­ent play­back speed than 30fps? would that be the cause for such a large off­set? is there a set­ting that i’m miss­ing in my play­blast prefs some­where? would love it if you could help, email me back! thanks a ton!

  8. I’m hav­ing the same issue as Brian only after cal­cu­lat­ing my frames it seems that my ani­ma­tion is play­blast­ing more slower than in the viewer when I’m work­ing on the file. The audio how­ever seems to trig­ger at the right time. I’m using a .wav and I dragged and dropped it into the time­line and then set the offset

    • Craig

      Check and see if you have play every frame on in your pref­er­ences. If it is then it will only play as fast as your com­puter can cal­cu­late and dis­play. If it has to play at 12 frames per sec­ond to do that — then it will. If you set it to Real­time 24 then it will drop frames if it has to in order to try and main­tain 24 FPS using the play but­ton in Maya. It will still fluc­tu­ate based on the power of your com­puter and the com­plex­ity of the scene but will be much close to the actual frame rate you will be out putting to. A plast-blast is the only way to get a real 24 FPS feed­back. You should make them and make them often!

  9. Tim

    I’m hav­ing a prob­lem. I drag my audio file in (.wav) to the time­line, but a green bar appears along the bot­tom of the time­line, rather than it show­ing the peaks etc. It makes no sound what­so­ever as well. I checked my pref­er­ences and they seemed fine. I didn’t have a prob­lem at Uni with this, and my Maya is just as up to date as theirs :/

    • Craig

      Check the sound file you are using and make sure some­thing is not wrong with it at the source. If it is ok. Make sure you have your project set to the appro­pri­ate folder. Delete the sound file node for the sound file you are using and re-import by going to File Import instead of drag­ging. Right click on the time line and go to sound. Select the file there. As a last resort try con­vert­ing the sound file to an .aiff if you are work­ing on a MAC. Try some of these things out and then get back to me if it is still not working!

  10. Tim Collings

    Wow, finally found some­one whose advice works, a life­saver.
    Thanks!
    All this com­ing after I had to re-install Maya as 2010 had a graph edi­tor that was mak­ing invis­i­ble selec­tions that would only show up when the win­dow was min­imised then max­imised! — any thoughts as to why that hap­pened? — My head has been fried for the last 5 days of wasted time, Grrrrrr. Now back to 11 sec feb comp only 4 days left and 3secs done aaaaah…

  11. Mayur Ahirrao

    Thanks you so much for this post .… I was strug­gling with audio file play­ing in time­line with scrub .… now its fine …
    Thanks so much

  12. Hi Craig,
    It seems that I am hav­ing a prob­lem sim­i­lar to Tim’s post above. My UI play­back is fine, but the play­blast is off. When play­blast­ing, it ren­ders my entire ani­ma­tion first, then plays the audio after­wards. I took all of your sug­ges­tions, deleted the audio, re-imported, changed from .wav to .aif, real-time play­back at my 30fps. The play­blast options are set to default and it opens in quick­time 7. Im run­ning on an iMac with osx snow lea­pord. 10.6.8

    Tons of research brought me to your blog. I appre­ci­ate any help.

    • Craig

      I know this is a really late reply … sorry I’m not sure how I missed this… did you try 24fps? Which ver­sion of Maya are you running?

  13. Thanks for the reply Craig. I am run­ning Maya 2012. I have not tried set­ting it to 24fps. I’ll have to see if that works. What I did since then is to play­back from the UI in real time. I have a decent amount of RAM installed, so it saves a bit of time. I had to give up on the playblasting.

Leave a Reply

Your email address will not be published.
Required fields are marked:*

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>