V2M Library 1.0 – x64 2026
A .v2m file is a compact music module (similar to a chiptune or MIDI file) for the Farbrausch V2 synthesizer,
a software synthesizer primarily used in the demo scene for extremely small file sizes in complex electronic music.
PureBasic 6.21 x64 and up · V2Redux · Windows · Statische Bibliothek / Static library
Install the V2M library and the internal PureBasic F1 Helpfile by using the V2M_UDG_Native_x64_Setup.exe
this will install
- V2M_UDG_Native to .. \PureLibraries\UserLibraries
- V2M_UDG_Hilfe.chm to .. \PureBasic_x64_V641\Help
full documented
this Lib support the follownig calls:
V2M_Load() Load a V2M from memory
V2M_Play() Start at the beginning
V2M_Stop() Stop and reset the reported position
V2M_Pause() Pause playback
V2M_Resume() Resume from rendered position; synthesizer is restarted at that position
V2M_Seek() Jump to a millisecond position
V2M_GetPosition() Rendered position in ms, not precise speaker playback time
V2M_GetLength() Song duration in ms
V2M_FadeIn() Set fade-in duration and gain
V2M_FadeOut() Start fade-out; when finished playback stops
V2M_SetVolume() Master volume, clamped to 0–100
V2M_SetLoop() 0 disables loop, any nonzero value enables loop
V2M_SetChannelMute() MIDI channel 0–15; 1 mute, 0 audible
V2M_GetChannelLevel() Read one channel peak ×1000; reading clears the 16-channel peak snapshot
V2M_ReadChannelLevels() Write 16 consecutive 32-bit floats to caller buffer (64 bytes)
V2M_GetStatus() 0 stopped, 1 playing, 2 paused, -1 not loaded, -1000 - waveOut error
V2M_Close() Synchronously stop the audio thread and release engine resources; then release the song buffer
2026 // november
Download GoogleDrive:
https://drive.google.com/file/d/1-llu45OHFS2brmOhb9aO4a26QsJn5dqg/view?usp=sharing
(https://i.ibb.co/Qv0gs5nt/example.jpg) (https://ibb.co/Qv0gs5nt)
Hi inc.
Is it a new version of the v2m synth itself?
I remember making a freebasic port from version 1.5 in 2009 :o
Yes, it is a complete recode from Scratch for modern PureBasic builds up from 2026 for x64 Versions and should Work the next several years. I hope 😆
👍🏻