Difference between revisions of "The Speaker"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
m (Usage)
m (Usage)
Line 14: Line 14:
 
Type |SPHELP to view the usage instructions.
 
Type |SPHELP to view the usage instructions.
  
|SAY,"HELLO WORLD" - Say a phrase. The program converts the string into phonemes.
+
<code>|SAY,"HELLO WORLD"</code> - Say a phrase. The program converts the string into phonemes.
  
|SPEAK,"/HEH4/HEH3/HEH2/HEH1/" - Say a phrase without the program converting phonemes.
+
<code>|SPEAK,"/HEH4/HEH3/HEH2/HEH1/"</code> - Say a phrase without the program converting phonemes.
  
|SPEED,1-20 - Alter the speed of the speech
+
<code>|SPEED,1-20</code> - Alter the speed of the speech
  
|CENTRE (or |CENTER) - Output speech using channel B
+
<code>|CENTRE</code> (or <code>|CENTER</code>) - Output speech using channel B
  
|LEFT - Output speech using channel A
+
<code>|LEFT</code> - Output speech using channel A
  
|RIGHT - Output speech using channel C
+
<code>|RIGHT</code> - Output speech using channel C
  
|SPON - Turn on automatic text to speech output (&BB5A jumpblock patched)
+
<code>|SPON</code> - Turn on automatic text to speech output (&BB5A jumpblock patched)
  
|SPOF - Turn off automatic text to speech output
+
<code>|SPOF</code> - Turn off automatic text to speech output
  
 
== Still to do ==
 
== Still to do ==

Revision as of 23:49, 9 May 2026

Speaker ROM

The Speaker

The Speaker is a software speech synthesizer for the Amstrad. It was published as a BASIC listing in French Magazine CPC Infos by Xavier Grossetete in 1991. This was based on a port of the Spectrum Speech program by Superior Software, published in 1986. The Speaker was then retyped by NoRecess in 2011 and distributed as a DSK file called -SAY.dsk.

The original code has been disassembled by CPSoft and has been converted into a ROM extension format. The Z80 assembly source code will also be available to download.

Usage

Add SpeakerROM.rom to a ROM bank on your Amstrad emulator.

Type |SPHELP to view the usage instructions.

|SAY,"HELLO WORLD" - Say a phrase. The program converts the string into phonemes.

|SPEAK,"/HEH4/HEH3/HEH2/HEH1/" - Say a phrase without the program converting phonemes.

|SPEED,1-20 - Alter the speed of the speech

|CENTRE (or |CENTER) - Output speech using channel B

|LEFT - Output speech using channel A

|RIGHT - Output speech using channel C

|SPON - Turn on automatic text to speech output (&BB5A jumpblock patched)

|SPOF - Turn off automatic text to speech output

Still to do

  • Investigate if there is a way of outputting speech without disabling interrupts.

Download

  • Speaker ROM - The Speaker Speech Synthesizer in ROM format

Source code for Speaker ROM can be downloaded from GitHub