We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, Is it possible to control the sound level of a video in a processing program. I have two videos playing at the same time and I want the program to be able to turn on and off the sound level based on variable values. Thanks Vincent
Answers
If you're using the Movie class, it has a .volume() method. I didn't see it in the documentation just now, not sure why.
try:
The method
Movie.volume()
is defined as public on Movie.java line 574.It would be nice to add volume() to the public documentation: volume() is not listed on the Movie reference or on the Video library index.
Previous forum posts have noted for several years that Movie.volume() is public but undocumented: 1, 2.
Documentation requested as an enhancement: processing-video issue 58
Thanks very much Jeremy. It works perfectly. Vincent
Thanks very much for your answer Gordano. Vincent