Dark Bit Factory & Gravity

PROGRAMMING => General coding questions => Topic started by: Jim on August 30, 2007

Title: Tiny SID Player for Freebasic and C
Post by: Jim on August 30, 2007
Quote
TinySID player library for Win32
--------------------------------
30/9/2007

This library enables small programs to be built that can play many C64 SID music files.
Bindings for Freebasic, C and C++ are provided.
Example source and binaries can be found in the Examples folder.

Credits
-------
Based on the work of
Tammo Hinrichs - 6510 and SID routines
Rainer Sinsch  - PSP TinySID

Many, many thanks to these people.  They are the technical wizards behind this work
and deserve the credit for this great release.

See
http://www.informatik.uni-frankfurt.de/~sinsch/TinySid.htm
http://www.syntheticsw.com/~sinsch/?id=7298b&s=k2
http://www.syntheticsw.com/~sinsch

Removal of runtime library dependency
Packing as a lib
Simple calling interface
DirectX playback routines
Freebasic/C/C++ bindings - Jim Shaw
See
http://www.dbfinteractive.com

Usage
-----

int SID_init(void);
Start the SID player environment

int SID_loadsong(void *song, unsigned short size, int type);
Load a song
Either
SID_loadsong("file.sid", 0, SID_TYPE_FILE);
SID_loadsong(address, length, SID_TYPE_MEMORY);

int SID_get_num_subsongs(void);
Get the number of subsongs in the SID

int SID_play(int subSong);
Start playing the subsong (numbering starts at 0)

int SID_stop(void);
Stop playing

int SID_shutdown(void);
Shutdown the SID player

short *SID_get_raw_data(void);
Retrieve the last 22050 (1/2 second) 16bit samples of raw audio data
Returns NULL or 0 if no new data is available since the last call.

All functions return 0 on success, and positive values on failure.

You may need to add dsound.lib and dxguid.lib to the library dependencies.

To switch between different SID files, call SID_shutdown and SID_init to restart the engine.

Have fun!

Jim

<edit>2/10/07. Updated the library with a little sample code and some bug fixes.
Also, added a couple of functions
SID_set_volume(0 to 127) which Clyde wanted, and
SID_get_details() which can return the song name, author and copyright details.
Check the sample for usage details.
</edit>
Title: Re: Tiny SID Player for Freebasic and C
Post by: Rbz on August 30, 2007
As I said before - AWESOME, this will rock the scene!

 :rockon:
Title: Re: Tiny SID Player for Freebasic and C
Post by: Clyde on August 30, 2007
Wicked stuff Jim & Co.

I hope im correct in putting the libtinysid.a file into lib\win32 and the tinysid.bi into the includes directory?

When running the Sidresource example. I get this error in the compiler log under Freebasic 17 ( allthough it does compile the dotty example ):

Code: [Select]
Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized
I love sid tunes, so plenty Karma for this one, welldone Jim.
Title: Re: Tiny SID Player for Freebasic and C
Post by: Jim on August 30, 2007
Ignore the warning.  It's just a warning.

Jim
Title: Re: Tiny SID Player for Freebasic and C
Post by: Clyde on August 30, 2007
Ok thanks Jim :)

With this code for loading a sid from a file, for some reason I get an type mismatch error at parameter 1:

Code: [Select]
'
' Load a sid song
' Cheers Jim Shaw for TinySid for FB
'

Option Static
Option Explicit

#Include Once "Tinyptc.bi"
#include Once "tinysid.bi"
#Include Once "Windows.bi"

Const XRES=640
Const YRES=480

Const ARES=XRES*YRES

Dim Shared ScreenBuffer(ARES)

PTC_Open("boo",XRES,YRES)

'Init
SID_init()
Sid_loadsong( "comic_Bakery.sid",0, SID_TYPE_FILE)
SidPlay(0)
   
Dim Key As String

While Key<>Chr(27)
   
    PTC_Update @ScreenBuffer(0)
   
Wend

SID_stop()
SID_shutdown()
PTC_Close()
Title: Re: Tiny SID Player for Freebasic and C
Post by: Clyde on August 30, 2007
Sorted it: I needed an @ before the filename.

SID_loadsong( @"comic_Bakery.sid",0, SID_TYPE_FILE)


Cheers and all the very best,
Clyde.
Title: Re: Tiny SID Player for Freebasic and C
Post by: benny! on August 30, 2007
As I said before - AWESOME, this will rock the scene!

 :rockon:

What rbraz said !!!
Title: Re: Tiny SID Player for Freebasic and C
Post by: slippy on August 30, 2007
Jim,

that's awesome ... I already had the same idea to do a SID lib for FB and stuff - but unfortunately didn't find the time for this ...

have some K++ from me for that ...

ahhh ... btw. thanks for sharing stuff from the future :)

Quote
Quote
TinySID player library for Win32
--------------------------------
30/9/2007

 O0

Title: Re: Tiny SID Player for Freebasic and C
Post by: benny! on August 30, 2007
lol ... I already knew that Jim is very clever - but I didn't know that he
invented time travelling  ;D  N1, Jim
Title: Re: Tiny SID Player for Freebasic and C
Post by: Shockwave on August 30, 2007
As you know Jim, I love this library and really appreciate you releasing it :)
The other great thing is that it's so damned small!

I am coding a promotional intro for the forum with a collection of Rob Hubbards songs,  really looking forward to seeing some nice C64 remakes :) And just hearing some sid tunes.

K+++
Title: Re: Tiny SID Player for Freebasic and C
Post by: benny! on August 30, 2007
So true. I also hope that with the release of this library there will be some
future releases including some cool SID tunes. The sound of SID is just un-
beatable !!!
Title: Re: Tiny SID Player for Freebasic and C
Post by: stormbringer on August 30, 2007
expect some C64 remakes soon...
Title: Re: Tiny SID Player for Freebasic and C
Post by: va!n on August 30, 2007
@jim:
I know the tinySID replayer by Myth (Rainer Sinsch) long time ago... and i am very very happy you managed to convert the source for the PSP version back to Windows! Great! K++ for this great work!
 :goodpost:
Title: Re: Tiny SID Player for Freebasic and C
Post by: Tetra on August 30, 2007
Very very cool, thanks very much for posting definately k++
Title: Re: Tiny SID Player for Freebasic and C
Post by: stormbringer on August 31, 2007
As you know Jim, I love this library and really appreciate you releasing it :)
The other great thing is that it's so damned small!

I am coding a promotional intro for the forum with a collection of Rob Hubbards songs,  really looking forward to seeing some nice C64 remakes :) And just hearing some sid tunes.

K+++

here it is... http://dbfinteractive.com/index.php?topic=2340.0

although as you may notice, the music does not restart automatically and I did not find any looping function in the lib... any suggestion?

Have fun!
Title: Re: Tiny SID Player for Freebasic and C
Post by: Clyde on August 31, 2007
I've found a few problems with certain sid files, mostly ones that contain samples.

Is there a volume function?

Excellent lib and welldone Jim,
Clyde.
Title: Re: Tiny SID Player for Freebasic and C
Post by: energy on September 03, 2007
Thanx a lot!   :goodpost:

Runs fine with purebasic too!!

Just had to change my dsound.lib!

Best regards
Title: Re: Tiny SID Player for Freebasic and C
Post by: Shockwave on September 03, 2007
Cool :)

By the way, please wait about 100ms after initialising the sid library as we have found a small problem with it. It will be fixed though :) An update will be posted as soon as it is available.
Title: Re: Tiny SID Player for Freebasic and C
Post by: Clyde on September 03, 2007
Wicked one can't wait :)

Also, can the lib play any type of .Sid as some are in PSid format, Or do they need converting?

Cheers,
Clyde.
Title: Re: Tiny SID Player for Freebasic and C
Post by: Shockwave on September 04, 2007
Hmm, dunno, I haven't tried any Psids with it yet. I will do soon though.
Title: Re: Tiny SID Player for Freebasic and C
Post by: Jim on September 04, 2007
It only plays PSID files (check the first 4 byte of the .SID files by loading them in notepad).  It won't play RSID (Real SID) files - in fact, it'll just reject them.

Jim
Title: Re: Tiny SID Player for Freebasic and C
Post by: Clyde on September 05, 2007
Thanks Jim, that'll be why some songs dont play.

Does anyone have any links to PSID tunes?

Cheers,
Clyde.
Title: Re: Tiny SID Player for Freebasic and C
Post by: Jim on September 05, 2007
This is pretty much all of them http://www.hvsc.c64.org/ (http://www.hvsc.c64.org/) ;D

Jim
Title: Re: Tiny SID Player for Freebasic and C
Post by: Clyde on September 05, 2007
Cheers Jim :)
Title: Re: Tiny SID Player for Freebasic and C
Post by: TbbW on September 30, 2007
it fails bigtime to play Freestyler.sid by agemixer.
while Xmplay and SidPlay can play it properly.
( tested with tinysid with software )

got a memory cant be read error with
Antics.sid by Chris Huelsbeck

and i seem to get volume issues with some samples ( som are been played at a realy low volume while other instruments in the same tune play on a good volume almost masking over the bugged ones )

ah yeh for those who dont know:
http://remix.kwed.org <- remixes of old SID tunes.
http://www.remix64.com <- another page with remixes aswell.
http://www.slayradio.org <- shoutcast radiostation with C64 in focus.
Title: Re: Tiny SID Player for Freebasic and C
Post by: Jim on October 01, 2007
Thanks TbbW!  I know the lib that's released here has (at least!) one serious bug and I should repost it.  The latest version includes volume control, but I guarantee that I'm not playing at less that 100% of the original tune's volume.  This player won't play RSID tunes, they rely on the advanced emulation features from sidplay, and you probably need to see if there's been a PSID conversion done.
I'll check out those songs though - if something obvious is wrong I'll fix it.
remix.kwed.org rules.

Cheers!

Jim
Title: Re: Tiny SID Player for Freebasic and C
Post by: TbbW on October 01, 2007
coolers :)
Title: Re: Tiny SID Player for Freebasic and C
Post by: stormbringer on October 01, 2007
did you add a way to use another sound output mechanism than DirectX?
Title: Re: Tiny SID Player for Freebasic and C
Post by: Jim on October 01, 2007
Sorry, no :(.  I know you wanted to wrap it with waveout.
The point of this lib was to provide a way that anyone at dbf could link with it and play the majority of SID files from C or Freebasic.  So, I chose DirectSound and wrapped the code from here http://www.syntheticsw.com/~sinsch/?id=download&s=k2&action=showall&category=d224b84443 (http://www.syntheticsw.com/~sinsch/?id=download&s=k2&action=showall&category=d224b84443) in to a library.  The point being it was simple, small and functional without the end user having to know anything about SID format and audio playback.
Again, I'm very sorry, but I'm not going to be releasing a version which just does the playback, since then I won't have had any input at all.  Anyone who can code should just grab the PSP source from the link and add it to their project.  It's brilliantly coded and will build on just about anything. :)

Jim
Title: Re: Tiny SID Player for Freebasic and C
Post by: stormbringer on October 01, 2007
Thanks for the link Jim. I had a quick look at the code and seems not too difficult to hack it.. the original source code actually has the function to render the samples in a buffer.. so it should be quite simple to reuse it ;)
Title: Re: Tiny SID Player for Freebasic and C
Post by: jihad on October 01, 2007
ohhh yesss
i waited so long for this lib
Title: Re: Tiny SID Player for Freebasic and C
Post by: Jim on October 01, 2007
I have just updated the OP with the latest source.
[quoteUpdated the library with a little sample code and some bug fixes.
Also, added a couple of functions
SID_set_volume(0 to 127) which Clyde wanted, and
SID_get_details() which can return the song name, author and copyright details.
Check the sample for usage details.
[/quote]
I've left the original archive there too.  For some reason some users are experiencing problems even with this bug fixed library, and it would be good to hear some feedback.

Jim
Title: Re: Tiny SID Player for Freebasic and C
Post by: Shockwave on October 02, 2007
Is this build different to the test version you posted in the admin forum mate?
Title: Re: Tiny SID Player for Freebasic and C
Post by: energy on October 02, 2007
Hi Jim....    :goodpost:

But one question....
I use Purebasic with the static lib.... it runs very well....
Did yu update the static lib too???
Best regards...
eNeRGy











Title: Re: Tiny SID Player for Freebasic and C
Post by: Jim on October 02, 2007
Nick it's the same one.
energy - there is a new static lib in the new archive.  Just rename it from libtinysid.a to tinysid.lib or whatever, it's the same file.

Jim
Title: Re: Tiny SID Player for Freebasic and C
Post by: energy on October 03, 2007
 :cheers:
Title: Re: Tiny SID Player for Freebasic and C
Post by: energy on October 04, 2007
Hi Jim
testet new static lib with new function and it works as fine as the first one
for Purebasic !
Thank yu very much...
Excellent work...
Cheers
eNeRGY
Title: Re: Tiny SID Player for Freebasic and C
Post by: energy on October 06, 2007
Hi...
Here is the Wrapper for Purebasic...
Hope anybody can use it!!

Cheers
eNeRGy
Title: Re: Tiny SID Player for Freebasic and C
Post by: Shockwave on October 06, 2007
Karma up!

Thanks for the wrapper Energy!
Title: Re: Tiny SID Player for Freebasic and C
Post by: Jim on October 07, 2007
Cool, thanks!

Jim
Title: Re: Tiny SID Player for Freebasic and C
Post by: Sledge on November 02, 2007
Out of interest, what's the most user-friendly way to write new SID tunes these days?
Title: Re: Tiny SID Player for Freebasic and C
Post by: Shockwave on November 03, 2007
Mmmm... I'll ask Ampli, he'll know.
Title: Re: Tiny SID Player for Freebasic and C
Post by: Shockwave on November 08, 2007
Ampli told me to use this;

GOAT TRACKER (http://en.wikipedia.org/wiki/GoatTracker)
Title: Re: Tiny SID Player for Freebasic and C
Post by: Sledge on November 11, 2007
Ampli told me to use this;

GOAT TRACKER (http://en.wikipedia.org/wiki/GoatTracker)

Coooo! Grabbing that NOW!!
Title: Re: Tiny SID Player for Freebasic and C
Post by: energy 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
Title: Re: Tiny SID Player for Freebasic and C
Post by: Jim 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
Title: Re: Tiny SID Player for Freebasic and C
Post by: energy on January 21, 2008
 :goodpost:
Thank yu Jim!
Title: Re: Tiny SID Player for Freebasic and C
Post by: RageSnax 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
Title: Re: Tiny SID Player for Freebasic and C
Post by: Shockwave on May 14, 2008
Any news of converting this so that it doesn't use directsound any more Jim?  :cheers:
Title: Re: Tiny SID Player for Freebasic and C
Post by: Jim 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
Title: Re: Tiny SID Player for Freebasic and C
Post by: Shockwave 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.
Title: Re: Tiny SID Player for Freebasic and C
Post by: energy 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
 
Title: Re: Tiny SID Player for Freebasic and C
Post by: energy on May 23, 2008
Hi!
After Init the lib i set and delay og 100ms, now it plays without Problems...
 :)
Title: Re: Tiny SID Player for Freebasic and C
Post by: Jim 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
Title: Re: Tiny SID Player for Freebasic and C
Post by: Praecor 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.
Title: Re: Tiny SID Player for Freebasic and C
Post by: Shockwave 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....
Title: Re: Tiny SID Player for Freebasic and C
Post by: energy on June 11, 2008
 :P
I hope he ll release it... :)
Title: Re: Tiny SID Player for Freebasic and C
Post by: Shockwave on June 11, 2008
I'll swear at him on icq every day until he does :)
Title: Re: Tiny SID Player for Freebasic and C
Post by: energy on June 12, 2008
 :updance:
Title: Re: Tiny SID Player for Freebasic and C
Post by: Praecor on July 05, 2008
Shockwave, ok, good to know
Title: Re: Tiny SID Player for Freebasic and C
Post by: stormbringer on July 05, 2008
Here it is:

  TinySID v1.0 Generic Replay

  based on PSP original source code by Tammo Hinrichs & Rainer Sinsch

  changes made:

  - removed any platform/audio device/audio mechanism dependency
  - original comments kept
  - code cleaned
  - added new comments to make code clearer to read
  - functions renamed to avoid conflict with other functions in client programs (all have sid_ prefix now)
  - removed local variables
  - added SIDEmulator structure that holds the state of the emulator (memory, registers, etc)
  - changed the compilation-time audio filtering with a run-time audio filtering flag

  instructions:

  1) declare a variable of the type SIDEmulator (emulator state)
  2) call sid_emu_init() with the address of the emulator state variable and replay frequency (e.g. 44100)
  3) call sid_emu_load_from_mem() with the address of the emulator variable and the address and size of the SID tune
   to be loaded in the emulator memory
  4) call sid_emu_process_begin() with the address of the emulator variable and the number of the sub-song (zero-based number) to be replayed
   you may want to call sid_emu_get_subsong_count() before to know how may sub-songs are contained in the file
  5) call sid_emu_process() during your audio interrupt/callback to render new samples.

  NOTE: the audio stream is rendered as MONO not STEREO!
  NOTE2: you may call sid_emu_audio_filter() to turn on and off the audio filtering (works at run-time)


Archive includes Win32 WaveOut sound server example in C.

Have fun!
Title: Re: Tiny SID Player for Freebasic and C
Post by: Rbz on July 06, 2008
Welldone, I guess I'll make a FB port ;)
Title: Re: Tiny SID Player for Freebasic and C
Post by: Clyde on July 06, 2008
That would be very cool indeed.  8)
Title: Re: Tiny SID Player for Freebasic and C
Post by: stormbringer on July 06, 2008
@Rbraz: definitely needed I guess. By reading this thread, I think a lot of people are waiting for a lib that fixes the bugs of the past one... it should be easier now with the source code..
Title: Re: Tiny SID Player for Freebasic and C
Post by: Clyde on July 06, 2008
Can it play RSID tunes as well as PSID?

Cheers,
Clyde.
Title: Re: Tiny SID Player for Freebasic and C
Post by: stormbringer on July 06, 2008
AFAIK it only plays PSIDs... I did not look into RSIDs yet. I just cleaned the original code (which is not by me) and made it available here so we can have this lib whithout the need to link DirectX and other crap in order to replay some good old tunes ;)
Title: Re: Tiny SID Player for Freebasic and C
Post by: stormbringer on July 06, 2008
I do not know where to post these, but I guess it belongs around here..

http://www.youtube.com/watch?v=DiPdjbsiQqM&feature=related
http://www.youtube.com/watch?v=pIGo7roLPK8&feature=related
http://www.youtube.com/watch?v=4E5oYZmQnoI&feature=related
http://www.youtube.com/watch?v=90YE4G3ze-E&feature=related
http://www.youtube.com/watch?v=90YE4G3ze-E&feature=related#
Title: Re: Tiny SID Player for Freebasic and C
Post by: Rbz on July 06, 2008
Ok, it's done  :)

I did a little change on original "sid_sound_server_replay_init" function, I use it to pass song parameters to the emulator.
Check out example test included.

 :cheers:
Title: Re: Tiny SID Player for Freebasic and C
Post by: benny! on July 06, 2008
@stormbringer+rbz:
K++ to you both (when I can give K again). Great work.

@stormbringer:
thanks a lot for that cool Rob videos. Brings a lot of
memories back - very retro  O0
Title: Re: Tiny SID Player for Freebasic and C
Post by: Shockwave on July 06, 2008
You know what, having the directx one that Jim ported was really nice, I was dissapointed when it wouldnt work reliably everywhere though. This is not Jim's fault, Direct X is lame and cannot be guaranteed to work anywhere and should be banished to the bottom of the deepest ocean where there is no light and it can be eaten by deformed sea creatures.

Now there is a viable and working version that uses Hwave!

So I will respectfully tip my hat to these people;

Jim (for getting the ball rolling).
Stormbringer for the hard work in porting this and giving it to the community.
Rbz for the lightning quick port over to Freebasic.

Yes, we have the best selection of working sound libraries anywhere on the scene in this forum and for helping that remain the case, K + 10 to all three of you.

Thank you very very very much.
Title: Re: Tiny SID Player for Freebasic and C
Post by: stormbringer on July 06, 2008
@benny! & Shockwave: thanks you guys! It was not really "hard work" as the original code did not have issues with compilation or anything. It was just done by somebody who seems to be a student in computer science and done for what seemed to be a school's end-of-the-year project. I mean by that that the code was not very structured and organized. I just "cleaned the house" a bit.

Note to developers: if you want to reuse the replay routine only (C/C++) version, just steal the sid_emu.c and sid_emu.h files from the archive. The WaveOut sound server was provided as an example. The core routines just render the samples into a provided buffer. Then you can redirect the buffer to whatever you want: WaveOut, DirectSound, etc.

Since now the emulator's state is contained in a structure, it is multi-thread safe and you can have several SID emulators running in parallel. That can be usefull for cross-fading between songs, etc.

It is also a good practice to keep the replay routine separated from the audio output mechanism. The example I provided could work well for a simple production (intro/demo) but I would not use it "as is" for something more complex, like a player (e.g. WinAmp, etc).
Title: Re: Tiny SID Player for Freebasic and C
Post by: energy on July 06, 2008
Wow Stormbringer!!  :goodpost:
Thanx and k++ for this cool Prod....

Runs FINE with RRAZ LIB Version under PUREBASIC....
I'll deliver tomorrow the Purebasic version with source...

@Stormbringer and RBRAZ:   :-*

Cheers
eNeRGy
Title: Re: Tiny SID Player for Freebasic and C
Post by: stormbringer on July 06, 2008
@energy: thanks mate!

@energy+rbraz: may I ask you to upload your libs here : http://retro-remakes.net/index.php?board=64.0

Thanks in advance!
Title: Re: Tiny SID Player for Freebasic and C
Post by: energy on July 06, 2008
Ofcourse ill do!! ;)
Title: Re: Tiny SID Player for Freebasic and C
Post by: stormbringer on July 07, 2008
Just found this: http://www.last.fm/music/Code+64

Title: Re: Tiny SID Player for Freebasic and C
Post by: energy on July 08, 2008
Hi!
Here's conversion for Purebasic.
Big thanx go to Stormbringer and Rbraz for this great Lib...   :-*

Cheers eNeRGy


http://retro-remakes.net/index.php?topic=226.0
Title: Re: Tiny SID Player for Freebasic and C
Post by: mudlord on July 19, 2008
Awesome! I just noticed this and its pretty nice for its size!

All we need now is a decent AHX/HVL library in the same fashion!

*hint hint*....
Title: Re: Tiny SID Player for Freebasic and C
Post by: stormbringer on July 19, 2008
will come.... just a bit of patience ;)
Title: Re: Tiny SID Player for Freebasic and C
Post by: Jim on July 21, 2008
There is an AHX library around here somewhere too.  I used it in my Scroller demo... If anyone wants that source please just ask.  It's had a number of fixes and now doesn't rely on a C runtime, plus, for those luddites, it can be configured to use WaveOut instead of DirectSound.

<edit>
http://dbfinteractive.com/forum/index.php?topic=990.0 (http://dbfinteractive.com/forum/index.php?topic=990.0)
It was one of m0d's tunes I used.  Great tune, I just wish he'd hung around long enough for the K!

Jim
Title: Re: Tiny SID Player for Freebasic and C
Post by: turkeybaster5723 on November 12, 2014
I'm considering porting this to AS3/Flash. Cause that's my thing, really. And, errrrr, masochism, yes.
I do remember TinySID being an unreliable mess and am currently looking at this 1.0 version.

Welp, here's my introductory post, and with it, my first necrobump.

Cheers *hides*
Title: Re: Tiny SID Player for Freebasic and C
Post by: turkeybaster5723 on April 27, 2015
I've recently found this greatly improved version of TinySID.
https://github.com/wothke/websid
Title: Re: Tiny SID Player for Freebasic and C
Post by: Sn!per X on July 08, 2015
Sorry for pumping an old thread but is there a tiny DLL version for tinysidw32?
or did anybody ported it to Delphi?

Thanks in advance.
Title: Re: Tiny SID Player for Freebasic and C
Post by: sinan on August 17, 2015
Sorry for pumping an old thread but is there a tiny DLL version for tinysidw32?
Thanks in advance.
i think there is, serach for HardSID

Regards.