Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Conductor DLL - Music Engine ---> help ...

Author
Message
Raise Audio
17
Years of Service
User Offline
Joined: 2nd Jun 2007
Location:
Posted: 3rd Jun 2007 02:46
Hi,
I just released a dll for pc-games. It's called conductor, a new music-engine (it's free for non-commercial use). I want to make it possible for darkbasic-users to use this library, but I don't know how to do this.
I have these files:

CME.dll
CME.lib
CME.h
and also a PureBasic header-file.

I know it can't be too complicated, can you help me ? Is there a documentation ?
Conductor also needs an audio-callback, is this possible with darkbasic ?

thanks.
Jens
Olby
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 3rd Jun 2007 23:02
Firstly you should explain more about your music-engine. What it does? How it basically works? Then we can suggest you something more in depth.

Thanks for interest in DBPro community.

AMD Sempron 1.8+ Ghz, 512MB Ram, ATI R9550 256MB Ram, Sound Blaster Live!, WinXP Pro SP2, DirectX 9.0c (Feb2007), DBPro 6.6b
http://www.myspace.com/producerolby
Raise Audio
17
Years of Service
User Offline
Joined: 2nd Jun 2007
Location:
Posted: 4th Jun 2007 14:40
sorry,
I did't get that email that you answered me...
You can have a look at www.raiseaudio.com

Conductor-Music-Engine:
Control values from 1-4 allow you to change the tension of a song whenever you want. With this feature you are able to synchronize the music with your game. It switches with the beat.

you can download this software for free:
http://www.raiseaudio.com/filesfree/ConductorLite-v100_fullinstall.exe

Try the free demo-songs it's funny. There's a player for it.


So, you simple use the CME.dll together with that created conductor-wavefiles and you will need an audio-callback to get the samples into the audio-buffer. (possible with fmod or bass)

CME_Version ()
CME_Load (long inst, LPTSTR filename)
CME_Play (long inst, long play)
CME_GetAudioSamples (long inst, short *l, short *r) <--- your audio callback entry point
CME_SetAction (long inst, long num)
CME_SetLastAction (long inst, long num)
CME_FadeIn (long inst, long samples)
CME_FadeOut (long inst, long samples)
CME_SetVolume (long inst, long vol)
CME_GetPlaying (long inst)
CME_Close (long inst)


that's all ....

Login to post a reply

Server time is: 2024-11-22 21:50:21
Your offset time is: 2024-11-22 21:50:21