It is currently Fri Nov 24, 2017 10:04 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 65 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: New PCM demo
PostPosted: Tue Mar 17, 2009 7:00 am 
Offline

Joined: Tue Mar 03, 2009 3:56 pm
Posts: 298
Here's a little demo using $4011 to play raw 7bit PCM data while simultaneously doing some graphics stuff and reading from the controller. This is my first demo so let me know what you think :)

Download demo


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 7:55 am 
Offline
User avatar

Joined: Mon Sep 27, 2004 8:33 am
Posts: 3715
Location: Central Texas, USA
Hahaha, excellent. Wins on both counts.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 8:36 am 
Offline
User avatar

Joined: Sun Jun 05, 2005 2:04 pm
Posts: 2136
Location: Minneapolis, Minnesota, United States
Wow! Amazing quality!! And pretty humorous, too :) .


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 8:55 am 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 3952
When is the horizontally flipped image used?

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 9:21 am 
Offline

Joined: Tue Mar 03, 2009 3:56 pm
Posts: 298
it's not used.. i just wanted to put something in the other pattern table for nosy folks lol ;)


glad u guys enjoyed it :D :D


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 11:31 am 
Offline
User avatar

Joined: Wed Aug 03, 2005 3:15 pm
Posts: 394
D'oh! You got me! haha Pretty nice demo : D


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 11:34 am 
Offline

Joined: Thu Sep 15, 2005 9:23 am
Posts: 1194
Location: Behind you with a knife!
Aw shame, I've just tested it out on WedNESday, but there's no sound emulation at the moment...

_________________
http://www.jamesturner.de/


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 11:57 am 
Offline
User avatar

Joined: Mon Sep 27, 2004 8:33 am
Posts: 3715
Location: Central Texas, USA
No sound? Then you were half-spared :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 12:25 pm 
Offline

Joined: Mon Apr 07, 2008 6:08 pm
Posts: 325
Location: Missouri
Woah - I didn't know the NES could play anything other than bloop bloop bloop.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 1:59 pm 
Offline

Joined: Sun Apr 22, 2007 6:07 am
Posts: 101
cool demo. i thought about 4011 streaming with other tasks crammed in between a little while back, you get a decent chunk of time with 8khz or 16khz between 4011 writes. i thought about using irq to time between 4011 but then i remembered ppu address lines aren't active in nmi so that wouldn't work out too well.

eventually i'd like to write a pcm streamer but i'd also want it doing something in the background otherwise it's pretty unremarkable. i co-authored something similar for the snes, was pretty fun to make.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 4:40 pm 
Offline
User avatar

Joined: Sun Sep 19, 2004 9:28 pm
Posts: 3192
Location: Mountain View, CA, USA
Haha, awesome. The audio quality is downright scary.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 4:59 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19256
Location: NE Indiana, USA (NTSC)
strat wrote:
I didn't know the NES could play anything other than bloop bloop bloop.

How many words can you make before the sun goes down?

Are. Eye. See. Kay. Rick.
Are. Oh. Ell. Ell. Roll.
Good job! Go again.

I wonder how much the quality would suffer under ADPCM.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 5:24 pm 
Offline
User avatar

Joined: Thu Jan 19, 2006 5:08 pm
Posts: 747
Location: Shelton, Washington.
Can Frantik release source code for the NES Demo? And can SMKDan do the same with the SNES Demo? Because the Sound/Music is nice and I'd like them to be released.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 6:17 pm 
Offline

Joined: Tue Mar 03, 2009 3:56 pm
Posts: 298
tepples wrote:
I wonder how much the quality would suffer under ADPCM.


haha I actually got the idea from you musing about the same thing a year ago

It would be interesting to hear using ADPCM compression.. but would you have enough time to decompress it and play the audio in addition to doing everything else? The audio is playing back around 14.5 kHz and there are only 16 clock cycles left between each sample.

one cool thing I discovered is you can get away with using more clock cycles if you only do it once in a while.. like you can do a fair amount of work during vblank and the distortion isn't noticeable until you've wasted a lot of clock cycles.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 7:20 pm 
Offline

Joined: Mon Apr 07, 2008 6:08 pm
Posts: 325
Location: Missouri
"Haha, awesome. The audio quality is downright scary."

Honestly, that sounds at least as good as vinyl.

Thanks for the Big Bird vid, Tepples


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 65 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group