April 25, 2024, 03:00:25 PM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
For WME related articles and tutorials visit
WME Resource Center
.
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
no error, but no music
« previous
next »
Pages: [
1
]
Print
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
Gender:
Posts: 78
This engine rocks!
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
Gender:
Posts: 5683
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.
Drax
Occasional poster
Karma: 0
Offline
Gender:
Posts: 78
This engine rocks!
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!
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
no error, but no music