Share My Creation Sound wave visualization with B4J, PyBridge, jaudiotrack2 and librosa.

This project offers an innovative solution for visualizing sound waves by combining the power of B4J for the graphical interface with the flexibility of Python for audio processing.
Thanks to PyBridge, the integration between the two languages is smooth and efficient.

Technologies Used
B4J: RAD (Rapid Application Development) framework for Java, used here to create a responsive and intuitive user interface.
PyBridge: Bridge between B4J and Python, allowing Python scripts to be executed directly from a B4J application.
jAudiotrack2: Java module for playing and manipulating audio files, used to manage soundtracks.
Librosa: Python library specialized in audio and music analysis, used to extract and visualize waveforms.

Librosa accepts several audio formats, but it depends on the underlying libraries used to play the files.
For maximum compatibility, use WAV files.

SoundWave.png



For a custom view, you can change these values:

swFaceColor = CovertColor(xui.Color_RGB(65,105,205)) ' librosa color format (#112233)
swBackColor = CovertColor(xui.Color_LightGray)
swCursorColor = xui.Color_Red
swCursorSize = 1dip

Have fun
 

Attachments

  • SoundWave.zip
    7.8 KB · Views: 39
Top