PROGRAMMING > Freebasic
Freebasic MiniFmod 1.70
rbz:
This is my little present for the freebasic users :xmas:
MiniFMOD 1.70 by FireLight Multimedia.
A special minifmod version capable to load songs from memory buffer (using bin2bas ;) ) and an easy function to retrieve song sample/notes from current song playing.
You can now synch your intro with song, choosing a specific sample/instrument or note for each channel, you can start an effect with a particular note, make transitions etc, or even create a specific channel only for intro synchronizations , the possibilities are endless :)
Special thanks goes to Hellfire for writing a tutorial about how to sych with minifmod.
Functions:
==========
MiniFmod_Init
MiniFmod_Play
MiniFmod_Stop
MiniFmod_Free
MiniFmod_GetOrder
MiniFmod_GetRow
MiniFmod_GetTime
MiniFmod_GetSynch
MiniFmod_GetChannels
MiniFmod_SetVolume *new*
To install:
-----------
From "freebasic_minifmod170.zip" file extract and copy the file "libminifmod170.a"
library to the freebasic install folder:
Eg.: C:\FreeBasic\lib\win32
And "minifmod170.bi" to the folder C:\FreeBasic\inc
Check out example test folder
Shockwave:
My word!
How easy to use can it be? :)
Thanks Rbz, this means that it will be a piece of cake for anyone to write programs in freebasic that need spectrum analyzers, vumeters / music synch.
Thank you to Hellfire too for working on the tutorial.
I've tried it already with a few songs, it works really nicely and just in time for me to start my text mode demo too.
K+++
ninogenio:
oh cool cheers rbz k+,
sticky it please!
Shockwave:
I have a question though rbz :)
When using getsynch, to return the note, what is the possible range please?
For example, is there a note returned between 0 and 128 for example?
rbz:
Thanks!
--- Quote from: Shockwave on December 24, 2008 ---I have a question though rbz :)
When using getsynch, to return the note, what is the possible range please?
For example, is there a note returned between 0 and 128 for example?
--- End quote ---
For notes the range are 0 to 133, where 132=none and 133=keyoff
For samples/intruments the range are 0 to 99
Navigation
[0] Message Index
[#] Next page
Go to full version