Author Topic: TI84+ soundchip - arduino SID emulator  (Read 40762 times)

0 Members and 1 Guest are viewing this topic.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI84+ soundchip - arduino SID emulator
« Reply #45 on: January 20, 2013, 10:39:18 am »
Cool stuff. That's exactely what I had in mind. Can I have the source so I can modify it to work with my soundchip and perhaps have multiple channels?

Edit:
I want to add "hardware" pitch bending with different modes such as LFO, portamento and sweep. The sound processor will also have a lookuptable with musical notes' pitch values. If you write to one of the three dedicated "musical note" registers it will relay it to the freq-hi and lo registers and it will turn on the gate of the channel. This saves a lot of memory and time on the calculator side!

Example:
Calculator sends a NOTE ON normally:
Code: [Select]
00 ff - write ff (0-255) to register 00 (Freq Lo)
01 ff - write ff (0-255) to register 01 (Freq Hi)
04 17 - write TRIANGLE|GATE_ON to register 04 (Conrol reg)
That's 6 bytes!

Calculator sends a NOTE ON with this new feature:
Code: [Select]
1D nn - write nn(0-255) to register 29That's only two bytes!
« Last Edit: January 20, 2013, 11:12:10 am by Keoni29 »
If you like my work: why not give me an internet?








Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI84+ soundchip - arduino SID emulator
« Reply #46 on: January 21, 2013, 05:06:35 pm »
More footage!

« Last Edit: January 21, 2013, 05:06:43 pm by Keoni29 »
If you like my work: why not give me an internet?








Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: TI84+ soundchip - arduino SID emulator
« Reply #47 on: January 21, 2013, 09:15:31 pm »
Very nice! ^^ How many channels are you planning on supporting?

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI84+ soundchip - arduino SID emulator
« Reply #48 on: January 22, 2013, 02:44:40 am »
It's a SID, so that's 3. All channels are fully customizable as opposed to the soundchip found in the nes which has channels dedicated to a certain waveform.
If you like my work: why not give me an internet?








Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: TI84+ soundchip - arduino SID emulator
« Reply #49 on: January 22, 2013, 08:32:59 am »
Wooo, great song :) Maybe you could write a convertor yourself? Would it be that hard to make one?

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI84+ soundchip - arduino SID emulator
« Reply #50 on: January 22, 2013, 09:17:15 am »
I am not that good at programming for the pc and I don't know what the file format of the famitracker modules looks like.
I could write some calculator software instead or alter someones existing software to work with this (TRAXE for example)
If you like my work: why not give me an internet?








Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: TI84+ soundchip - arduino SID emulator
« Reply #51 on: January 22, 2013, 09:43:53 am »
I am not that good at programming for the pc and....
Hum, I bet that with your Axe knowledge, if you start up with a "c-language cheap tutorial", within a couple of hours you'll have your converter just about ready. But, i'm just guessing, of course.. Fine work, btw.



Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI84+ soundchip - arduino SID emulator
« Reply #52 on: January 22, 2013, 09:51:36 am »
I can program in C just fine, but I never really did something with handling files.

Edit: I'm probably gonna make another tracker from scratch, but this time playing and timing notes will be much easier. It will probably not use all of the features of the soundchip such as filters, modulation, etc. but it will be quite powerful and easy to use (I hope)

A mockup of the instrument editor:
« Last Edit: January 22, 2013, 01:06:10 pm by Keoni29 »
If you like my work: why not give me an internet?








Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI84+ soundchip - arduino SID emulator
« Reply #53 on: March 02, 2013, 11:40:10 am »
I did some more programming on the pc. I just have to find a chiptune tracker that outputs a somewhat interpretable stream of data so I can easily convert it with my program. (or make my own tracker using C)

Another interesting thing: I have plenty of I/O pins left on the atmega328 (I only use 4 at the moment) and I have a touchscreen I grabbed out of a broken nintendo DS. In my avatar you can see what that will look like and some people might have seen the video on my youtube channel. I know someone already did this. I might use his code or stick to my own protocol I use to send data to AXE programs (that's way quicker than transferring data packages using the BASIC link protocol)
« Last Edit: March 02, 2013, 11:41:31 am by Keoni29 »
If you like my work: why not give me an internet?








Offline utz

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 161
  • Rating: +28/-0
    • View Profile
    • official hp - music, demos, and more
Re: TI84+ soundchip - arduino SID emulator
« Reply #54 on: March 03, 2013, 11:45:32 am »
Just found out about this... Wow, this is amazing. Will be following developement closely from now on ;)

As far as trackers go, this might be interesting for you. Never mind the PC speaker part (it's total shit anyway), but the XM converter part could be relevant. Sadly I just hacked somebody's code for it, I don't really understand it.

If you need to generate actual SID register writes, you might also want to check out Goattracker, if you haven't already.

Btw if you have time you should present your project on chipmusic.org!

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI84+ soundchip - arduino SID emulator
« Reply #55 on: March 03, 2013, 02:22:39 pm »
I just did :)

The source of that tracker suggests it's for linux. I think I can build a tracker from the ground up.
« Last Edit: March 03, 2013, 02:22:52 pm by Keoni29 »
If you like my work: why not give me an internet?








Offline utz

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 161
  • Rating: +28/-0
    • View Profile
    • official hp - music, demos, and more
Re: TI84+ soundchip - arduino SID emulator
« Reply #56 on: March 04, 2013, 09:19:04 am »
The sources are for the eXtended Module format, which is a standard format used across many PCM trackers running on various platforms, the most popular example being Milkytracker. Writing an XM to TIMID converter might be a good idea, since many chip musicians already know how to use XM trackers. On the other hand, I'd never say no to a new tracker xD

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI84+ soundchip - arduino SID emulator
« Reply #57 on: March 04, 2013, 01:30:11 pm »
I'd like to be able to convert PSID to TIMID. That way I can open up a huge library of music.
If you like my work: why not give me an internet?








Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI84+ soundchip - arduino SID emulator
« Reply #58 on: March 04, 2013, 05:32:46 pm »
Thought you'd like to see this coming together:
 
If you like my work: why not give me an internet?








Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI84+ soundchip - arduino SID emulator
« Reply #59 on: March 04, 2013, 05:54:11 pm »
The sound is quite good :). In your video descriptions, though, you should include at which time we first can hear sound, because some of us don't understand all that hardware/sound talk and might simply want to hear the sound immediately. :P