Author Topic: Tiny SID Player for Freebasic and C  (Read 56715 times)

0 Members and 1 Guest are viewing this topic.

Offline Sledge

  • C= 64
  • **
  • Posts: 49
  • Karma: 12
    • View Profile
Re: Tiny SID Player for Freebasic and C
« Reply #40 on: November 02, 2007 »
Out of interest, what's the most user-friendly way to write new SID tunes these days?
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17414
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Tiny SID Player for Freebasic and C
« Reply #41 on: November 03, 2007 »
Mmmm... I'll ask Ampli, he'll know.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17414
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Tiny SID Player for Freebasic and C
« Reply #42 on: November 08, 2007 »
Ampli told me to use this;

GOAT TRACKER
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Sledge

  • C= 64
  • **
  • Posts: 49
  • Karma: 12
    • View Profile
Re: Tiny SID Player for Freebasic and C
« Reply #43 on: November 11, 2007 »
Ampli told me to use this;

GOAT TRACKER

Coooo! Grabbing that NOW!!
Challenge Trophies Won:

Offline energy

  • Amiga 1200
  • ****
  • Posts: 280
  • Karma: 25
    • View Profile
Re: Tiny SID Player for Freebasic and C
« Reply #44 on: January 19, 2008 »
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

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Tiny SID Player for Freebasic and C
« Reply #45 on: January 19, 2008 »
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:

Offline energy

  • Amiga 1200
  • ****
  • Posts: 280
  • Karma: 25
    • View Profile
Re: Tiny SID Player for Freebasic and C
« Reply #46 on: January 21, 2008 »
 :goodpost:
Thank yu Jim!
coding: jwasm,masm
hobby: www.scd2003.de

Offline RageSnax

  • C= 64
  • **
  • Posts: 25
  • Karma: 4
    • View Profile
Re: Tiny SID Player for Freebasic and C
« Reply #47 on: May 14, 2008 »
Hi Jim
about time i thanked u for this really thanks very much k+++ i love sid stuff as most do here

RageSnax

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17414
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Tiny SID Player for Freebasic and C
« Reply #48 on: May 14, 2008 »
Any news of converting this so that it doesn't use directsound any more Jim?  :cheers:
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Tiny SID Player for Freebasic and C
« Reply #49 on: May 15, 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?

Jim
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17414
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Tiny SID Player for Freebasic and C
« Reply #50 on: May 15, 2008 »
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:

Offline energy

  • Amiga 1200
  • ****
  • Posts: 280
  • Karma: 25
    • View Profile
Re: Tiny SID Player for Freebasic and C
« Reply #51 on: May 23, 2008 »
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

Offline energy

  • Amiga 1200
  • ****
  • Posts: 280
  • Karma: 25
    • View Profile
Re: Tiny SID Player for Freebasic and C
« Reply #52 on: May 23, 2008 »
Hi!
After Init the lib i set and delay og 100ms, now it plays without Problems...
 :)
coding: jwasm,masm
hobby: www.scd2003.de

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Tiny SID Player for Freebasic and C
« Reply #53 on: May 23, 2008 »
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:

Offline Praecor

  • Atari ST
  • ***
  • Posts: 176
  • Karma: 13
    • View Profile
Re: Tiny SID Player for Freebasic and C
« Reply #54 on: June 11, 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:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17414
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Tiny SID Player for Freebasic and C
« Reply #55 on: June 11, 2008 »
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:

Offline energy

  • Amiga 1200
  • ****
  • Posts: 280
  • Karma: 25
    • View Profile
Re: Tiny SID Player for Freebasic and C
« Reply #56 on: June 11, 2008 »
 :P
I hope he ll release it... :)
coding: jwasm,masm
hobby: www.scd2003.de

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17414
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Tiny SID Player for Freebasic and C
« Reply #57 on: June 11, 2008 »
I'll swear at him on icq every day until he does :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline energy

  • Amiga 1200
  • ****
  • Posts: 280
  • Karma: 25
    • View Profile
Re: Tiny SID Player for Freebasic and C
« Reply #58 on: June 12, 2008 »
 :updance:
coding: jwasm,masm
hobby: www.scd2003.de

Offline Praecor

  • Atari ST
  • ***
  • Posts: 176
  • Karma: 13
    • View Profile
Re: Tiny SID Player for Freebasic and C
« Reply #59 on: July 05, 2008 »
Shockwave, ok, good to know
Challenge Trophies Won: