Bass.dll for BlitzMAX

BlitzMax Forums/BlitzMax Programming/Bass.dll for BlitzMAX

Raz(Posted 2007) [#1]
Until now I have been using the FMOD system for music playback (xm format). It has been great but as far as I can tell it is unable to do something new I'd like.

I would like to be able to set the frequency of music playback, so the tempo and the pitch can be altered. Currently (as far as I can tell) you are only able to alter the masterspeed which will change the tempo but not the pitch. First off, if I am wrong with this assumption I'd love to hear a way of doing it :D

However, I have used bass.dll in the past with another game maker (click n create) and you can set the frequency of the music to alter both the tempo and the pitch.

edit> I've had a look around the forums already and see 1 or 2 entries for bass.dll but it's nothing that really makes sense to me.

I'm not up to scratch with how you go about using such things in Max so am wondering if it's possible (for me) to use bass.dll with bMax for music playback?

ta!


Russell(Posted 2007) [#2]
Hmm... I'm no FMod guru, but I'm fairly certain FMod is able to do this (At least the full version of FMod should be. "miniFMod" may also be able to). Find miniFMod here: http://www.fmod.org/files/minifmod170.zip

Try posting the question on the FMod forum ( http://www.fmod.org/forum/ ) because I would be extremely surprised if this is not already possible.

Russell


Raz(Posted 2007) [#3]
Cheers russell :) I did have a post up on the fmod forum which I see has just been replied to, if I want to do this I need FMODex.

However, better news, I've worked out how to do this with BASS now with the BASS_ChannelSetAttributes command.


LAB[au](Posted 2007) [#4]
And which version of Bass do you use? Is there a mod for version 2.3?


Raz(Posted 2007) [#5]
2.1.0.2 along with a bass.bmx include, 2 secs I'll upload

http://www.evildrbin.com/chris/bass.zip


MGE(Posted 2007) [#6]
Hey Raz (or anyone using this), is this bass module stable enough to use in deployed apps? Thanks!


Raz(Posted 2007) [#7]
I've really not used too much of it, but the parts I have used have been fine. Bass.dll has been developed for years so I wouldn't imagine you having any problems.


MGE(Posted 2007) [#8]
Bass.dll I wasn't worried about, BMax + bass module + + bass.dll I was concerned with. ;) Did you write the module? If so thanks! I'm a licensed bass developer so I'm glad there's a Bmax mod ready to go. woo hoo! :)


Raz(Posted 2007) [#9]
ahh nah not my work at all! I found it in the Grid wars source code


Filax(Posted 2007) [#10]
Any chance to get the zip file ?


Raz(Posted 2007) [#11]
maybe, ill look now

EDIT: Not to hand no sorry. If you can find gridwars, you will find it.