I´ve seen that several people here were looking for an example of how to use the FMOD sound & music system in PureBasic, so we wrote one:
http://www.master-creating.de/purebasic ... mod_pb.exe
I hope it´ll help you to get started

Best regards,
Jan and Martin