• Welcome to Dark Bit Factory & Gravity.
 

Tinyptc Ext++ (tinyptc_ext + uFmod)

Started by Rbz, December 20, 2008

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

nzo

It would be really good to be able to play one of the samples from the mod "ad hoc".
There's a lot of remakes that require a single SFX. I guess the playing of any SFX would be required to be added here, as the mixing of the sound buffer is done here.
Also, any games using music + SFX will need this.
I might be tempted to start looking at a game with TinyPTC with this feature :)


Rbz

Hi Nzo, do you mean a .wav sample or .mp3 ?

I tried to find this module "ad hoc" without any success, I'm an amiga noobzor :P
Challenge Trophies Won:

nzo


I mean, play any of the samples in the module (sample 1, sample 2 etc.) as a sound fx.
Ad hoc in this case would be better described at wikipedia :)


Rbz

#23
Oh, hehe, it's Latin phrase ;D

Ok, I'll take a look at it :)
Challenge Trophies Won:

Rbz

#24
@Nzo: Check this out, I've added some sound fx functions.

Not really playing samples from xm file, as I've noticed that in some musics those samples are almost useless because note/pitch.

Instead I've made it play any ".wav" file simultaneously, you can load from memory or open a file.

There's an example included to show how to load from memory or file, press F1 or F2 to play samples while playing a music.

Enjoy :)


{Edited - tinyptc_ext++ now have sound fx replayer}
Challenge Trophies Won:


Rbz

Updated:
+ Added sound fx to tinyptc_ext++
- Removed an "unwanted feature" (bug :)) on windowed mode.
Challenge Trophies Won:

Shockwave

I really like the sound capabilities of this lib!

Playing samples is childs play with this now.  It's really kickass.
Shockwave ^ Codigos
Challenge Trophies Won:

Clyde

Any chance of an update to the original tinyptc_ext for the window mode bug? As I often use minifmod and others for music playback out of personal choice.

Cheers!
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

padman

Challenge Trophies Won:

Valazare


Rbz

Challenge Trophies Won: