Author Topic: REQUEST: Audio Visualizer Script?  (Read 2652 times)

I was wondering if something like the first 10 seconds of this was scriptable:

I have a basic visualizer evented with basic relay events but it kind of randomly jumps up and down instead of reacting to the music. I've seen a script or whatever done before by Eagle517 but I cant remember if it was a .dll or a script. He says he doesn't recall it and to be fair he showed it to me almost 4 years ago.

Just trying to see if anyone can help me out because I'm not skilled enough with relays to try and make a proper visualizer. (if its even possible with events)

« Last Edit: October 21, 2017, 08:17:42 PM by Khaz »

The only thing I've ever seen was random. There isn't really anything you can do without a dll.

i think there was something like this at new years 2016

i think there was something like this at new years 2016
Which was random, not based on the music.

if you know what it looks like outside of blockland, you could try importing it through a script and play the visualization at the same time as the music

I doubt you could figure out the data needed from inside blockland itself with only events

if you know what it looks like outside of blockland, you could try importing it through a script and play the visualization at the same time as the music

I doubt you could figure out the data needed from inside blockland itself with only events
It would probably be possible by simply adjusting the relay's delay times for each visualizer column according to bass and treble. If I'm thinking correctly it may be possible with events but if someone made a script it would make my life a whole lot easier.

The hardest or most tedious part would be making the same visualizer adjust to multiple songs, which is the biggest reason why a script (if possible) would be handy
« Last Edit: October 22, 2017, 02:20:22 AM by Khaz »

it could be imported as events applied to bricks, events in the event saver, a save file, or other formats
or the script could just affect the bricks it needs to

either way you'd need an external program to generate the data into a text file or something, once you have that part it'd be easier to figure out how you want to get it into the game itself

i think there was something like this at new years 2016
i made a cube with 9 animations that made the cube stretch at different intervals, then i created an event that played those animations through the item on the brick. i also had that event change the vertical scale of the item so it didn't look so consistent

https://youtu.be/3d2DE7Dyamg

here's a little video i made demonstrating it. i was using bind action to control it during the song playing

dude that would be amazing if i could get someone to have it react to music being played

NVM i got far enough into the video and that's loving amazing

stuff forget

im guessing private addon -__________________-
« Last Edit: October 22, 2017, 03:51:27 AM by Khaz »

NVM i got far enough into the video and that's loving amazing
don't get too excited
i was using bind action to control it during the song playing

it doesn't actually react to the music automatically, i was controlling it with bind action


i mean if someone was willing to make a script that could actually react to music I'd consider giving it up. but as of now I'm still using it for another project

If you dig deep enough into the OpenAL functions you might be able to get the pitch of an audio source, but no guarantees.
http://docs.garagegames.com/tge/official/content/documentation/Reference/Console%20Functions/TorqueScript_Console_Functions_1.html

If you don't mind needing BL-Browser and having to make a video with an equalizer for every song, you could use a set of tall, thin bricks that show only a single column of the equalizer. It wouldn't change the height of the bricks, but it'd have lights going up and down them.
All you'd need to do would be make a fairly simple model (it's a rectangular prism with some fancy UV mapping, I don't think that should be TOO hard) and find something that makes equalizer videos for audio files.