G force display question

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
yoyoyo3
Posts: 1
Joined: Fri Sep 05, 2008 8:09 pm

G force display question

Post by yoyoyo3 »

Hey im thinking of getting g force but i want to know if there is a way to get it so that when music is not playing the screen is completely black, and then when music comes in the visuals start and what not. Im not talking about in between songs really, but if there is a silent part in the song i would want the screen black and then the visuals to come back in with the music. is this possible?

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

If you mean having the waveshape/particle disappear with the onset of silence, I can think of one way.

There are some that use a variable in the code named "s" which represents a sample of the input at any given moment. This is used in conjunction with two more functions called "mag" and "fft", both of which gauge and actually render the visual output.
The second and most important part of this process is that all three of the aforementioned functions must be found in the Pen section of the Waveshape/Particle code.
Therefore, if there is no sound for the wave/particle to react to, then it will be as if nothing were drawn at all and you will effectively have a blank screen during silent breaks.
BTW, you will find the actual code docs for all the configs in your G-Force folder. Simply open up the effect folders and you will find the individual docs in them, which you can also open up and edit in any way you want.


PPS: *All* the waveshapes and particles can be edited to make them "disappear" as I suggested. Just remember to restrict your editing to the Pen section of the overall code. If you have any questions as to how to edit in the way I discussed, shoot me an email (philodoh@mac.com) and I can show you how it's doable.
"God is syntax."

Post Reply