Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Off-Topic > music help (especially computer people)
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
20.Sep: FOURTH CHAPTER IN `HISTORY OF...` PUBLISHED
13.Sep: NEWS ON THE FLY
06.Sep: APOLYTON DONATES TO HURRICANE RELIEF

bottom of page
   - CIVILIZATION 3 $9.99 - CIVILIZATION 2 from $6.95 - CIVILIZATION 2 from $4.25 - ALPHA CENTAURI + ALIEN CROSSFIRE (laptop collection) from $19.99 - ALPHA CENTAURI PC $9.99 -->
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Kuciwalker is offline Kuciwalker
Emperor
of Schmooism
Feb 2001
time: 00:19
  Old Post 06-05-2005 03:45
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
music help (especially computer people) Increase Your PM Length

I just got it in my head to make our robot for the Botball competition play music from SMB or Zelda. It has a function which will play a certain frequency for a certain period of time. Unfortunately, all the sheet music I've found for those games is rather complicated (for me, at least) and I'm not sure it's feasible to actually use it. Is there any simple way to do this?

Boris Godunov is offline Boris Godunov
King
Portland, OR
Aug 2001
time: 00:19
  Old Post 06-05-2005 03:57
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton or Terrorists Win

Using sheet music, one can create MIDI tracks. You could then rig a way for the bot to play a MIDI recording. Not sure how that would work, though.

Japher is offline Japher
Prince
Ook! Ook! Ack! Ack! Ack!
Jun 2002
time: 05:19
  Old Post 06-05-2005 04:01
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Get a bigger avatar today!

You should it have it play the dungeon music from the Mario Brothers!

Kuciwalker is offline Kuciwalker
Emperor
of Schmooism
Feb 2001
time: 00:19
  Old Post 06-05-2005 04:25
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Full PM-box? Change here!

I'm going with the zelda's lullaby from zelda 64, since it's the easiest to do and I have the notes for it.

I'm only doing the upper set of lines.

Boris Godunov is offline Boris Godunov
King
Portland, OR
Aug 2001
time: 00:19
  Old Post 06-05-2005 04:33
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton or Terrorists Win

Can you read music?

Kuciwalker is offline Kuciwalker
Emperor
of Schmooism
Feb 2001
time: 00:19
  Old Post 06-05-2005 04:35
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Increase the size of your Attachments

Sort of.

Boris Godunov is offline Boris Godunov
King
Portland, OR
Aug 2001
time: 00:19
  Old Post 06-05-2005 04:41
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Increase Your PM Length

So what exactly are you asking of us? Without knowing how the machine works to make the sounds, it's kinda hard to know what you want...

reds4ever is offline reds4ever
Prince
of the Spion Kop
Mar 2001
time: 05:19
  Old Post 06-05-2005 04:42
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

This will be of no help whatsoever Kuci, but I *used* to know how to do this! I can't for the life of me remember.

In the 'olden days' of computers a lot of programming languages used to take commands alond the lines of "Sound (duration), (frequency), (pitch(?)), I used to know how to convert, lemme think...........

Kuciwalker is offline Kuciwalker
Emperor
of Schmooism
Feb 2001
time: 00:19
  Old Post 06-05-2005 04:43
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

quote:
Originally posted by Boris Godunov
So what exactly are you asking of us? Without knowing how the machine works to make the sounds, it's kinda hard to know what you want...


Oh, I don't need help any more, actually. I figured something out.

reds4ever is offline reds4ever
Prince
of the Spion Kop
Mar 2001
time: 05:19
  Old Post 06-05-2005 04:45
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton

IIRC if he's not being too fussy over the quality (and lets face it, it's a robot that plays Mario for Godsake!), he just wants to convert a musical note into a frequency?

It must be easy to do because I've done it when I was 12 or so!!

Boris Godunov is offline Boris Godunov
King
Portland, OR
Aug 2001
time: 00:19
  Old Post 06-05-2005 04:53
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Got spare money?

Well, tuning A is 440 Hz. At least, it was set as such in Bach's time, but has gradually creeped up to 445 Hz nowadays. Good for orchestras, not as good for singers...

Kuciwalker is offline Kuciwalker
Emperor
of Schmooism
Feb 2001
time: 00:19
  Old Post 06-05-2005 05:33
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

void play_music() {
while(1) {
tone(nb,2.*bl);
tone(nd,bl);
tone(na,2.*bl);
tone(ng/2.,bl/2.);
tone(na,bl/2.);
tone(nb,2.*bl);
tone(nd,bl);
tone(na,2.*bl);
sleep(bl);
tone(nb,2.*bl);
tone(nd,bl);
tone(2.*na,2.*bl);
tone(ng,bl);
tone(nd,2.*bl);
tone(nc,bl/2.);
tone(nb,bl/2.);
tone(na,2.*bl);
sleep(bl);
tone(nb,2.*bl);
tone(nd,bl);
tone(na,2.*bl);
tone(ng/2.,bl/2.);
tone(na,bl/2.);
tone(nb,2.*bl);
tone(nd,bl);
tone(na,2.*bl);
sleep(bl);
tone(nb,2.*bl);
tone(nd,bl);
tone(2.*na,2.*bl);
tone(ng,bl);
tone(2.*nd,6.*bl);
sleep(bl);
tone(2.*nd,2.*bl);
tone(2.*nc,bl/2.);
tone(2.*nb,bl/2.);
tone(2.*nc,bl/2.);
tone(2.*nb,bl/2.);
tone(ng,2.*bl);
tone(2.*nc,2.*bl);
tone(2.*nb,bl/2.);
tone(2.*na,bl/2.);
tone(2.*nb,bl/2.);
tone(2.*na,bl/2.);
tone(ne,2.*bl);
tone(2.*nd,2.*bl);
tone(2.*nc,bl/2.);
tone(2.*nb,bl/2.);
tone(2.*nc,bl/2.);
tone(2.*nb,bl/2.);
tone(ng,bl);
tone(2.*nc,bl);
tone(2.*ng,6.*bl);
sleep(4.);
}
}



EDIT: it killed my indents

reds4ever is offline reds4ever
Prince
of the Spion Kop
Mar 2001
time: 05:19
  Old Post 06-05-2005 05:36
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Get a bigger avatar today!

Like I say, I did it when I was 12

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:19.
Apolyton Time is 00:19.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0452 seconds (88.19% PHP - 11.81% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net