August 05, 2020, 06:51:49 pm

The shoutbox is currently out of service. Join us on Discord instead.
You can help CodeWalrus stay online by donating here.

WARNING: DO NOT UPGRADE your TI-83 Premium CE or TI-84 Plus CE to OS 5.5.1 and higher. It removes all compatibility with most games and removes ASM/C programming! DOWNGRADING IS IMPOSSIBLE. BE WARNED! Likewise, do NOT update your TI-Nspire CX past OS 4.5.0, else using Ndless and ASM/C programs will be impossible.

SID + midi on Arduino and YM2149 emulator on atmega8

Started by garvalf, July 03, 2016, 12:50:24 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DJ Omnimaga

I'M very late, but nice video @garvalf . Thanks for sharing. :)

Have you done any updates to this or new songs, by the way?


I've worked more on the AY shield, but I didn't manage to draw a correct PCB. I think I'll ask a friend for help, he can do this kind of thing. Then I'll start mass production (between 10 and 15 pieces  ;D ).

No new AY music, but I've made a few for the Megadrive / Genesis chips (FM and PSG). I like using this platform because it's easy to compose tunes with DefleMask, and the Everdrive MD makes it quick to replay from the Megadrive console (using a SD card). I'll post something in my music section.

DJ Omnimaga

Mass production means you're gonna sell some of those, right? :3



Oh wow, I must have missed this. I remember @Keoni29 made something similar and built it into his 84+ way back in 2012-13. That was a pretty good idea actually, since it frees the CPU to run an actual game together with audio.
Pretty much like old consoles did. Nowadays the DSP functions are integrated into the CPU itself with SIMD instructions, but that wasn't an option and even early 2000's consoles used a dedicated DSP for mixing and playback.


Quote from: DJ Omnimaga on February 05, 2017, 07:57:55 pm
Mass production means you're gonna sell some of those, right? :3

yes, of course I plan to sell this thing, either the PCB alone, or as a kit with all the parts.

Now for something completely different (but still related to Arduino):

Shiru from the 1-bit forum has released a port of his Octode 1-bit engine to the Arduino plateform. It was originally written in z80 ASM, and it was rewritten in C / Arduino code. It's not exactly the same, but still pretty good. Here is a quick recording I made (of a rather strange tune I must say):

It's very easy to set up, just upload  in the Arduino IDE the sketch in attachment from the first post there , connect pin 7 and ground to a speaker, and you'll get 1-bit music!


well, it was long, but I managed to draw to PCB. My friend didn't do it for me, instead he helped me much with advices and corrections. I've used Fritzing, and now I understand better how it works.

The PCB is almost ready for production, I'll send it very soon. It will feature:

- AY-3-8910 emulator (on atmega8), driven by the arduino nano.
- It can replay sinclair, atari, amstrad chiptunes from the sd card
- it might be possible to use it as a (very simple and dirty) AY synth! The avray creator helped me for this, for sending simple notes, I just need to code the synth now, I'll reuse parts from the sid synth)

- Sid emulator (on arduino)
- it can replay some sid files, from the arduino memory, which is limited (so tunes will be cut). I'd like to find a way to stream the tune from the sd card, it's probably possible
- it can be used as a Sid synth (see previous messages)

- 1 bit music player (on arduino)
- it can get music from the arduino memory. 1 bit music don't need much memory so this time a whole song, even a complex one, can fit in the memory. It might be possible to stream data from SD if the 1-bit music engine chosen is the same for all the songs.
- it should be possible to create a 1-bit synth, but I don't know why. Probably not an easy task.

- Mozzy synth (see ), which can output fun FM sounds and many other effects.

There will be also room for adding light sensors and use the whole thing as a noise box...

I'll also post the PCB sources (if it works as expected)


I've ordered the PCB. I've made a little error on it which I noticed too late, but it shouldn't be a big problem and could be fixed. I hope there are not more :)

Some more sound examples:

- (Xenon / Spectrum)
- (Cauldron / Amstrad)
- (C64 SID synth)
- (personal creation, for zx spectrum)

In addition this board has:

- a low pass filter
- arduino nano
- SD card reader
- Midi DIN-5 connector

I'll sell the PCB card alone (if it works as expected), for a cheap price like 3 or 4 € without shipping , and also some complete kits and assembled product (should be below 20 € without shipping)

The github project:

A picture of the PCB:

DJ Omnimaga

Nice to see this is alive and well @garvalf . I will listen to to the songs you made and posted when I get some free time again.


Powered by EzPortal