• Editor
  • Can't see sounds in audioview

Hello!
I have some trouble with audio events. When I add a sound to the project and make an event I can see it on the timeline and I can hear it. But I don't see it in the audioview and can't key it. I only can start an event from different keyframes. This happens with different sounds, I tried mp3, wav, ogg included sound from spineboy project. Spine version 4.24 but I tried older versions and it was the same

Related Discussions
...

Hello, I cannot reproduce the problem on my end, it shows the audio files as usual in the audio view.
Could you send us a log and a project (also with no images, or images all black and no other animations, just so we can reproduce the issue) to contact@esotericsoftware.com please?

Do you have multiple skeletons referencing the same audio file? Looking into your issue we found a bug where one skeleton can affect the audio events in another. If it's that, reopening the project will fix it. We'll fix the bug in 4.2.

    In 4.2.10-beta we've fixed a number of bugs regarding audio for projects that have multiple skeletons.

    Nate Hello! Yes, I have multiple skeletons. Reopening the project didn't help but I delete some of the skeletons and with 4 skeletons (3 with rigs and 1 with sound) the audio has appeared in the audio view. But I still can't key volume correctly. When I set the key with volume level (for example 30) it lasts only for that one keyframe and then the volume comes back to 100

    Can you please send us your .spine project file? contact@esotericsoftware.com We will keep it private, but we'd like to see the problem firsthand so we can fix it. It would likely also help to include your audio files, if possible.

      Nate Sent the project. Thank you!

      • Bearbeitet

      Got it, thanks!

      I am able to see the waveforms in the Audio view. Please note that when a project has multiple skeletons, a skeleton needs to be selected to see the event keys in the dopesheet/graph.

      I see the bug with the event key volume not being applied correctly. We'll work on a fix and get back to you soon!

      EDIT: It seems the audio volume is applied, but the Spine editor doesn't show it correctly. So at least it does not affect your work.

        Nate

        spine-untitled-2023-12-21-16-07-09.zip
        5MB

        Hello again and thank you!

        Nate EDIT: It seems the audio volume is applied, but the Spine editor doesn't show it correctly. So at least it does not affect your work.

        Unfortunately it does. Here is the video of how it works for me. It's only one skeleton here with sound. I can see the waveform but when I try to key volume it doesn't work. The wolume level is the same. It changes only for 1 keyframe

        Thanks, I think I understand now.

        The way events and the event volume slider work is that each event key plays the audio file. If you set an event key wanting to change the volume, that will instead play a second instance of the audio file at that volume.

        Volume is not interpolated between event keys. That's why the Spine editor only shows the keyed volume on the frame that keys the event, otherwise it shows the volume for the setup pose.

        This is also true for the integer, float, and string fields. They are properties of the event key and are not interpolated between event keys.

        Are you planning to use a runtime? Please note that the Spine Runtimes don't provide audio support at runtime. Instead, you receive the events at runtime and initiate audio playback yourself.

        If you want to modulate volume at runtime, you could create a second event that does not have an audio path and set the volume there. At runtime when you see this event, you'd modify the volume for the related sound, if it is being played. You could use the integer, float, or string event fields to specify how many seconds it should take to change the volume and implement changing it over time. Those fields could also be used for other purposes, like panning left/right.

          Nate thanks for so detailed answer! Now I understand too.
          In my job I use audio to make draft sound for promo animations. And I have to add it in Spine to synchronize timings of animation with music and other sounds. It would be great if at least volume keying will be possible in future.
          Thanks again, this information is very useful for me and other animators at my work.

          ein Jahr später

          Hi, I have a similar problem. I don't see the audio. But I don't use multiple skeletons.
          What am I doing wrong? Spine 4.2.38

          Nate Nate, maybe you could help?