This site is no longer active and is available for archival purposes only. Registration and login is disabled.

playing loaded sample files


playing loaded sample files

Postby D » Jun 28, 2002 @ 5:36am

D
pm Member
 
Posts: 55
Joined: May 9, 2002 @ 9:55am


Postby Lewil » Jun 28, 2002 @ 11:38am

User avatar
Lewil
pm Member
 
Posts: 108
Joined: Apr 25, 2002 @ 1:39pm


Postby Phantom » Jul 2, 2002 @ 2:58pm

Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Postby Lewil » Jul 2, 2002 @ 3:46pm

User avatar
Lewil
pm Member
 
Posts: 108
Joined: Apr 25, 2002 @ 1:39pm


Postby Phantom » Jul 2, 2002 @ 4:37pm

Ow.
Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Postby D » Jul 7, 2002 @ 7:50am

D
pm Member
 
Posts: 55
Joined: May 9, 2002 @ 9:55am


Postby Phantom » Jul 7, 2002 @ 4:46pm

I'm sorry I didn't get back on this to you.

I asked about the mod file because we found that under XP ('emulation'), MikMod will gladly play simultaneously with other apps (you can hear sounds while playing WinAmp too, so that's only logical). Under WinCE, this is not the case. Playing a sound blocks the audio system for other sounds.

We used to play samples using the WinCE API, not MikMod. I'm not sure how the current situation is, I'll look into this. But if that's still the case, you wouldn't be able to play sounds AND play music. That would be easy to fix though.

Then again, it looks like that is NOT the problem, since you are playing without music. :) Could you tell me what the frequency is of the sample you're trying to play? I noticed that odd frequencies don't work well...

- Jacco.
Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Postby D » Jul 7, 2002 @ 7:54pm

I believe it's 8 kHz. Yes, I've seen in other posts that there are problems in certain frequency. But the only problem I heard of is that it plays the sound wierd, not silence. :(

Maybe it's the file format? It just so happens that mikmod was able to load the file successfully...
D
pm Member
 
Posts: 55
Joined: May 9, 2002 @ 9:55am


Postby D » Jul 7, 2002 @ 8:00pm

Sample_Play returns 0 for result (from Sample_Play_internal). Is that good?
D
pm Member
 
Posts: 55
Joined: May 9, 2002 @ 9:55am


Postby Lewil » Jul 8, 2002 @ 10:41am

User avatar
Lewil
pm Member
 
Posts: 108
Joined: Apr 25, 2002 @ 1:39pm


Postby Fuserleer » Jul 8, 2002 @ 12:56pm

Fuserleer
pm Member
 
Posts: 7
Joined: Jun 18, 2002 @ 12:32pm
Location: England


Postby Lewil » Jul 8, 2002 @ 4:08pm

User avatar
Lewil
pm Member
 
Posts: 108
Joined: Apr 25, 2002 @ 1:39pm


Postby D » Jul 8, 2002 @ 7:08pm

I knew it. Thanks man!
D
pm Member
 
Posts: 55
Joined: May 9, 2002 @ 9:55am


Postby D » Jul 19, 2002 @ 10:11am

D
pm Member
 
Posts: 55
Joined: May 9, 2002 @ 9:55am


Postby s9801758 » Jul 19, 2002 @ 10:45am

User avatar
s9801758
pm Member
 
Posts: 48
Joined: May 10, 2002 @ 10:20am
Location: Vancouver BC, Canada


Next

Return to Phantom's Forum


Sort


Forum Description

Discuss any of Phantom's projects here (Operation Nutcracker, etc.)

Moderators:

sponge, RICoder, Phantom

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum