Parrot Sound Add-on

Discussions about Sinclair ZX80 and ZX81 Hardware
stroebeljc
Posts: 114
Joined: Thu Apr 23, 2020 6:02 am
Location: Minneapolis, MN

Re: Parrot Sound Add-on

Post by stroebeljc »

1024MAK wrote: Fri May 08, 2020 3:40 pm But 0x4F does set bits A4, A5, and A7 to zero, while keeping all the other bits at 1 to reduce the likelihood of hardware conflict.

Why anyone would use 0x03 I don’t know, that’s just asking for trouble.

Mark
You are totally correct. The problem is that the original guidance from the makers of the Parrot published 0x03 in all of their stuff. If you look at the book referenced earlier in this thread, you will see this. I switched to 0x4F precisely to reduce interactions.
John
stroebeljc
Posts: 114
Joined: Thu Apr 23, 2020 6:02 am
Location: Minneapolis, MN

Re: Parrot Sound Add-on

Post by stroebeljc »

XavSnap wrote: Fri May 08, 2020 7:19 am Cool stroebeljc !
Thanks for this code.

It able to update the Parrot SPO sound card on the VB81 emulator.
I had to add the &4F IORQ to the VTR/Mageco (@&3F) sound card, enclosed in the emulator.
:ugeek:

Vb81 is now update for the Parrot SPO256...(r. 08/05/2020)

SPO on the &4F IOrq (IN & OUT) port.
Select the sound card, and reinit the computer.

If something's wrong let me know...
Have Fun.
I am liking your emulator. Lot's of nice features!

However, the SP0256 sound output could use much improvement. I have sampled all allophones from my Parrot and stitched them into my local build of EO. The sound representation is much closer to the real thing. I can provide you more information on this, if you are interested.
John
User avatar
XavSnap
Posts: 2193
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.
Contact:

Re: Parrot Sound Add-on

Post by XavSnap »

8-)
Sure !
I haven't this card in my poor collection.
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
mcarlson_sb
Posts: 122
Joined: Wed Apr 08, 2020 4:48 am
Location: San Francisco

Re: Parrot Sound Add-on

Post by mcarlson_sb »

My SP0256-AL2 ICs came today 8-)
I did a quick test with an arduino and they both said "Hello World" after some coaxing.

Looking forward to figuring out how to get them talking with the zx81 (pun intended)
stroebeljc
Posts: 114
Joined: Thu Apr 23, 2020 6:02 am
Location: Minneapolis, MN

Re: Parrot Sound Add-on

Post by stroebeljc »

If I recall correctly, the software that came with the Parrot was pretty minimal and was the same Test Program that's in the How to Make Your Computer Talk book. So, I created the attached files from the listings in the book (with bug fixes) and added the Phrase Finder program that wasn't on tape. I'm also including a program that speaks all of the examples in Appendix A of the book. The source is on github here.
Attachments
parrot.p
(4.41 KiB) Downloaded 99 times
sp0256 test program.P
(373 Bytes) Downloaded 99 times
sp0256 phrase finder.P
(2.95 KiB) Downloaded 132 times
John
User avatar
XavSnap
Posts: 2193
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.
Contact:

Re: Parrot Sound Add-on

Post by XavSnap »

Thanks a lot John !
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
stroebeljc
Posts: 114
Joined: Thu Apr 23, 2020 6:02 am
Location: Minneapolis, MN

Re: Parrot Sound Add-on

Post by stroebeljc »

Here's a version for the VTR.
Attachments
VTR.p
(4.41 KiB) Downloaded 103 times
John
Crayon21
Posts: 419
Joined: Sun Nov 04, 2018 2:33 am

Re: Parrot Sound Add-on

Post by Crayon21 »

I see it's in the new version of the emulator. I have used speech synthesis before but that was on another emulator. do i have to poke the allophones or can I just print the words I want? I would rather:

Def word:
"Hello"
DO:
Word
say: "Hello"
End

versus:
(enter MC)
poke 16384+peek(16384 and 1)
rand usr(16384)
then get the text to speech
In Heck, there are two options for perpetual torment:

Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
:twisted:
stroebeljc
Posts: 114
Joined: Thu Apr 23, 2020 6:02 am
Location: Minneapolis, MN

Re: Parrot Sound Add-on

Post by stroebeljc »

Crayon21,
It differs depending on which hardware speech device is connected. We bundled instructions and software for each of the devices that are supported on both Zeddy and Speccy based systems.
As far as I am aware, the only devices that come close to what you are looking for are the dk'tronics Speech Synthesizer and the Currah uSpeech, both on the Spectrum. The uSpeech actually will speak BASIC commands as you type them, while the dk'tronics has a software utility that you must load, then a simple BASIC program with the words in strings. These are covered in the examples and documentation.
The ZX81 is not as sophisticated, but with the examples, you should be able to get speech up and running in your program in no time.
All of the speech modules are based on the SP0256 (allphone-based) except for the DCP S-Pack, which has actual recorded (compressed) voice words digitally stored in its ROM.
John
Crayon21
Posts: 419
Joined: Sun Nov 04, 2018 2:33 am

Re: Parrot Sound Add-on

Post by Crayon21 »

thanks
In Heck, there are two options for perpetual torment:

Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
:twisted:
Post Reply