It is currently Wed Nov 22, 2017 10:48 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: NES Speech Synthesizer
PostPosted: Wed Jan 06, 2016 12:10 pm 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1832
Location: DIGDUG
Hello all,

I'm working on a Speech Synthesizer demo for the NES. This is a project I've wanted to work on for a very long time. It's about half finished, but it's taking input and talking. I made a lot of effort to get it to look like a ~1980s computer screen.

Currently, all the DMC samples are at sample rate "a", in order to fit it into an NROM size ROM. The sound quality is not great, but I don't think I can fit in a faster sample rate. Maybe I'll try "b" and see if I can move things around, but it will be a pain, there are 32-33 samples.

I'm not ready to release the .nes ROM, but here's a YouTube video.

https://youtu.be/kl3NMzgF1eY


Attachments:
talkNES2.png
talkNES2.png [ 1.86 KiB | Viewed 4328 times ]
talkNES.png
talkNES.png [ 2.32 KiB | Viewed 4328 times ]

_________________
nesdoug.com -- blog/tutorial on programming for the NES
Top
 Profile  
 
PostPosted: Wed Jan 06, 2016 3:15 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5830
Location: Canada
Interesting!


Top
 Profile  
 
PostPosted: Wed Jan 06, 2016 4:10 pm 
Offline
Site Admin
User avatar

Joined: Mon Sep 20, 2004 6:04 am
Posts: 3484
Location: Indianapolis
Nice! It sounds a lot like the one I made a while back. I never released the ROM because I never properly finished the editor for it, the saving and loading, and backspace worked in the audio but not the display. If you want to hear it, it's used on the last track (#183) of this NSF:
http://membler-industries.com/nes/Memblers_-_Complete_Chipography_1_of_3_(Original_Songs).zip

The fun thing about not using the highest DPCM speed, is that you can make the samples higher pitched, heheh. My editor let you set the speed setting for each phoneme as you entered it, not greatly useful but can be kinda funny.


Attachments:
36.png
36.png [ 3.12 KiB | Viewed 4287 times ]
Top
 Profile  
 
PostPosted: Wed Jan 06, 2016 6:33 pm 
Offline
User avatar

Joined: Mon Sep 15, 2014 4:35 pm
Posts: 3114
Location: Nacogdoches, Texas
I was honestly expecting something like the Intellivoice Voice Synthesis Module based on the title :lol: (presumably plugged into the expansion port)

Image


Top
 Profile  
 
PostPosted: Wed Jan 06, 2016 6:54 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19251
Location: NE Indiana, USA (NTSC)
That or a port of SAM (Software Automatic Mouth).

I'd bet MMC3 can do an actual diphone synthesizer.


Top
 Profile  
 
PostPosted: Wed Jan 06, 2016 8:18 pm 
Offline
User avatar

Joined: Sat Jul 25, 2015 1:22 pm
Posts: 501
Wow!

This is really impressive!

Why just NROM?


Top
 Profile  
 
PostPosted: Thu Jan 07, 2016 12:35 am 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1832
Location: DIGDUG
Quote:
Why just NROM


Maybe in the future I will try better samples / better mappers. I wanted to keep it as simple as possible, with no bank switching.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
PostPosted: Thu Jan 07, 2016 4:06 am 
Offline

Joined: Tue May 28, 2013 5:49 am
Posts: 875
Location: Sweden
It's a cool program. :)
This is one of those programs that would benefit from the Family Keyboard.


Top
 Profile  
 
PostPosted: Thu Jan 07, 2016 3:54 pm 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1832
Location: DIGDUG
Quote:
That or a port of SAM


It's no coincidence, that the folder that holds the source code has SAM in the title. I didn't know that anyone else was aware of SAM.

By the way, it's 95% done. I just want to add some sample text options, and I will post it.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
PostPosted: Thu Jan 07, 2016 4:08 pm 
Offline
User avatar

Joined: Mon Sep 15, 2014 4:35 pm
Posts: 3114
Location: Nacogdoches, Texas
dougeff wrote:
I didn't know that anyone else was aware of SAM.

Really? I even knew what that was, I just didn't know what the acronym was (or that it even meant something and wasn't just a name for it).

Then again, I know a bunch of random crap from being here.


Top
 Profile  
 
PostPosted: Fri Jan 08, 2016 5:11 pm 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1832
Location: DIGDUG
And she's done, here's the link...

http://dl.dropboxusercontent.com/s/3x5c ... alkNES.zip


Please let me know if you find any bugs. Thanks.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
PostPosted: Fri Jan 08, 2016 9:05 pm 
Offline
User avatar

Joined: Mon Sep 15, 2014 4:35 pm
Posts: 3114
Location: Nacogdoches, Texas
I think it needs help... :lol: I had no chance at understanding the first and third samples (hate to talk like this, but the first sample sounded like it said "suck dick" multiple tikes) I'd have no chance at understanding the Hamlet passage if we hadn't had to memorize it for school. It's certainly a start though, but I wouldn't say it's complete unless you're just tired of it.


Top
 Profile  
 
PostPosted: Fri Jan 08, 2016 11:17 pm 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1832
Location: DIGDUG
Well, Speech Synthesizers that sound better use more samples, and higher quality samples. Maybe I'll play around with it in the future, to try to improve the sound (maybe use a different mapper), but I'm pretty happy with the results so far.

I'd rather get back to work on my other game, for now.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
PostPosted: Fri Jan 08, 2016 11:19 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19251
Location: NE Indiana, USA (NTSC)
And some don't use any samples but instead formant synthesis using modulated sine waves, like SAM.


Top
 Profile  
 
PostPosted: Sat Jan 09, 2016 12:04 am 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1832
Location: DIGDUG
Many years ago...I tried to generate speech using combinations of sine waves...some with pitch changes... at different frequencies. Etc.

In the end, I couldn't make a single vowel sound that reminds me of actual speech.

Samples l understand. It was so much easier. But, this project was for fun. ...Spending months trying to figure out a way to make Square channels make vowel sounds... Is not fun, and maybe not even possible.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 3 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