Pages: [1]   Go Down
Author Topic: How do I convert NES game music for arduino?  (Read 1825 times)
0 Members and 1 Guest are viewing this topic.
Central MN, USA
Online Online
Tesla Member
***
Karma: 65
Posts: 6942
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I really want to play some classic Nintendo system game music with my funky $0.25 speaker on arduino. How do I convert the music into some tones? Is it even doable? How many channels are we talking about?
« Last Edit: November 14, 2010, 02:22:54 am by liuzengqiang » Logged


SE USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i dont think its a matter of channels its a matter of emulating the synth chip in the NES

yea for as simple as it is its using a synth vs an apple II or a pc speaker which is just properly timed pwm clicks
Logged


Wigan, UK
Offline Offline
God Member
*****
Karma: 18
Posts: 814
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you have the original score (I've seen Mario music) you could do it.

Have a look at pages 18 and 19 of Oomlout's beginners guide: http://ardx.org/src//guide/2/ARDX-EG-OOML-WEB.pdf
Logged

Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 138
Power Level is futile (if < 9 000)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Heard of FamiTracker? I know its not really what you are looking for, but that might point you to some great old-school 8bit music.
http://famitracker.shoodot.net/
« Last Edit: November 14, 2010, 07:35:55 pm by kraig » Logged

Central MN, USA
Online Online
Tesla Member
***
Karma: 65
Posts: 6942
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks guys. I'll see if I can use the tone command to simulate a short score of contra, the one that is played moment after your heros ride the helicoptor away from the exploding island, very short. I wish I had music cells in my brain.
« Last Edit: November 14, 2010, 07:59:34 pm by liuzengqiang » Logged


Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 138
Power Level is futile (if < 9 000)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I wish I had music cells in my brain.
we all do  ;D
I wish I could play that very addictive music on the Arduino:


and some Classic one's too.
« Last Edit: November 14, 2010, 09:23:55 pm by kraig » Logged

Wigan, UK
Offline Offline
God Member
*****
Karma: 18
Posts: 814
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I'll see if I can use the tone command

I tried tone and it was nothing like how it should've sounded. I suggest you try a scale, if it sounds ok then keep going otherwise have a look at this: http://www.arduino.cc/en/Tutorial/Melody
Logged

India
Offline Offline
Full Member
***
Karma: 1
Posts: 131
The Tech Gamer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Arduino playing mario theme song!
Logged

|I love Technology|

Pages: [1]   Go Up
Jump to: