forum

[Tool] Spectrum Diagram Generator v2.0

posted
Total Posts
20
Topic Starter
ITer_old
Introduction
Hi everyone, here is my self-written data converter for music spectrum diagram in storyboard.
It is written in Java in eclipse IDE and it can convert the data retrieved by Frequency_Analysis.jar provided in this post.
I combine all the stuffs into one now:
  1. SDP = Spectrum Data Processor, used to process the audio file to produce spectrum data and output to local storage.
  2. SDC = Spectrum Data Converter, used to convert the output file from SDP to osb code.
Why I divide them into SDP and SDC?
Extract spectrum data out from audio file requires to let the music plays once. My idea is that extract spectrum data should only be carried out once only.
When we want to change the style or adjust the position of the spectrum diagram, we do not need to extract the spectrum data again, truly it is waste of time.
Instead you can just open SDC , adjust the parameter and convert the existed audio spectrum data from SDP (data.txt) to osb code again.

Program preview

Final output in osu!

Update & Download
Update & Download
  1. ver 1.1: Runnable Jar
    1. added alpha parameter to the bar diagram
  2. ver 1.2: Runnable Jar
    1. Amended UI
    2. Just use check box for rainbow color mode
  3. ver 1.3: Runnable Jar
    1. Added direction of diagram (horizontal/vertical)
    2. You can now select origin of the bar image, that means you can have one side scaling diagram in vertical or horizontal direction
  4. ver 2.0: Runnable Jar | Source Code
    1. See "Why I divide them into SDP and SDC?"

Features
  1. Manually select audio file and output spectrum data!
  2. Bar number customization!
  3. Customization of position of the whole spectrum bar diagram!
  4. Scale factor of X and Y-coordinate of bar image!
  5. Toggle time section function!
  6. Default rainbow color effect on the whole diagram!
  7. Customization of fade in/out time!
  8. Horizontal or Vertical Spectrum Diagram!
Planned features to add
  1. customize of color gradient?
Things that you need to prepared
  1. Firstly, Java on your computer.
  2. The mp3 file of your song
  3. SDG.jar + dat
  4. bar image for the spectrum diagram. Here is a simple white one that can render rainbow pattern for a horizontal spectrum diagram.
Step by Step Tutorial
  1. Put the files in the zip in a folder
  2. Run SDG.jar and click SDP when you are handling a new audio file.
  3. Use SDP to process the audio file and get data.txt
  4. Then switch to SDC tool for generating osb code (The dat file included some default settings like 118 for BPM, diagram appears in time 0~10000 and 15000 to 20000 ms, etc. It is essential to set them all to fit with your song.)
  5. When you press generate, the inputted parameters will be saved. You can manually save them through the menu or pressing Ctrl + S.
  6. Wait for file output.
  7. After the generation, open the file outputted (in default case, it is sb.txt).
  8. Copy all the content in the text file and copy to your osb file.
  9. Then you can see the effect of the music spectrum bar diagram in osu!.
Finally, Thank you my cute sister KwaN.
Karen
Nakano Itsuki
Should be Evil Mapper KwaN
Yumeno Himiko
顶111
sheela
oh my god I love you sooooooooooooooooooo much
-Mo-
YES
YES
YES
XinCrin
Is there any chance to share the code?. Some people would like to see the code, So, they would edit and control the spectrum as they want
btw, Cool stuff to help beginners with the spectrum :)
IamKwaN
nice, I expect more from you <3
Topic Starter
ITer_old
Now porting the two jars together to form a single tool.
Topic Starter
ITer_old
v2.0 Updated.
Now more convenient for this tool.
Bray-
helpfull tool, thanks mate ^-^)/
snz
This Like Nice!
-Atri-
:D now i feel great to make sb~ okay i give up, i still have issues with my diagram
tochiii
I can't click on "Pause or Stop" after finishing the song.. It doesn't react...
sheela

-Tochi wrote:

I can't click on "Pause or Stop" after finishing the song.. It doesn't react...
Wafu's Frequency Analysis program is not compatible for Windows 10 and Ubuntu 15.10. We can wait for a new release, but for now, you can use XinCrin's spectrumGenerator.
tochiii

sheela901 wrote:

-Tochi wrote:

I can't click on "Pause or Stop" after finishing the song.. It doesn't react...
Wafu's Frequency Analysis program is not compatible for Windows 10 and Ubuntu 15.10. We can wait for a new release, but for now, you can use XinCrin's spectrumGenerator.
I use Windows 8, though I found XinCrin's some time ago but thanks ^^
Pickkle
puush could not be found?
-Atri-

Pickkle wrote:

puush could not be found?
[ Drop ]

Pickkle wrote:

puush could not be found?
IamKwaN
My brother has given up on reviving this, so I couldn't help lol
Please sign in to reply.

New reply