FreeBasic V2M Player Lib ?!

New to FreeBASIC? Post your questions here.
Post Reply
Alexa
Posts: 56
Joined: May 01, 2007 20:22

FreeBasic V2M Player Lib ?!

Post by Alexa »

Hi,

i think everyone knows V2M Audio Format ... it's very useful for DEMOs and Games ...

i tried to Convert V2M lib for FreeBa$ic but i failed, please check the package below and help me to fix it

This File Contains C lib/source and my stuff for FreeBasic + a Sample Music

http://www.zshare.net/download/300355612207d0/


even i couldn't compile this with fbc -s , fbc answer is invalid subsystem ...!

Thank you.
Alexa
Posts: 56
Joined: May 01, 2007 20:22

Post by Alexa »

could anyone convert the C lib for FreeBasic ?!

Here is the Winamp Plugin + 26 Song from Farbrausch ( Demo Legends )

http://www.zshare.net/download/3025420f06319f/

also i have Lib for Visual Basic and Borland Delphi , if you need it, i can upload it too.
sir_mud
Posts: 1401
Joined: Jul 29, 2006 3:00
Location: US
Contact:

Post by sir_mud »

I'll take a look at the C header(s) and get back to ya.
sir_mud
Posts: 1401
Joined: Jul 29, 2006 3:00
Location: US
Contact:

Post by sir_mud »

I couldn't get either file to download.
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Post by D.J.Peters »

i compiled only the static *.lib in VS format in a *.dll
http://alice-dsl.net/d.j.peters/fbsound/libv2.zip

where is the visual basic library?

Joshy
Alexa
Posts: 56
Joined: May 01, 2007 20:22

Post by Alexa »

Thank you very much Dear Joshy!
You are always doing the best you can, Thanks again ...

One of my Friend made a Powerful and Optimized V2M Lib for Delphi and Visual Basic, it was Private but i will share it here ...

Download :
http://www.zshare.net/download/30357302dfe816/

Enjoy
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Post by D.J.Peters »

you can download it again
i added your examples
test02.bas

http://alice-dsl.net/d.j.peters/fbsound/libv2.zip

Joshy
Alexa
Posts: 56
Joined: May 01, 2007 20:22

Post by Alexa »

for Creating V2M Songs you can use Buzz Tracker ( buzzmachines.com ) or a VSTi Compatible Software like FLStudio and Copy Plugin file into VSTi Folder of your software and Link MIDI Output to V2 Plugin and Create your OWN V2M files with Hundreds of Effects and Voices

Download :
http://www.zshare.net/download/30364030c2be50/
Alexa
Posts: 56
Joined: May 01, 2007 20:22

Post by Alexa »

Dear Joshy, How can i use your .DLL file as Static Lib, embedded into my app ?
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Post by D.J.Peters »

Alexa this is an mistake
i have no source code to make a static FreeBASIC/GNU *.a lib
from a static visualstudio *.lib i compiled a *.dll to test it with FreeBASIC.

sorry i don't know how to convert a visual studio static *.lib in *.a format.

you can only put the whole *.dll in your *.exe
if your exe will run it must extract the *.dll in curent folder
and use dylibload (link) and dylibsymbol (link) to get the entry points to the v2 functions.
v2init(), v2plays(), v2dotick(), v2stop() and vs2close()

the same steps as your posted VB player :-)

Joshy
(sorry about my english)
Post Reply