Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
22 May, 2013, 03:59:25 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: NES Sound Hardware -  (Read 1547 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Hot_Dog
If you can't find a cat, look for its tail.
Support Staff
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« on: 24 September, 2010, 00:12:35 »
0

I know that the Nintendo Entertainment System uses seperate hardware/chips for sound, but I noticed that music plays at a constant tempo even when a game slows down from too many sprites on the screen.  Is this because of the sound hardware, or does an NES game use interrupts to play sound?
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

qazz42
LV9 Veteran (Next: 1337)
*********
Offline Offline

Last Login: 29 December, 2012, 01:39:31
Date Registered: 19 June, 2010, 16:06:31
Posts: 1134


Total Post Ratings: +17

View Profile
« Reply #1 on: 24 September, 2010, 00:18:30 »
0

probably the first
Logged

calc84maniac
Epic z80 roflpwner
Coder Of Tomorrow
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: 20 May, 2013, 21:27:24
Date Registered: 28 August, 2008, 05:09:05
Location: Right behind you.
Posts: 2735


Total Post Ratings: +373

View Profile
« Reply #2 on: 24 September, 2010, 00:48:49 »
0

Well, the hardware will play the notes continuously at whatever frequency they are set to. But if the music doesn't slow down at all with the rest of the game, it is probably updated using an interrupt (V-Blank, most likely)
Logged

"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
Hot_Dog
If you can't find a cat, look for its tail.
Support Staff
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #3 on: 24 September, 2010, 00:50:18 »
0

Well, the hardware will play the notes continuously at whatever frequency they are set to. But if the music doesn't slow down at all with the rest of the game, it is probably updated using an interrupt (V-Blank, most likely)

Gotcha.  I'm thinking in particular of Kirby's Adventure.  The game sometimes slows down with a lot of enemies/animations, but the music keeps at a constant tempo
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 03:22:15
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50208


Total Post Ratings: +2613

View Profile WWW
« Reply #4 on: 24 September, 2010, 00:57:08 »
0

Hmm actually, in Zelda II: The Adventure of Link, the music did slow down a bit on the overworld map when scrolling sometimes (especially when enemies were on the screen for random battles)
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Hot_Dog
If you can't find a cat, look for its tail.
Support Staff
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #5 on: 24 September, 2010, 00:58:17 »
0

Hmm actually, in Zelda II: The Adventure of Link, the music did slow down a bit on the overworld map when scrolling sometimes (especially when enemies were on the screen for random battles)

Good, that answers my question then.  Because that mean's there only ONE way that the NES music for Kirby's Adventure could be played at a constant rate.
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 03:22:15
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50208


Total Post Ratings: +2613

View Profile WWW
« Reply #6 on: 24 September, 2010, 01:06:24 »
0

Do you mean that when too many sprites are displayed, more processing power is spent on music to avoid slowing it down, but with the downside of slowing the game framerate down even more?
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
gangsterveggies
LV2 Member (Next: 40)
**
Offline Offline

Gender: Male
Last Login: 22 September, 2011, 01:54:13
Date Registered: 25 October, 2010, 23:39:02
Location: Omnimaga...
Posts: 36

Total Post Ratings: +1

View Profile
« Reply #7 on: 09 November, 2010, 22:20:54 »
0

Yeah... that wouldn't make sense... Although it has a point... if the sound is constant and the frame rate drops...

Totally unrelated, when do you think TI is gonna have sound?
Logged

I'm waiting for someone to do a calc Farmville. Maybe one day I'll do it!
Hot_Dog
If you can't find a cat, look for its tail.
Support Staff
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #8 on: 09 November, 2010, 22:22:09 »
0

Yeah... that wouldn't make sense... Although it has a point... if the sound is constant and the frame rate drops...

Totally unrelated, when do you think TI is gonna have sound?

Probably never
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

gangsterveggies
LV2 Member (Next: 40)
**
Offline Offline

Gender: Male
Last Login: 22 September, 2011, 01:54:13
Date Registered: 25 October, 2010, 23:39:02
Location: Omnimaga...
Posts: 36

Total Post Ratings: +1

View Profile
« Reply #9 on: 09 November, 2010, 22:26:50 »
0

Oh... I've seen some wacky projects... it would be cool... wouldn't it?
Logged

I'm waiting for someone to do a calc Farmville. Maybe one day I'll do it!
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 03:22:15
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50208


Total Post Ratings: +2613

View Profile WWW
« Reply #10 on: 09 November, 2010, 23:03:34 »
0

Well the problem with the Nspire is that it has no I/O port or headphone jack. We need a TI-84 keypad for it and it doesn't come with the Nspire anymore. In other words, people need to find an USB adapter to plug speakers or something. On the TI-84+ there is sound, but it can slow down games a lot and higher quality sound, like real music, fills the entire calculator memory with only one minute of song.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
gangsterveggies
LV2 Member (Next: 40)
**
Offline Offline

Gender: Male
Last Login: 22 September, 2011, 01:54:13
Date Registered: 25 October, 2010, 23:39:02
Location: Omnimaga...
Posts: 36

Total Post Ratings: +1

View Profile
« Reply #11 on: 09 November, 2010, 23:05:16 »
0

Hot wiring? Just kidding. I just wanted to freak out my maths teacher by playing a really loud noise on her calc... but that's ok...
Logged

I'm waiting for someone to do a calc Farmville. Maybe one day I'll do it!
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 03:22:15
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50208


Total Post Ratings: +2613

View Profile WWW
« Reply #12 on: 10 November, 2010, 02:54:09 »
0

Well the calc hardware by itself got no speaker so that wouldn't work too well, since the teacher would notice the USB speakers.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.139 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.