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

0 Members and 2 Guests 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 #15 on: January 15, 2013, 01:12:03 pm »
The attiny45 does not have enough program memory and I don't know if it will compile for the attiny since it outputs the sound on pin 9 by default. Maybe you can change this in the library headers, but I doubt it's gonna compile for the attiny that easily. This sketch as it is takes up 5k. So that won't fit in 4K of program space the attiny45 has. (I only have that kind) The attiny85 on the other hand will hold up to 8k of program data.

The midi port fits in a box just fine. It depends on the size and shape of the box. My idea with the TI-nterface was to have a big plastic enclosure that slides over the top of the calculator. A midi connector on top would be no problem.

Also: I have to come up with a cool name:
TIMID (TI+MIDI+SID)
Zound80
*insert more idea's here*


Edit: Mockup for a music editor. Just a concept. Don't get too excited :P


I posted the source code for the link protocol on cemetech:
http://www.cemetech.net/forum/viewtopic.php?t=8685&sid=e532c97cb52c8e4552e4721f6461870d
« Last Edit: January 15, 2013, 02:53:20 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 #16 on: January 15, 2013, 04:50:55 pm »
Mockup looks very nice. ^^

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 #17 on: January 16, 2013, 02:22:49 am »
At the moment the speed of the byte transfer is about 110B/sec on normal and 250B/sec on full. I had to add a total delay of pause 3 to get this to work, so perhaps with some optimization on the arduino end I can reduce this delay. To do simple notes you only have to write 3 bytes (plus one to stop the note) 2 bytes for pitch and one for gate/control. That's 27ms per note on normal. I might add "glide" effects to the arduino code to compensate for this slow transfer.

Oops. Multiply that by two since you have to write the address as well, so that makes 6 bytes per note and 54ms/note.
« Last Edit: January 16, 2013, 03:10:14 pm by Keoni29 »
If you like my work: why not give me an internet?








Offline Ranman

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1354
  • Rating: +83/-0
    • View Profile
Re: TI84+ soundchip - arduino SID emulator
« Reply #18 on: January 16, 2013, 02:33:16 am »
Also: I have to come up with a cool name:
TIMID (TI+MIDI+SID)
Zound80
*insert more idea's here*

How about Zid80?
Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: TI84+ soundchip - arduino SID emulator
« Reply #19 on: January 16, 2013, 10:22:37 am »
Also: I have to come up with a cool name:
TIMID (TI+MIDI+SID)
Zound80
*insert more idea's here*
How about Zid80?
KSidM8z

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 #20 on: January 16, 2013, 01:16:20 pm »
I made a poll.
If you like my work: why not give me an internet?








Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: TI84+ soundchip - arduino SID emulator
« Reply #21 on: January 16, 2013, 01:34:00 pm »
Isn't "KSidM8z" somewhat of a mouthful, both hard to pronounce and hard to type ?
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

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 #22 on: January 16, 2013, 01:45:24 pm »
How about Tiscid? That sounds nice (sounds like biscuit), and is easy to type.
It's also an acronym: Texas Instruments Sound Chip Interface Device

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 #23 on: January 16, 2013, 01:54:09 pm »
Hmmm perhaps I should not include texas instruments. They are not in the credits list.
If you like my work: why not give me an internet?








Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: TI84+ soundchip - arduino SID emulator
« Reply #24 on: January 16, 2013, 02:59:56 pm »
How exactly does it work? You just send a song or effect to it and make it play the song? Can it 'stream' as in starting to play the song while it's still sending? Is it also possible to send a song AND a few effects at the same time so you won't have to transfer notes during gameplay, only instructions?
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

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 #25 on: January 16, 2013, 03:09:05 pm »
Nope you have to send register addresses and register values.
If you like my work: why not give me an internet?








Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: TI84+ soundchip - arduino SID emulator
« Reply #26 on: January 16, 2013, 03:11:15 pm »
So this is a MIDI interface for the TI84?

How to load soundfonts is the question...
I am Bach.

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 #27 on: January 16, 2013, 03:12:38 pm »
You cannot. Not with the code that's on it at the moment. I could add that some day.
If you like my work: why not give me an internet?








Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: TI84+ soundchip - arduino SID emulator
« Reply #28 on: January 16, 2013, 03:15:17 pm »
Use a good soundfont to begin with because once the novelty wears off, people are going to want to USE this often IF the soundfont is epic.

My music sounded so much better after I ditched finale's default.

Edit: I mean, I WILL use this if it has a really cool soundfont :)
« Last Edit: January 16, 2013, 03:26:05 pm by pimathbrainiac »
I am Bach.

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 #29 on: January 16, 2013, 06:01:07 pm »
I started working on a music editor. It will export files that can be played back in a game for example. Just include a file with the subroutines to play back the songs.
I can now edit notes while the calc  plays pattern  loops at the same time.
If you like my work: why not give me an internet?