Tagged: audio config
- This topic has 13 replies, 5 voices, and was last updated 4 years, 7 months ago by 3dguima.
-
AuthorPosts
-
2020-03-11 at 2:26 pm #245633dguimaParticipant
My first project with Verge 3D.
https://3dguima.github.io/3d-Interativo/
A little help …
Any tutorial on creating a button that turns the sound on and off?
I managed to create to play the audio, but I can’t do it like giving a stop.
Thanks.2020-03-11 at 2:31 pm #24566Yuri KovelenovStaffHi,
a nice start!
Any tutorial on creating a button that turns the sound on and off?
see the Teapot Heater demo in your Verge3D distribution where such the button exists
2020-03-11 at 5:20 pm #245713dguimaParticipantThanks Yuri!
I will study the code.
One observation is that the presentations are too heavy for me, I don’t understand why.2020-03-12 at 11:15 am #24626AndrejusParticipantVery nice
2020-03-16 at 2:21 am #246633dguimaParticipantHello @yuri!
I opened the Teapot Heater project but it is very complex for me at the moment. Excuse me.
If you have any other tips in a simpler video or project I would appreciate it.
Thanks for everything.2020-03-16 at 10:31 am #24675Yuri KovelenovStaffSure!
The most simple way is to just have 2 3D objects which will serve as buttons for playing and pausing the sound.
A more advanced way is to use just 1 object which will pause/resume playing the sound upon repeated clicks, as described here.
Finally, you can use an HTML button to do the same.
2020-03-16 at 2:58 pm #246893dguimaParticipant“The most simple way is to just have 2 3D objects which will serve as buttons for playing and pausing the sound.”
– I will see and study!“A more advanced way is to use just 1 object which will pause/resume playing the sound upon repeated clicks, as described here.”
– I had already achieved this effect. I will visit the link and study to see if I did the same or if there is a better way.“Finally, you can use an HTML button to do the same.”
– I will also visit to study and try to learn.Thank you, thank you, thank you.
🍻2020-03-17 at 8:55 pm #247582020-03-19 at 3:18 pm #247953dguimaParticipantA doubt and a help please …
I understood how to create the system with “PLAY and PAUSE” for music (audio).
I didn’t find or understand how to create “PLAY and STOP”, where the music stops with the “STOP” button and starts from the beginning if the “PLAY” button is pressed again.2020-03-19 at 4:12 pm #24796Ivan LyubovnikovStaffHi,
I didn’t find or understand how to create “PLAY and STOP”, where the music stops with the “STOP” button and starts from the beginning if the “PLAY” button is pressed again.
If you are using puzzles for playing/pausing audio, then you can also utilize the “rewind sound” puzzle: https://www.soft8soft.com/docs/manual/en/puzzles/Sound.html#rewind_sound
A combination of “pause sound” and “rewind sound” puzzles will make the audio play from the start next time you use “play sound”.Co-founder and lead developer at Soft8Soft.
2020-03-20 at 9:19 pm #248443dguimaParticipantHi, @ivan!
That was what I was trying to understand.
I’m not a programmer, I just try to get some code success so I’m sorry for the question if it’s not correct …
Wouldn’t a specific stop function, such as the play and stop functions, be simpler?
Thank you for your help.2020-03-23 at 8:23 am #24862Ivan LyubovnikovStaffI’m not a programmer, I just try to get some code success so I’m sorry for the question if it’s not correct …
Sure, the question is fine, we also have a dedicated forum section for feature requests if you’d like to point out some missing features: Bug Reports and Feature Requests.
Wouldn’t a specific stop function, such as the play and stop functions, be simpler?
Yes, it’s definitely simpler. I’m not sure that we’ll add it in the near future, but this can ease the learning curve. Thanks for the suggestion!
Co-founder and lead developer at Soft8Soft.
2020-03-24 at 12:26 pm #24941Al SandeCustomerHi, @3dguima..
I use a simple puzzle and a couple of objects to control the sound. I did a screenshot where you can see the puzzle as well as the sound controls I made in Blender… This plays “tunes.mp3” in the application directory folder (or whatever your filename is).
I’ve made a couple a bit more complex but with this same logic – but this has all of the basics.
I’ve attached the image. I hope this helps.
Al
2020-03-24 at 5:58 pm #24964 -
AuthorPosts
- You must be logged in to reply to this topic.