Introduction
Hi everyone, here is my self-written data converter for music spectrum diagram in storyboard.
It is written in Java in eclipse IDE andit can convert the data retrieved by Frequency_Analysis.jar provided in this post.
I combine all the stuffs into one now:
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
Features
cute sister KwaN.
Hi everyone, here is my self-written data converter for music spectrum diagram in storyboard.
It is written in Java in eclipse IDE and
I combine all the stuffs into one now:
- SDP = Spectrum Data Processor, used to process the audio file to produce spectrum data and output to local storage.
- SDC = Spectrum Data Converter, used to convert the output file from SDP to osb code.
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
ver 1.1: Runnable Jar- added alpha parameter to the bar diagram
ver 1.2: Runnable Jar- Amended UI
- Just use check box for rainbow color mode
ver 1.3: Runnable Jar- Added direction of diagram (horizontal/vertical)
- You can now select origin of the bar image, that means you can have one side scaling diagram in vertical or horizontal direction
- ver 2.0: Runnable Jar | Source Code
- See "Why I divide them into SDP and SDC?"
Features
- Manually select audio file and output spectrum data!
- Bar number customization!
- Customization of position of the whole spectrum bar diagram!
- Scale factor of X and Y-coordinate of bar image!
- Toggle time section function!
- Default rainbow color effect on the whole diagram!
- Customization of fade in/out time!
- Horizontal or Vertical Spectrum Diagram!
- customize of color gradient?
- Firstly, Java on your computer.
- The mp3 file of your song
- SDG.jar + dat
- bar image for the spectrum diagram. Here is a simple white one that can render rainbow pattern for a horizontal spectrum diagram.
- Put the files in the zip in a folder
- Run SDG.jar and click SDP when you are handling a new audio file.
- Use SDP to process the audio file and get data.txt
- 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.)
- When you press generate, the inputted parameters will be saved. You can manually save them through the menu or pressing Ctrl + S.
- Wait for file output.
- After the generation, open the file outputted (in default case, it is sb.txt).
- Copy all the content in the text file and copy to your osb file.
- Then you can see the effect of the music spectrum bar diagram in osu!.