No Audio in Hype?

Decided to use Hype to make some animations. Admittedly, I've not used hype very much - but I've done a few projects over the years - so I'm confident with the editor and such.

After piecing together the elements for some text animation - I decided to add a couple of sound effects. Grabbed some OGG files - dragged them into the resources, then added some timeline events to play them.

Then I hit spacebar to see how things came together - and POOF. Animations all did what was expected - but no sound.

Changed to MP3 files just in case ... same thing. Tried previewing in Chrome. Nope... no sound there either. Soooooo.... I went through the security and accessibility settings and permissions in the system options. Hype is listed and checked that permissions for file access and all that stuff was as it should be. NOPE - no sound in hype or from hype previews. yet the audio works as it should in all other applications.

shrug
Anyone else have this experience? Is there a fix that I've not been able to find here in the forums? :frowning:

1 Like

Are you messing with me? :grinning_face_with_smiling_eyes:

I spent much of the day working on a new YouTube video. It's taking way longer than I thought it would. I was starting to get depressed. I started doubting myself. Is this information really going to be useful?

...and then there you are, you're having trouble with the exact problem I'm trying to resolve. It's related to this...

...and I just updated the template today.

Basically, web browsers are stricter. They don't like auto-playing audio. They block it. Specific user action is required. And here's what I learned today... or forgot and relearned just today HA HA ...once the browser blocks audio in your Hype project, it's over. Subsequent button presses don't unmute the project.

To allow audio, I don't play anything until the user presses something. Another example is Circles with Grandma. It's built with Hype. No audio is played until the start button is pressed. It makes a bloop sound, which unlocks the audio.

I call this technique breaking the sound barrier.

I'm not sure that's the best format... https://caniuse.com/?search=ogg ...Safari support is lacking. MP3 seems well supported though. Personally, I use m4a.

Although, that is odd about the sound not playing in the Hype app itself. I just tried playing the project locally and was shocked to realize that the coconut hit sound does not play in the Hype app. However, it worked fine in Safari preview and Brave (Chromium) preview.

So, there are two parts to the problem. The first is the local issue. I don't remember if it ever played audio locally. The second issue is playback in the browser. The latter should work. There are two examples mentioned in this thread. The template should play audio in the browser.

Anyway, thanks for posting your problem. It was very encouraging to see tonight, and hopefully the information I posted helps.

I'm not really worried about browser compatibility. As I mentioned - i'm just trying to create an animation. My only issue - is that audio isn't playing in the Hype App. So - blatant self promotion aside - I appreciate the coincidental similarity to your 'article'... but i'm not sure how your response really helps.

I’ve used audio a lot in my apps. First if you use it you will only hear it in the browser, not in Hypes preview window. Second you need a button to trigger the audio, but can play it from the timeline. Maybe you can post a simple example, so we can have a look at it?

2 Likes

I also use Hype for video animation, mainly, but Hype is intended for the Web and there we have the problems that have indicated the colleagues.
The Hype team knows there is a problem with the sound and they intend to fix it in an upcoming update. No date yet.

Okay, now, to the practical stuff. What is recommended and what I use (and it works very well) is to use an MP4 file with audio only. The video with audio is accepted by Hype in its own layer. I usually put a still image with the opacity at 0. I also disable the video controls.
This allows to synchronize the animation with the audio and the export to video is complete (video and audio).

I hope you find this answer helpful. :wink:

2 Likes

I thought you would have liked the story. Oh well. There was a template included in the article there. (The Hype project is playing on that page too.) It totally proves that audio can work in the browser. Wasn't that the main problem?

Changed to MP3 files just in case ... same thing. Tried previewing in Chrome. Nope... no sound there either.

This was the part that made me think it was a browser issue too. I was happy I could help. But now, I'm sad again. HA HA. :grinning_face_with_smiling_eyes:

See, that's what I said. Well, I wrote .m4a... https://en.wikipedia.org/wiki/MPEG-4_Part_14 ...which is one of the extensions. (Wow, there are a lot of different extensions.)

So, this worked before? I was quite surprised to realize that the audio didn't play in the Hype app. I can't remember if it ever did.

See, I said that too! :grinning_face_with_smiling_eyes:

That's why I sent the link to the template. If it was blatant self-promotion, I would have posted a link to the YouTube channel. :laughing:

1 Like

Aquí está la petición, and the mp4 explanation, con la respuesta de @jonathan :wink:

Una solución similar con la explicación más detallada por @JimScott

Y la última intervención de @Daniel al tema

I really hope to see the possibility of working with direct audio in Hype soon. :pray: :slightly_smiling_face:

1 Like

Having ventured into YouTube land / Video Editing — wow, no kidding! I thought it would take a day to make a 10-minute video. I'm on day #3 now. I'm at the point where I would like to use some animation created in Hype, but I'm not sure how that's going to work... not well anyway... as I can't easily sync the animation to the recorded narration.

If audio did work in the player (or even better, if Hype projects could export to video — WITH AUDIO) Hype would make short work of this task.

This post was flagged by the community and is temporarily hidden.

Thank you Saeta!!
Perfect. :slight_smile: