Can you hear me?

For questions about using Classic.

Post » Wed Jul 23, 2008 4:41 pm

I get no sound back from the directsound. But I can hear sound from other things EG Windows media player.
B
2
G
4
Posts: 69
Reputation: 1,188

Post » Wed Jul 23, 2008 4:46 pm

You're probably trying to play a nonexistent file. Did you get the filename right?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Wed Jul 23, 2008 4:49 pm

Yes.
I dont get sound with any other projects.
B
2
G
4
Posts: 69
Reputation: 1,188

Post » Wed Jul 23, 2008 4:59 pm

Could you upload a .cap and a .wav file which doesnt make any noise for you?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Wed Jul 23, 2008 5:12 pm

B
2
G
4
Posts: 69
Reputation: 1,188

Post » Wed Jul 23, 2008 5:17 pm

As in the documentation for the Directsound object, you need to use 'Play music' for MP3 files. Other actions only support PCM WAV files. Secondly, the filename is "Title.mp3", not "Title". Finally, since 'Play music' rewinds to the beginning of the track and starts playing it, you will want to play the music on Start of layout, otherwise you rewind and replay the track every time the screen draws!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Wed Jul 23, 2008 5:21 pm

Ok thanks.
B
2
G
4
Posts: 69
Reputation: 1,188


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests