• Welcome to Dark Bit Factory & Gravity.
 

Tiny SID Player for Freebasic and C

Started by Jim, August 29, 2007

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Sledge

Out of interest, what's the most user-friendly way to write new SID tunes these days?
Challenge Trophies Won:

Shockwave

Mmmm... I'll ask Ampli, he'll know.
Shockwave ^ Codigos
Challenge Trophies Won:

Shockwave

Shockwave ^ Codigos
Challenge Trophies Won:

Sledge

Challenge Trophies Won:

energy

Hi Jim!
The Sound Output is not very loud...
is it possible to turn it louder in the source?
Cheers and Thanx...
eNeRGy
coding: jwasm,masm
hobby: www.scd2003.de

Jim

That's a good question - the DirectSound buffers are set at maximum volume.  The only thing that might be changed is the magnitude of the samples before they go in to the buffer, but that could cause clipping.  I'll see what I can do.

Jim
Challenge Trophies Won:

energy

coding: jwasm,masm
hobby: www.scd2003.de

RageSnax

Hi Jim
about time i thanked u for this really thanks very much k+++ i love sid stuff as most do here

RageSnax

Shockwave

Any news of converting this so that it doesn't use directsound any more Jim?  :cheers:
Shockwave ^ Codigos
Challenge Trophies Won:

Jim

No plans to work on this at the moment, sorry.  Is *everyone* having trouble with this and dsound, or is it just on your laptop?

Jim
Challenge Trophies Won:

Shockwave

It has failed on my laptop and two different desktops Jim but there you go. The problem is that it fails sporadically which makes it harder to debug I suppose.
Shockwave ^ Codigos
Challenge Trophies Won:

energy

Hi Jim!!
Some problems now with Tiny-SID...
Since i turned my library from DirectX to OPENGL there are some mysterious problems with the lib.
Since i dont init DX for spriites, the lib sometimes start playing, sometimes not, sometimes it starts from the songstart
, sometimes in the middle or anywhere else...
I dont know what problems Shockie has but thats since im not using DirectX.
Before i had never Problems with it...

Cheers
eNeRGy
coding: jwasm,masm
hobby: www.scd2003.de

energy

Hi!
After Init the lib i set and delay og 100ms, now it plays without Problems...
:)
coding: jwasm,masm
hobby: www.scd2003.de

Jim

Hmm, that's not really the answer - the same thing happened with Shockwave...adding some random sleeps fixed the code.  But that's never a good solution because every computer is different...and my multithreaded code should work, I've checked it a dozen times.  I'm positive it's not DirectSound that's the problem, though some posters seem to hate it for some reason.  Moving to WaveOut isn't going to fix it as the problem is a multithread problem.  I can't fix the lib because frankly I can't see what's wrong with it. :(:(

Jim
Challenge Trophies Won:

Praecor

Quote from: Jim on May 14, 2008
No plans to work on this at the moment, sorry.  Is *everyone* having trouble with this and dsound, or is it just on your laptop?
I don't know, I haven't had a single problem myself with this and used it in both directx and opengl environments.
Works great on all my 4 computers (desktops, laptops), xp, vista etc.
Directsound is great! Big thanks to you.
Challenge Trophies Won:

Shockwave

Beware Praecor, the library is very cool indeed but it is most certainly not 100% reliable.
Good news though, I have heard through the grapevine that one of my friends is making a hwave conversion which will work 100% :) I hope the grapevine was right....
Shockwave ^ Codigos
Challenge Trophies Won:

energy

 :P
I hope he ll release it... :)
coding: jwasm,masm
hobby: www.scd2003.de

Shockwave

I'll swear at him on icq every day until he does :)
Shockwave ^ Codigos
Challenge Trophies Won:

energy

coding: jwasm,masm
hobby: www.scd2003.de

Praecor

Shockwave, ok, good to know
Challenge Trophies Won: