Author Topic: LambdaSpeak Speech Synthesizer, Sample Player, RTC, MP3, Serial Interface, MIDI  (Read 31298 times)

0 Members and 2 Guests are viewing this topic.

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.628
  • Country: us
    • Homepage
  • Liked: 874
  • Likes Given: 667

New firmware seems to be working OK so far:
https://github.com/lambdamikel/LambdaSpeak3/blob/master/firmware/atmega644/lambdaspeak3-firmware-v22-06-30-19.hex

(Unless @GUNHED finds something else  ;) )

It is not impossible that there might be one more version though.

A major new feature is to use the EEPROM for arbitrary (persistent) data storage (storing and retrieving 64 KBs in about 3 seconds).
@GUNHED is working on some very nice features to incorporate into his RSX LS3 ROM. Stay tuned!  8)
« Last Edit: 19:39, 01 July 19 by LambdaMikel »

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.366
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 767
  • Likes Given: 1642
OK, and with this I do update the LS3 ROM... download see my signature...  :)
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.08.07)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2019.08.14)

Offline zhulien

  • 464 Plus
  • *****
  • Posts: 420
  • Country: au
    • 8bitology
  • Liked: 194
  • Likes Given: 117
@GUNHED is working on some very nice features to incorporate into his RSX LS3 ROM. Stay tuned!  8)


you mean like using the LEDs as a progress indicator? 0% to 100% ?

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.628
  • Country: us
    • Homepage
  • Liked: 874
  • Likes Given: 667

you mean like using the LEDs as a progress indicator? 0% to 100% ?
LS3 Progress is already at 100 %  8)

But seriously - progress for what?

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.366
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 767
  • Likes Given: 1642
Thanks to LambdaMikel for the great new firmware (v23, yes from today!).  :)
New RSX ROM uploaded right now.  :)

Progress? Well, in ROM there is half the space left, wait for funny new features.  :)
« Last Edit: 17:47, 02 July 19 by GUNHED »
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.08.07)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2019.08.14)

Offline zhulien

  • 464 Plus
  • *****
  • Posts: 420
  • Country: au
    • 8bitology
  • Liked: 194
  • Likes Given: 117
LS3 Progress is already at 100 %  8)

But seriously - progress for what?


I guess we can already do that per application, using outs.  like loading progress, game progress... database capacity used so far.

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.366
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 767
  • Likes Given: 1642
Right send value like &80, &40, &20, &10, &08, &04, &02, &01 and then begin again, of course with a couple of FRAME commands in between. Before a command like !CONFOFF can help.
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.08.07)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2019.08.14)

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.628
  • Country: us
    • Homepage
  • Liked: 874
  • Likes Given: 667
Right send value like &80, &40, &20, &10, &08, &04, &02, &01 and then begin again, of course with a couple of FRAME commands in between. Before a command like !CONFOFF can help.
Right... but it depends a bit on the mode... these bytes are buffered for speech output and some of them might produce some phonemes... maybe we should better add one more "mode" whose only purpose is to set the LEDs...

Edit: just to be on the safe side, I have added one more control byte for this purpose. The sequence &f0, <byte> shows <byte> on the LEDs and has no other effects, in all speech modes (does not work in PCM Sample Playing or Amdrum mode).
This is in version 25 of the firmware:
https://github.com/lambdamikel/LambdaSpeak3/blob/master/firmware/atmega644/lambdaspeak3-firmware-v25-07-02-19.hex
Now, the &f0 is also visible on the LEDs, but in MC you can send that really fast and then only <byte> should be visible with a little bit of flicker maybe before <byte> from &f0.
 
« Last Edit: 06:19, 03 July 19 by LambdaMikel »

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.050
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3918
  • Likes Given: 408
If you are going to use the LEDs for anything new, then it should be a VU Meter :)

Bryce.

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.628
  • Country: us
    • Homepage
  • Liked: 874
  • Likes Given: 667
Cool idea! Just not sure how to realize this.

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.628
  • Country: us
    • Homepage
  • Liked: 874
  • Likes Given: 667
In the meantime, we have a new MIDI interface for the CPC:

https://ubld.it/products/midi-breakout-board/
The latest (and finally final?) firmware v26 supports the required MIDI BAUD rate: 31250 BAUDs.
A demo program on the LS300.DSK on the Github is working.

The ubld.it Breakout Board is a nice inexpensive (10 $) board which comes as a kit! Highly recommended, works like a charme and is not so bulky as many Arduino shields.

https://github.com/lambdamikel/LambdaSpeak3/blob/master/firmware/atmega644/lambdaspeak3-firmware-v26-07-02-19.hex


Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.050
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3918
  • Likes Given: 408
Cool idea! Just not sure how to realize this.

Assuming the LEDs are connected to one of the µP ports, you could send the PWM duty cycle values to this port which would at least simulate a VU meter. For speech, where you are sending commands it would be rather difficult as there is no feedback loop.


Bryce.

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.628
  • Country: us
    • Homepage
  • Liked: 874
  • Likes Given: 667
Assuming the LEDs are connected to one of the µP ports, you could send the PWM duty cycle values to this port which would at least simulate a VU meter. For speech, where you are sending commands it would be rather difficult as there is no feedback loop.


Bryce.
Good idea, but the LEDs is just the latched IOREQ WR &FBEE from the CPLD, so the uC is not in charge of controlling the LEDs unfortunately.

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.050
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3918
  • Likes Given: 408
Then there's not a lot you can do with them without serious changes.

Bryce.

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.628
  • Country: us
    • Homepage
  • Liked: 874
  • Likes Given: 667
Then there's not a lot you can do with them without serious changes.

Bryce.
Right, and I don't have free pins on the ATmega or CPLD. I guess it is good enough if the CPC can control them; and certain things the CPC cannot now about (i.e., MP3 music player level or PCM related), since this is not communicated back (and cannot be communicated back).  For VU meter, people have to buy Symbiface 3  :)
« Last Edit: 17:14, 03 July 19 by LambdaMikel »

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.366
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 767
  • Likes Given: 1642
Right... but it depends a bit on the mode... these bytes are buffered for speech output and some of them might produce some phonemes... maybe we should better add one more "mode" whose only purpose is to set the LEDs...


Or set volume to 1 (nothing to hear).  ;) :)
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.08.07)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2019.08.14)

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.628
  • Country: us
    • Homepage
  • Liked: 874
  • Likes Given: 667

Or set volume to 1 (nothing to hear).  ;) :)


Right... is this what CYLON.DSK does?

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.366
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 767
  • Likes Given: 1642
Then there's not a lot you can do with them without serious changes.

Bryce.


Well, put some relais on them and control a robot maybe?

http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.08.07)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2019.08.14)

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.366
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 767
  • Likes Given: 1642

Right... is this what CYLON.DSK does?


No, just puts values to LS3, nothing else :-)

http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.08.07)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2019.08.14)

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.628
  • Country: us
    • Homepage
  • Liked: 874
  • Likes Given: 667

Well, put some relais on them and control a robot maybe?


Right, I am working on this Robot in my garage that looks like a Chrome Toaster from the 1950s.
In the middle it has a red LED light that goes from left to right and back and forth  :D

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.366
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 767
  • Likes Given: 1642
While you polish the DECtalk "Exterminate!" I'll do the GFX...
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.08.07)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2019.08.14)

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.628
  • Country: us
    • Homepage
  • Liked: 874
  • Likes Given: 667
While you polish the DECtalk "Exterminate!" I'll do the GFX...
Not polish, english!  :D :laugh:

Offline LambdaMikel

  • 6128 Plus
  • ******
  • Posts: 1.628
  • Country: us
    • Homepage
  • Liked: 874
  • Likes Given: 667
Here is another idea that can be implemented with LS 3 + MIDI + SPO256-AL2 - I guess a simple BASIC program suffices for that:

http://rarewaves.net/products/midi-narrator/
OK, the pitch bend is not possible....
« Last Edit: 09:32, 04 July 19 by LambdaMikel »

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.366
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 767
  • Likes Given: 1642
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.08.07)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2019.08.14)

Offline zhulien

  • 464 Plus
  • *****
  • Posts: 420
  • Country: au
    • 8bitology
  • Liked: 194
  • Likes Given: 117
interesting video if you haven't seen it. Speech synths from 1939 to present...



https://www.youtube.com/watch?v=OVr8gnQcGoI


and



https://www.youtube.com/watch?v=wQjTgvUEOrY
« Last Edit: 00:45, 09 July 19 by zhulien »