Skip to main content
Topic: Web Platform is playing SID tunes (Read 7155 times) previous topic - next topic

Web Platform is playing SID tunes

Hi,

after successfully getting the TinySID library running on a PIC32 [1]
some time ago, I recently wondered, if the 16 bit MCUs from Microchip
would also be fast enough to run the code.  It turned out, that they
are, at least the 40 MIPS models (PIC24H and dsPIC33F).

A big hurdle is the (compared to the PIC32MX) small RAM on these
chips.  Since the SID tune must be loaded into RAM, only some small
tunes will fit into the 8 kB of the MCU used on the Web Platform [2] I
had at hand.

However, the source code [3] and binary [4] are available from Google
Code and a demonstration video [5] is on YouTube.  The PWM output is
on IO7, and IO8 is used to switch the tune when pulled to GND.

Have fun,
Markus

[1] http://www.youtube.com/watch?v=ZNu0-MZ9WLI
[2] http://dangerousprototypes.com/docs/Web_Platform
[3] http://code.google.com/p/dangerous-prot ... mware/SID/
[4] http://code.google.com/p/dangerous-prot ... 3Intro.hex
[5] http://www.youtube.com/watch?v=qlF1tdN5dK4

Re: Web Platform is playing SID tunes

Reply #1
This is just EPIC!

I love that old school sound!
Need to get my PicKit so I can try that, i just love the 8 bit sounds, but I never had time to learn on how to make a micro-controller create then.
I have a little question, is there any programm that can be used to create the soundtracks?

Re: Web Platform is playing SID tunes

Reply #2
There are many trackers, most of them from the C64 era, which can be
used in a C64 emulator like VICE.  However, if you are not used to it,
using them is a bit cumbersome.

There is also a cross platform tracker available: GoatTracker.  It's
available at SourceForge: http://sourceforge.net/projects/goattracker2/

It can save the tunes in its own .sng format, but also allows saving
in .sid format (used by the TinySID library) or save a stand alone
.prg file for usage on a real C64.

Have fun,
Markus

Re: Web Platform is playing SID tunes

Reply #3
I have onle more little question, the source code is available in the Google Code repository, right?

Re: Web Platform is playing SID tunes

Reply #4
The last paragraph in the original post says so, yes.

Re: Web Platform is playing SID tunes

Reply #5
Hi,
I tried to view your source code in refs [4] and [5] above but they seem to have disappeared from google. Do you have another link for them?

Re: Web Platform is playing SID tunes

Reply #6
Ian, it seems that after your SVN restructuring I cannot find the web-platform folder anymore.  Was it deleted?

Re: Web Platform is playing SID tunes

Reply #7
Never mind -- the web-interface truncates the directory listing ("Sorry, truncated results. Use command line tools for complete view.")

I updated the links [3] and [4] in the first post.

Re: Web Platform is playing SID tunes

Reply #8
It is still there, we did a re-org though. I notice the web interface says "Sorry, truncated results. Use command line tools for complete view.".  This is the new link (only capitilization changes):
http://code.google.com/p/dangerous-prot ... mware/SID/

But it also 404s.

However, we now have nice source packages you can download with all of SVN contents:
http://dangerousprototypes.com/docs/Web ... #Downloads

Maybe it is time to move to GIT. I used it to browse the Microchip source and it has gotten MUCH better since I lasted used the github interface.
Got a question? Please ask in the forum for the fastest answers.

Re: Web Platform is playing SID tunes

Reply #9
Thanks Markus
Got a question? Please ask in the forum for the fastest answers.