Jump to content
IGNORED

How to Produce Voice


Just Jeff

Recommended Posts

Good Morning,

 

I'm interested in learning a little bit about producing voice. Can anyone please point me in the right direction? I suppose I need to learn how to convert a sound file to Atari readable data, and also need a voice engine? How much memory does say, 1 second of sample use? How many cycles would I have left over for a kernel if I wanted to show something on the screen during speech?

 

Thanks!

  • Like 1
Link to comment
Share on other sites

One discussion on the subject: http://atariage.com/forums/topic/184034-question-digitized-sound-on-atari-2600/?hl=%2Bquadrun&do=findComment&comment=2341279

Seems like that might give you a pretty good start toward understanding the subject. (I found that by searching this forum for "Quadrun" which is a game that produces human speech sounds natively on the 2600 hardware.)

 

There's a device called Atarivox if you're interested in an external device to produce speech.

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...

Thanks.. I have the sample player pretty much how I want it now but I still need a tool to convert files to 4 bit (high and low nibbles in one byte)

 

Anybody know of anything? The link points to a perl script which I'm trying to figure out, but I'm wondering if there is something better and easier.

Link to comment
Share on other sites

I still need a tool to convert files to 4 bit (high and low nibbles in one byte)

 

 

 

This is what I used for Draconian

Samples need to first be converted to unsigned 8 bit raw format, which I used sox to create:
../sox $file -b 8 -u $root.raw
../raw_to_dpc $root.raw $root.pds
  • Like 1
Link to comment
Share on other sites

I made that up, PDS = Packed Digital Samples

 

It's a binary file, not text, so use INCBIN to include it in your source:

incbin sample.pds

Hmm,need to put spacing in front of the incbin, the forum keeps removing it for some reason - probably because I'm on my iPad.

Link to comment
Share on other sites

Thanks.. Still having a tough time with this. Its in my source, and it compiles. But there's still something wrong and it doesn't run. When it loads in JEdit, I get:

C:\Atari\dasm\Shining.bin:
The file could not be loaded correctly (some data might be lost) with
the encoding "Cp1252".
(java.nio.charset.UnmappableCharacterException: Input length = 1)
Try selecting a different encoding.
It can be selected with the menu File->Reload with Encoding.
If you want it to be done automatically, add the candidates into
"List of fallback encodings" in Encodings pane of Global Options.

and Stella's disassembly doesn't look so good.

 

Is the .pds supposed to be just 4 bit sample data or is there more to it?

 

[edit: I added the .asm]

Shining.asm

Edited by BNE Jeff
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...