Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: no error, but no music  (Read 3018 times)

0 Members and 1 Guest are viewing this topic.

Drax

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 78
  • This engine rocks!
    • View Profile
    • Ganja Joe - And the myth of the holy pot
no error, but no music
« on: December 21, 2003, 02:10:58 PM »

how can i play music?

i have scripted this in my scene_init.script:

Game.PlayMusic("music\waves.wav");

the file is in the music folder.
i have no errors while playing the game, but there's no music. What is the problem? the soundcard drivers? the wav file is played correctly in other programms.
does anybody know?
Logged
I'm Lost!

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:no error, but no music
« Reply #1 on: December 21, 2003, 02:17:40 PM »

One possible reason is the wav file is compressed. WME only plays uncompressed (PCM encoded) wave files. You may want to use Ogg files for music anyway.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Drax

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 78
  • This engine rocks!
    • View Profile
    • Ganja Joe - And the myth of the holy pot
Re:no error, but no music
« Reply #2 on: December 21, 2003, 04:37:20 PM »

yepp, it works. thanks a lot!!
Logged
I'm Lost!
 

Page created in 0.038 seconds with 20 queries.