forum

spectrumGenerator |sG 0.3|

posted
Total Posts
73
Topic Starter
XinCrin
Hey guys, I made a little application to generate the most "wanted" effect, yeah, the spectrum. Let's see some screenshots before to start.



► Before to start

  1. Be sure to have the latest java update, you can check it in cmd (Just type java -version and enter), example

► Installation

  1. Download the rar file from current link
  2. Extract where ever you want

► How to use it

  1. 1. Open Spectrum.exe and there will appear a dialog, select your mp3 file and open it
  2. 2. Before to start, complete all the text boxes with all the values that you need
Open
  1. Style: Set the Style of spectrum {0;1;2}
  2. Save: You can set where you want to save your osb code, by default it will save it to your desktop . You can just type the filename and the txt file will be created in the same folder
  3. Path: The path of your image
  4. startTime: Here is where your spectrum will start (ms)
  5. endTime: Here is where your spectrum will fade-out (ms)
  6. fade:Opacity |1-full visible|0-hidden|
  7. ms before fade-in: yeah that (ms)
  8. ms before fade-out: you know it (ms)
  9. Color|r|g|b|: The color of your spectrum
  10. Color2|r|g|b|: The second color of your spectrum *You only need to enter a value here if you are going to enable ColorLoop*
  11. X: X position where the first bar will start appearing
  12. Y: Y position
  13. VH: Horizontal size of your bars
  14. Distance between bars: Distance between each bar (px)
  15. Origin: Is this really necessary? yes. The appearance of your spectrum will depend of this Example: BottomCentre,Centre
  16. Additive: Enable it if you want an additive blend effect to your image
  17. oneBeat: (ms)
  18. Loop: How many times the loop will work
  19. xWave: X distance for the wave
  20. Radius: Value for the circle shape

► Style


  1. 3. Before to start you should know that there are three styles for the spectrum, normal spectrum, waves and circular spectrum. What's the difference?, Well Let's see it now
Normal Spectrum

  1. A simple spectrum

Waves

  1. You need to combine images with the tool and you could get that kind of spectrum with waves style
  1. 4. Now you have to choose a style: |0 - Normal Spectrum||1 - Waves||2 - Circle|| I'll be adding more styles if you have any suggestion
  2. 5. If you will use the first style (0) you can ignore the next text boxes (oneBeat||loop||xwave||radius)
  3. 5.1. If not (Waves) , we have to introduce the next values now
Open
  1. oneBeat: Well, one beat, that, the distance between a white tick and the next one (miliseconds)
  2. Loop: How many times the spectrum will be moving (Waves)
  3. XWaves: How many pixels the bars will move in the Y position (20 should be okay, to have a soft movement)
  1. 5.2. If you will use third style (Circular Spectrum) we need to add these values and we can just ignore (oneBeat||loop||xwave)
Open
  1. Radius: The circle radius
  1. 6. Color Loop Option There's an extra feature where you can have a colorful spectrum with two color values like waves and circular spectrum example, What do we need for this?
Open
  1. Color(r,g,b): First Color
  2. Color2(r,g,b): Second Color
  3. oneBeat: (ms)
  4. Loop: How many times it will be being looped
  5. And the most important thing: Enable ColorLoop checkbox
  1. 7. Now Press START , wait a bit please, don't press it again. Why?. Because it takes a while to skip to the startTime ms
  2. 8. It should stop when it reaches the endTime value. Anyways you can press STOP button if you want to
  1. 9. Now go to your Desktop or the path that you've choosen to save it and there should be a txt file named spectrum.txt will all your storyboard code
  2. 10. Just copy all the code and paste it into your .osb file
►NOTE: You can set how many bars you want to generate by editing bars.txt at SpectrumGenerator folder and change the quantity. (Why didn't you add this into the GUI?. ~ Because the app should know how many bars will appear before to start the app). Be sure to edit this txt file before to start the app or it would crash.
►NOTE: The max. number of bars that you can set is 120
  1. If you want to work with coding be sure to take a look at Wafu's Guide
  1. There was an auto-updater but let's remove it for now since it isn't working very well :(
Ashasaki
Great help for the storyboarders for this Xincrin!
Gero
I tested this already and it works perfectly fine, good job Xin.
arviejhay
yay
Yumeno Himiko
This is good LoL

We have TWO spectrum generators now XD
Len

Ashasaki wrote:

Great help for the storyboarders for this Xincrin!
arviejhay
I have a problem:
when i set the bars number to 80, then i press start after i fill out the needed values, the spectrum didn't showed up.
Bray-
wow

good job xin

but there is an problem when i start it and nothing happen, i already have latest java, and i do all the steps, but negative >.>

gonna wait for your update soon :) :)
Topic Starter
XinCrin

arviejhay wrote:

I have a problem:
when i set the bars number to 80, then i press start after i fill out the needed values, the spectrum didn't showed up.
Yeah, my bad. 60 was the max number of bars but now I've changed it to 120
I've just fixed it, here's a new download link: http://puu.sh/m7fpG/9a08beaa42.rar
Cellina
What should I have to do to place my spectrum at perfect centre?
Topic Starter
XinCrin

Reana wrote:

What should I have to do to place my spectrum at perfect centre?
What do you mean by centre?. X or Y?

Y:240
X: It will depend of bars quantity
Wafu
Cool stuff! Let's see how are people going to use this :)
Also thanks for linking my thread, did the same as I really see this can do a lot of things.
Topic Starter
XinCrin

Wafu wrote:

Cool stuff! Let's see how are people going to use this :)
Also thanks for linking my thread, did the same as I really see this can do a lot of things.
Thanks for linking my thread too :)
Yep, I just hope it doesn't will be overused in beatmaps :p
crystalshower
Finally :D
byfar
Yuzeyun
Change the locale to Locale.US, please. Using the program under a locale that has, for decimal values "0,1564" breaks everything.
Topic Starter
XinCrin
Yeah, my bad. I'm gonna fix it soon and upload a new version
Done, Here's a new download link. I've edited the link in the main post too.
byfar
after i apply the spectrum, osu becomes super laggy when i open my map in the editor. it doesn't lag on any other map with an audio spectrum.
Topic Starter
XinCrin

byfar wrote:

my map in the editor becomes super laggy when i apply the spectrum, it doesn't lag on any other map
Can you provide me your beatmap?
byfar

XinCrin wrote:

byfar wrote:

my map in the editor becomes super laggy when i apply the spectrum, it doesn't lag on any other map
Can you provide me your beatmap?
https://osu.ppy.sh/s/340048
Topic Starter
XinCrin
That's because you've used too many bars, just check at the .osb and the amount of lines and how osu have to load these lines.
In addition, you've used the spectrum in the entire song, 16 mb. of sb code
byfar
i used your particle generator as well, is there anyway to quickly delete half of the code? since there are so many lines :/

now the issue i have is that, when i decide to section off the spectrum by starting it off in the middle section of the song , the audio spectrum still starts out small (like how it would if i generated a spectrum near the beginning.) what i'm saying is that the spectrum doesnt match the intensity of the song if i decide to set a StartTime
Topic Starter
XinCrin
startTime and endTime are only to set the fade-in and fade-out of the spectrum. You'll need to extract a specific part of the .mp3 and open it to extract the code if you want. The program will not cut the mp3 for you
CSLM

XinCrin wrote:

startTime and endTime are only to set the fade-in and fade-out of the spectrum. You'll need to extract a specific part of the .mp3 and open it to extract the code if you want. The program will not cut the mp3 for you
And that's not the idea (at least imho). The point is do the whole actions by the startTime and endTime, not just the fade-in and fade-out. Making the vector scale since the startTime till the end is something unfavorable for the people which just want the spectrum effect for one section, because the aplication will generate more unnecesary code, and more unnecesary code = more unnecesary size for the .osb
Apparting that, the tool is really awesome, and will be great add the style of some geometric forms (like the circle, or triangle, o square)
Topic Starter
XinCrin
Because of that we have the stop button to avoid the unnecessary code
And It looks like you still didn't use the app. startTime applies for the scale vector too, movement and others too. . .
Chirony
awesome!
Auxent
Thank you for making this <3
Topic Starter
XinCrin

What's new in 0.2 version?

  1. First, We have to re-download the program, I've edited the main post with the new download link or click here
  2. An installer, it will create a shortcut to your desktop. So you can easily open the program
  3. Auto-Updater, It will check if there are a new version and it will update it for you. Thanks to Kagu-chan for his help
  4. Your storyboard code should be automatically saved to your desktop.
  5. In the next update I'll add more styles and improve the GUI. That's all for now!
Kyouren
Nice~ <3
I'm already have 2 request :3

Thank you XinCrin for making this program, it's perfect~ :D
Mao
Cool :3
snz

Mao wrote:

Cool :3
Nerova Riuz GX
im dead.
it get stuck like this for over 4 hours
and i've already tried many ways to solve that but still
dead.

Topic Starter
XinCrin

Nerova Riuz GX wrote:

im dead.
it get stuck like this for over 4 hours
and i've already tried many ways to solve that but still
dead.

Can you finish the process at windows task manager and open it again?
Kagu-chan
Currently im working with the updater - I will serve a fixed version soon.
Can you please send me the content of

%appdata%/Spectrum/kcConfig.json per PM?
Otherwise XinCrin can send it too.

Please also tell me your operating system and (per PM) your IP adress if possible - on the server i see a few requests just retriving project information, but not more then that...
Kagu-chan
For all having the Starter Issues:

Please send me the data described the post above.
You always just can start %appdatta%Spectrum/App.exe which contains the real application if you alredy downloaded it!

To kick the process out of windows you have to look for "Osu beatmap Grabber" in your taskmanager - this will get fixed too.
Nerova Riuz GX

XinCrin wrote:

Nerova Riuz GX wrote:

im dead.
it get stuck like this for over 4 hours
and i've already tried many ways to solve that but still
dead.

Can you finish the process at windows task manager and open it again?
yes i tried that. i reopen it at around 00:10 and it's still like that (01:47 now)
and i've tried using compatibility mode with windows XP, running it under the administrator's account....blahblahblah

Kagu-chan wrote:

Currently im working with the updater - I will serve a fixed version soon.
Can you please send me the content of

%appdata%/Spectrum/kcConfig.json per PM?
Otherwise XinCrin can send it too.

Please also tell me your operating system and (per PM) your IP adress if possible - on the server i see a few requests just retriving project information, but not more then that...
.json file is here: http://puu.sh/mD1hX/e09ae885c5.json
operating system is windows 7 64 bit
ip is 58.115.186.117 (im not sure what im using is floating ip address or not)
Topic Starter
XinCrin
I've added a new download link at main post with the program without the auto-updater function in case someone can't make it work :)
Kagu-chan
The stop comes from a timeout as it seems - it was just to small values.
I adjusted it, but tthe build for this Tool is a bit baka...

Fix follow asap, but i have to look what the heck is running wrong...
Pantheon
How do I adjust the size of the wave :?:
Underforest
I don't know, I want to install the app but the installer doesn't open :'(
Kagu-chan
Please use the direct link at the Ende oft the Main thread. The installer dies not works correctly currently and i cant say why -.-
Topic Starter
XinCrin

What's new in 0.3 version?

  1. First, We have to re-download the program, I've edited the main post with the new download link or click here
  2. I've removed the auto-update provided by Kagu-chan, we had some issues and we should fix them before to include them to avoid problems
  3. A new Style, circular spectrum
  4. Color Loop, to create colorful spectrums
  5. Auto-Saving Values, you'll not lose your values when it closes by itself. They will be restored when you open again the program (Settings.sp at the current folder)
  6. You don't need to cut the mp3 file anymore to get an specific part, it will start and end when it reaches the endTime value (Yeah you don't need to press the STOP button anymore)
  7. And. . When you press START wait a bit, don't press it again. Why?. Because it takes a while to skip to the startTime ms
  8. Main post has been edited with more info too . . .
arviejhay
yay a circular spectrum :D
Nerova Riuz GX
welp, a question
is it possible to make those bars' length more "balanced"?
in some songs, some of the bars go extremely long but some of them can't even be recognized
Topic Starter
XinCrin
Bars lenght? Ms lenght or what?
If you are talking about the size, not.
It will depend of song's beats
tochiii
How do i make it BottomCentre where it fits like yours?
This is how mine looks like D:
Wafu

-Tochi wrote:

How do i make it BottomCentre where it fits like yours?
This is how mine looks like D:
After installing the tool, you can use (Windows Key+R), type in %appdata%\Spectrum and press enter. You'll see bars.txt file here, open it and type in how many bars you want. Maybe it works even in the bars file which you get when extracting the tool, but I'm not sure. That's the only difference I could think of. Maybe it's what you want. Just edit the bars.txt in folder with the tool.
Topic Starter
XinCrin
Installer has been removed in the las update, wafu you are wrong
Wafu

XinCrin wrote:

wafu you are wrong
Partially. The wrong thing was that it's not in appdata anymore, so he only needs to adjust bars.txt in the folder he extracted it.
Hokichi
Can anyone be more thoughtful than you?
I love all of your SB Tools :)
show more
Please sign in to reply.

New reply