CPCWiki forum

General Category => Amstrad CPC hardware => Topic started by: GUNHED on 17:50, 18 February 21

Title: LambdaSpeak FS
Post by: GUNHED on 17:50, 18 February 21
The LambdaSpeak III is a great expansion with lots of features.
However it is not really cheap. Parts just have their price.

But... we decided to release the LambdaSpeak FS, which is nearly the same as the LS III.


What are the differences?

- The SPO256 chip is missing (no problem, the Click-2-Speach does the job anyway)
- You get an additional serial port, suitable for MIDI IN and OUT and way more
- EEPROM missing
- It's way cheaper!


What are the features?

LambdaSpeak FS (2021)
- Perfect Speech Synthesis (English and Spanish!)
- MP3 Player with SD card
- Real Time Clock (native OS, CP/M)
- PCM Sample Player
- 81 new RSX Commands
- Software for CP/M too
- Emulation of:
  * SSA-1 speech synthesizer
  * dk'tronics speech synthesizer
  * Amdrum Drumkit
  * Epson and DECtalk Modes
- Thermo sensor
- Serial Port (up to 625000 Baud)
- MIDI IN and OUT Option
- Three DSKs of software
   - RSX expansion
   - Sexy Lisa speaking
   - Prodatrons Digitrakker
   - much more...
- XMODEM transfer
- MX4 connector
- Help & Support granted

How to get it? Well, we wait for the next promotion for the Click2Speach board to save $20. Meanwhile we're building the boards.

Should you buy one?
- If you have the LS III, then NO  ;) :) ;)
- If you have no LS, then YES  :) :) :)

Production cost (=parts): 58,62 Euros

Preorder list for first batch of 10 units:
- Rambler - received
- valfac - posted
- RetroCPC - probably got one from Michael already
- Neurox66 - received
- Nitro - posted
- GarfieldTheFirst - received
- 2x to 'somebody with no pseudo' - received
- Animalgril987

Units left: 1
Title: Re: LambdaSpeak FS
Post by: XeNoMoRPH on 18:30, 18 February 21
I have LS III  ;D
Title: Re: LambdaSpeak FS
Post by: GUNHED on 01:49, 19 February 21
Quote from: XeNoMoRPH on 18:30, 18 February 21
I have LS III  ;D
You are the lucky one. We work on some new software for LFS, it will run on LS3 too.  :)
Title: Re: LambdaSpeak FS
Post by: eto on 11:57, 19 February 21
how much will it be?
Title: Re: LambdaSpeak FS
Post by: GUNHED on 15:25, 19 February 21
Quote from: eto on 11:57, 19 February 21
how much will it be?
Good question... the main "thing" here it this one...

https://www.mikroe.com/text-to-speech-click


At the moment the 'Text to Speech' Module costs 39 Dollars, but from time to time they have a promotion and the price drops to 19 Dollars - we wait for that now.
The remaining components are maybe around 30-40 Dollars, we need to see where to make the best deals.  :)


Also, the price depends if you want to have the MP3 player (or not) and the RTC (or not).


We use these boards:
MP3: Aideepen YX5300 UART Control Serial MP3 Music Player Module for Arduino/AVR/ARM/PIC
https://www.amazon.de/aideepen-yx5300-UART-Steuerung-MP3-Music-Arduino/dp/B01JCI23JG


RTC: HiLetgo 5pcs DS3231 AT24C32 Clock Module Real Time Clock Module IIC RTC Module for Arduino Without Battery
https://www.amazon.de/Demarkt-AT24C32-Precision-Modul-Speichermodul-Arduino-1PCS/dp/B07NW86D97/ref=sr_1_3?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&dchild=1&keywords=DS3231+AT24C32+Clock+Module+Real+Time+Clock+Module+IIC+RTC+Module+for+Arduino+Without+Battery&qid=1613744738&s=ce-de&sr=1-3


Meanwhile software is getting more and boards will get their first components soon. I'll keep you updated. And if there is a text2speech board promotion please let me know.


By the way, the project page is here:

https://github.com/lambdamikel/LambdaSpeak-FS

Title: Re: LambdaSpeak FS
Post by: genesis8 on 15:48, 19 February 21
I am interested for one (including MP3 and RTC), I cant wait the promotion.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 16:06, 19 February 21
PM sent.  :)


Hope the have a batch of 10 units available soon.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 12:58, 23 February 21
Software & Firmware update on my HP and here...

What new?
- !ADEXIT can exit the AMDRUM mode
- !LSHELP (hopefully) litte more lookable
- Firmware 5 (can now exit from AMDRUM mode)

Have fun!
Title: Re: LambdaSpeak FS
Post by: GUNHED on 16:15, 26 February 21
You want to use MIDI with LFS or LS3?
Then you can connect via the MIDI breakout board:

https://www.amazon.com/ubld-it-MIDI-Breakout-Board-EZ/dp/B08JC1SZHG/


LambdaMikel made some software for it, see his channel at youtube f.e.


More software is planned.
Therefore let me know which kind of software you would like to have for CPC and Plus computers.
There is MIDI IN and MIDI OUT.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 17:36, 03 March 21
A new software update for LambdaSpeak is out, now with the Digitrakker from Prodatron (Trakker and Player generator adapted for LambdaSpeak).

MiguelSky made me aware that the RAM RSX from disc don't work. Sorry for this, I worked most of the time on the ROM version. I will care about the RSX for RAM soon.

And now here a video of LambdaSpeak and Prodatrons great Digitrakker:

https://www.youtube.com/watch?v=ffm2ckMMNg4 (https://www.youtube.com/watch?v=ffm2ckMMNg4)
Title: Re: LambdaSpeak FS
Post by: GUNHED on 02:02, 05 March 21
Thanks to Genesis 8, here is the actual software for the LFS:
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip

The RAM RSX doesn't work at the moment (MiguelSky pointed me at that bug), but I will render it working soon. Will keep you updated...  :) :) :)
Title: Re: LambdaSpeak FS
Post by: GUNHED on 15:15, 05 March 21
Hi there!

Today I opened the preorder list for the first 10 LambdaSpeak FS expansion cards.
This is especially for people who want to really use the LFS, not for pure collectors.

If you want one unit please PM here and I will put your nick in the preorder list (see first post).
Title: Re: LambdaSpeak FS
Post by: GUNHED on 20:16, 07 March 21
All the songs which are 'expected' by the MP3 player can be found at Mega Download.
(However, these songs are on you 'present' SD card anyway, but just in case ...)

See here:
https://mega.nz/file/q0djxIYD#dYcjvVoW3frF6eo_L1dZwh76BI6laYOwBrThm46u56k (https://mega.nz/file/q0djxIYD#dYcjvVoW3frF6eo_L1dZwh76BI6laYOwBrThm46u56k)
Title: Re: LambdaSpeak FS
Post by: GUNHED on 02:48, 10 March 21
Small update of software (RAM RSX now cleared of a bug). New firmware.
Title: Re: LambdaSpeak FS
Post by: zhulien on 16:17, 10 March 21
for me for some reason the lambdaspeak software update doesn't work, does it work for anyone else?
Title: Re: LambdaSpeak FS
Post by: GUNHED on 00:25, 11 March 21
Quote from: zhulien on 16:17, 10 March 21
for me for some reason the lambdaspeak software update doesn't work, does it work for anyone else?
Which LS do you use? You have the LS3, right?
What exactly is the problem?
Please describe!  :) :) :)
Title: Re: LambdaSpeak FS
Post by: zhulien on 08:28, 11 March 21
sorry I should have said the download link doesn't work within your signature.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 13:49, 11 March 21
Quote from: zhulien on 08:28, 11 March 21
sorry I should have said the download link doesn't work within your signature.
Ah, well. Yes, that's a bit of a wiki forum problem I guess. Try something like "Save link as..." or copy & paste the link. I have the same problem with Chrome too. But it's out of my hands.
In the worst case goto www.futureos.de (http://www.futureos.de) - there to downloads and scroll down.

For the LS3: Lots of new software for the LFS will work there too (of course), but we will need a bit of time to catch up with LS3 DSKs. At the moment we got serial communication and MIDI on the plate.

Thanks a lot for your interest and support!  :) :) :)  Feedback is always a gem.  :) :) :)
Title: Re: LambdaSpeak FS
Post by: GUNHED on 22:57, 17 March 21
Did somebody use the RAM RSX expansion?
Were there problems?
(Recent version I mean)
Title: Re: LambdaSpeak FS
Post by: GUNHED on 16:19, 18 March 21
Quote from: GUNHED on 22:57, 17 March 21
Did somebody use the RAM RSX expansion?
Were there problems?
(Recent version I mean)
Seems the the problem was one of the M4 card. Maxam creates binaries with file-length=0. This is a problem when using file copy of the M4 card. I suggest (MiguelSky) to load/save the file by hand, this way the file length is added to the file-header.

News:
The new update has an expanded manual and the first batch of commands for serial communication. I will test the commands during the coming week on real hardware.

Get your LambdaSpeak FS PCB...
RetroCPC did ask me if this is doable. Well, I can ship a bare PCB to anybody. This is 5 Euros for postage and PCB. Let me know during the next couple of days. Later on I will order parts and then they shall fit to the number of remaining PCBs.  :)
Title: Re: LambdaSpeak FS
Post by: GUNHED on 19:31, 19 March 21
Great, nobody wants PCBs, then I start working on the 10 units...
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 19:36, 19 March 21
I think that's because by now everybody knows how to order Gerbers from one of these Seeed-alike PCB maker services and can make them themselves for little money. So there is no need for a "man in the middle" in that sense anymore.

Like these Russian dudes that grabbed the LS3 Gerbers from the Github and are selling it on Chipkin.ru:

https://chipkin.ru/product/pechatnaya-plata-14/ (https://chipkin.ru/product/pechatnaya-plata-14/)

I am sure your assembly services will be valued much more! It takes a lot of time effort and skill to make one of these.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 20:01, 19 March 21
Quote from: VintageAdvantage on 19:36, 19 March 21
I am sure your assembly services will be valued much more! It takes a lot of time effort and skill to make one of these.
Well, I hope you can help me with this... What I would need is a plan which describes which part is which and where it come. And of course where to buy them. IIRC you do have that all.  :)  Meanwhile I do the 'Drahtbrücken'.  ;) :) :laugh:
Title: Re: LambdaSpeak FS
Post by: GUNHED on 22:49, 20 March 21
Quote from: zhulien on 08:28, 11 March 21
sorry I should have said the download link doesn't work within your signature.
Works now. Update is up.  :)
Title: Re: LambdaSpeak FS
Post by: MiguelSky on 12:00, 26 March 21
I got some trouble in making the card pronounce correctly stressed syllables in Spanish as it uses a predictive way of pronunciation quite accurate but not for all words as you can type the accented vowels in CPC. I sorted this issue by using double vowel or hyphens, depending on the word structure. Just in case someone else bump into the same problem.
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 00:46, 29 March 21
Quote from: MiguelSky on 12:00, 26 March 21
I got some trouble in making the card pronounce correctly stressed syllables in Spanish as it uses a predictive way of pronunciation quite accurate but not for all words as you can type the accented vowels in CPC. I sorted this issue by using double vowel or hyphens, depending on the word structure. Just in case someone else bump into the same problem.
Like all automatic text-2-speech algorithms, the Spanish Epson parser that translates into DECtalk phonemes uses rules and heuristics, and these sometimes fail. That also happens in English mode btw.

In any case, the acceptable codes should just be standard ASCII (is that ISO-LATIN1?) :

áéíóúüñ  -> E1 E9 ED F3 FA FC F1
so each ASCII character with 8. bit set (> 127) needs to be sent in HEX using \x??.
Hence, the following should in principle work in |spanish |epson mode, but as I said, the parser can make mistakes: 

\xE1, ..., \xF1

Title: Re: LambdaSpeak FS
Post by: GUNHED on 12:45, 29 March 21
Also it's fun to let tell the LS pseudos like "AST" or "PDT"...  :P
Title: Re: LambdaSpeak FS
Post by: GUNHED on 13:15, 08 April 21
The RSX ROM for LSF was slightly changed. Now it does NOT reset the LS at initialization. Because some games need the SSA1 mode or the dk'tronics mode. Well, these games just initialize all ROMs and this does of course also init the LS ROM - and this in turn would reset the LS.

Now, all speech games will work without unplugging the RSX ROM.

Let me know in case there is a problem.

Download as usual ... see my signature or goto downloads at www.futureos.de (http://www.futureos.de)
Title: Re: LambdaSpeak FS
Post by: GUNHED on 13:08, 13 April 21
The new Firmware version 8 is out for LambdaSpeak FS. Enhancements in the serial communication, MIDI and so on. Please update your  ATmega 644 CPU. The new RSX ROM does support it. Here is the firmware file...
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 02:32, 14 April 21
And here is the first MID file player for the CPC:

https://www.youtube.com/watch?v=hgxb1jFQXZo (https://www.youtube.com/watch?v=hgxb1jFQXZo)

:)

Update: Folks also asked for Speak&SID and LambdaSpeak 3, so here it goes.
Who likes Bach?

https://youtu.be/VYSfdv_Bce8
https://youtu.be/DupxDnYlKGM

Title: Re: LambdaSpeak FS
Post by: XeNoMoRPH on 10:07, 14 April 21
Eeeeeeh, update firmware for my powerful  LS3?  :o :o :o
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 15:35, 14 April 21
Quote from: XeNoMoRPH on 10:07, 14 April 21
Eeeeeeh, update firmware for my powerful  LS3?  :o :o :o
Not necessarily...the same should already work with LS3 since 2019  ;) I'll try with the LS3 and post a video soon. It should just work. Check out the MIDISYN.BAS program on the LS3.DSK.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 23:17, 14 April 21

Quote from: XeNoMoRPH on 10:07, 14 April 21Eeeeeeh, update firmware for my powerful  LS3?  :o :o :o

There will be one, we're still testing some 'news'  :) :) :)

Simple Terminal program for LSF, see LSF DSK 2 in my downloads, or here:
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 05:46, 21 April 21
Quote from: GUNHED on 23:17, 14 April 21Simple Terminal program for LSF, see LSF DSK 2 in my downloads, or here:

Oh that's great, finally my CPCs can chat with each other!

https://youtu.be/yyLCA3sauxY (https://youtu.be/yyLCA3sauxY)

Thanks much, great work! I had to remove the "CLEAR INPUT" in line 340 for the 464 though.
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 01:42, 22 April 21
Enough with all that classical piano B***S*** music for intellectuals  :P
Let's hear some real music from the CPC  ;D 8)
https://youtu.be/eS8sM_TLJnQ


Title: Re: LambdaSpeak FS
Post by: RetroCPC on 02:26, 22 April 21
Brilliant Midi controller in full swing :) great work :)

Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 02:48, 22 April 21
Thank you!

In principle yes... but there is still a bit of work to do  ;) See, the MIDI data is streamed into the CPC from the PC currently, and then echoed into the MIDI module.

This experiment shows that the interface and the CPC is fast enough to also, in principle, process complex MIDI songs. What we now need to do is record the incoming MIDI messages, associate each message with some time stamp info (e.g., FrameFly Ticker Counter value Delta from the previous MIDI message), write them into CPC RAM as they arrive, and write them to disk. Then, "MIDI record" the MIDI data streamed from the PC over USB MIDI into the CPC - a song such as Van Halen or Descent  2. Once recorded, we would like to play these MIDI messages back from RAM, utilizing the timestamp info we added. Not sure how much MIDI message data the CPC RAM can hold (well, we have memory expansions). In any way, the CPC should be fast enough to record and play back the MIDI message data in realtime, also for complex scores. The recorder and playback machine code programs still need to be written.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 12:48, 22 April 21
Yes, or have a kind of 'converter' maybe?
Title: Re: LambdaSpeak FS
Post by: GUNHED on 16:03, 22 April 21

Thanks to Michael, we got FW9 now.
Firmware 9 tested and verified. Better serial communication (file attached).
Please see my pages download for new updates too if you like.
Title: Re: LambdaSpeak FS
Post by: RetroCPC on 16:14, 22 April 21
Quote from: GUNHED on 12:48, 22 April 21
Yes, or have a kind of 'converter' maybe?

"Intelligent" MIDI repeater :D
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 16:15, 22 April 21
Quote from: GUNHED on 12:48, 22 April 21
Yes, or have a kind of 'converter' maybe?
Well, the converter would be a full-blown "MID" file player. Something that can just play back the standard MID files from the CPC and stream out the MIDI.

Here it is a bit simpler - the MID file is played by the PC and output as MIDI messages into the CPC via the USB -> MIDI PC Interface. The CPC would only have to record these (with timestamp information) into memory and play them back from there. A kind of "real time sequencer". I think this is easier to implement on the CPC than a full-blown MID player. But you are the expert, you will see when you get to it  ;)
Or there could be a PC Program (e.g., in Python) that writes out a CPC Assembler Program for a song. I believe this is what Arkos Tracker does (not sure it can write MIDI CPC Songs though). Python has lots of libraries for dealing and parsing MID files.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 16:23, 22 April 21
Quote from: VintageAdvantage on 16:15, 22 April 21
Well, the converter would be a full-blown "MID" file player. Something that can just play back the standard MID files from the CPC and stream out the MIDI.
Yes, that's what we need.

Quote from: VintageAdvantage on 16:15, 22 April 21Here it is a bit simpler - the MID file is played by the PC and output as MIDI messages into the CPC via the USB -> MIDI PC Interface. The CPC would only have to record these (with timestamp information) into memory and play them back from there. A kind of "real time sequencer". I think this is easier to implement on the CPC than a full-blown MID player. But you are the expert, you will see when you get to it  ;)
Or there could be a PC Program (e.g., in Python) that writes out a CPC Assembler Program for a song. I believe this is what Arkos Tracker does (not sure it can write MIDI CPC Songs though). Python has lots of libraries for dealing and parsing MID files.

The question is: How much memory would this effort take up?
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 16:41, 22 April 21
Quote from: GUNHED on 16:23, 22 April 21
Yes, that's what we need.

The question is: How much memory would this effort take up?

I don't think that much - van Halen MID File has only 45 KBs. So, if you only record the essential MIDI Messages with the CPC, (plus Timestamp added - something similar is also already in the MID file, but not represented in the MIDI messages when they arrive of course!), then it should just fit fine into the CPC memory. An some of the MIDI messages we would not need to record either.

As you year, something like van Halen MID file is reallly the creme de lá creme de lá creme of MID files. There are much more simpler and still great sounding MID files that have onl 24 KBs.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 01:08, 23 April 21
Would a 'record' of the 45 KB MID file (with timestamps) be smaller?
Title: Re: LambdaSpeak FS
Post by: RetroCPC on 03:44, 23 April 21
If my memory serves me correct (bare in mind is was back in 1984 or some such) - the Music Machine for the CPC had a Midi sequencer, I used it with a Cheetah Midi keyboard.

http://www.cpcwiki.eu/index.php/Music_Machine


A quick search and I can only find a MP3 file of the program tape - not sure if a DSK file version of the software is available anywhere...

The Music Machine's great as it has an ADC - if we where to recreate one we could use a modern 16b Audio ADC and dither down to 8bits with a small FPGA...
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 06:45, 23 April 21
Quote from: RetroCPC on 03:44, 23 April 21The Music Machine's great as it has an ADC - if we where to recreate one we could use a modern 16b Audio ADC and dither down to 8bits with a small FPGA...

Great idea in principle, just not sure what it would entail for the firmware. Would sampling need some extra RAM (EEPROM?) on board? The CPC doesn't have a lot of space for high-quality samples. LambdaSpeak 3 had 128 KB SPI EEPROM for PCM Sample memory.

I saw a replica of the Music Machine on Ebay, btw. Somebody is selling the PCBs.
https://www.ebay.com/itm/114671480943?hash=item1ab2f3f06f:g:xV0AAOSw4UVgH-FO (https://www.ebay.com/itm/114671480943?hash=item1ab2f3f06f:g:xV0AAOSw4UVgH-FO)

Unfortunately, the ATMega is also almost full... it seems such a project needs a more capable MCU?

Regarding old MIDI Sequencer programs for the CPC - I am a bit skeptical that they are really capable. For example, did it support MIDI track playback and simultaneous MIDI in sequencing / recording? And then, the polyphony... and multiple tracks of instruments. I have doubts that any of the existing CPC MIDI programs could reproduce something like the Jump! MID above. Did the MUSIC Machine software produce its own sounds, or require a MIDI module?
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 07:03, 23 April 21
Regarding the Music Machine, it has some limitiations:

http://www.cpcwiki.eu/imgs/c/c7/Music_Machine_Manual.pdf (http://www.cpcwiki.eu/imgs/c/c7/Music_Machine_Manual.pdf)

- for example, Page 28:
  (e) Using a MIDI Synthesizer, you may play 2 MIDI Machines notes simultaneously
- on Page 36:  The total [PCM sample] duration is 1.2 seconds  (24 KBs of RAM left)

Our MIDI AY CPC demo program uses all 3 AY voices (plus 3 more with Speak&SID from the SID chip... work in progress) 

So much for polyphony  ;)
Well, the AY has only 3 voices, and it seems you can also play a PCM Sample over MIDI. Of course, this is monophone... the Amdrum allowed for up to 3 PCM voices to be mixed together "on the fly" if I remember correctly. So this is a bit more limited than the Amdrum wrt PCM playback it seems.

Well, it's a cool device for sure, for the time, but has severe limitations.

The biggest drawback regarding MIDI IMHO is that you cannot really playback any standard MID files with it. This is what I am looking for. AS there are so many fun MIDs available. Nobody wants to use a clunky slow CPC editor to input some 3channel MIDI song by hand or one note at a time with a step sequencer (not realtime recording).

Besides, if you would add a chip such as the VS1053B (https://www.ebay.com/itm/264461148135?var=564137559943) then you would also have a GM MIDI synthesizer on board. This is what SymbiFace 3 has. For MP3, but they can also do MIDI. AFAIK, they stream the MIDI from the SDcard though, not from the CPC, which basically turns it into a SDcard MIDI jukebox then? Not sure that's the case. MIDI is only interesting if it is being generated / processed by the CPC IMHO, and not coming from SDcard which the firmware of the expansion card accesses.And, unlike MP3, for MIDI it is a realistic option that the CPC generates / streams it, and not only initiates a "playback from SDcard" command to the firmware. For MP3, the file sizes are of course prohibitive from a CPC point of view. So SDcard-based MP3 playback it is, like in LambdaSpeak. Even with 4 MB CPC memory expansion it would be insane of trying to attempt to playback / stream MP3 from the CPC memory  :) PCM samples and MIDI are a different story IMHO - see Amdrum, Music Machine, .... 
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 16:08, 23 April 21
Quote from: GUNHED on 01:08, 23 April 21Would a 'record' of the 45 KB MID file (with timestamps) be smaller?

Not sure. The MID format is pretty compact.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 19:59, 23 April 21
Quote from: VintageAdvantage on 07:03, 23 April 21
Our MIDI AY CPC demo program uses all 3 AY voices (plus 3 more with Speak&SID from the SID chip... work in progress) 
Actually it would be great if the 6 voices of the PlayCity can be added too. It's very easy to use them. Just like the AY, but write data direct (not via PIO). Maybe an idea to think about?  :)
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 21:12, 23 April 21
Quote from: GUNHED on 19:59, 23 April 21
Actually it would be great if the 6 voices of the PlayCity can be added too. It's very easy to use them. Just like the AY, but write data direct (not via PIO). Maybe an idea to think about?  :)
I didn't realize it's that easy. However, I am using ENVs controlled by the firmware... not sure how easy it is to have the firmware control PlayCity ENVs? I could probably use the hardware ENVs of the AY, that should be easier. Anybody has a BASIC code example for making a "Bell-like" (decaying) sound with PlayCity, using a hardware ENV?

NOTE: Speaking of which... I think I never really tried any of the AY's hardware ENV's in the CPC. Because I think it's impossible, given that the firmware controles the volume / ENVs, and hence would overwrite any hardware ENV volume control? Anybody know more? I guess it is as easy as writing some OUT commands to some registers in order to check if we can enable the AY's hardware ENVs. I'll try that at some point.

https://k1.spdns.de/Develop/Hardware/Infomix/ICs%20computer/IO%2C%20DMA%2C%20Timer/Sound/AY8910%2C%20AY8912%20PSG/psg.html (https://k1.spdns.de/Develop/Hardware/Infomix/ICs%20computer/IO%2C%20DMA%2C%20Timer/Sound/AY8910%2C%20AY8912%20PSG/psg.html)

@TotO (https://www.cpcwiki.eu/forum/index.php?action=profile;u=290) can you let me know what the preferred (simple) way of using ENVs with PlayCities AY is? Is the interupt counter to be used for this, or will simple hardware ENVs work? Thank you. A simple BASIC program would help that shows how to set up a harware ENV.
Title: Re: LambdaSpeak FS
Post by: Animalgril987 on 19:01, 25 April 21
@VintageAdvantage (https://www.cpcwiki.eu/forum/index.php?action=profile;u=3600)  Hardware Envelopes can be specified in both BASIC ( ENV command) and firmware ( SOUND_AMPL_ENVELOPE (CALL &BCBC))
:D


Alan.
Title: Re: LambdaSpeak FS
Post by: Nemo59 on 21:27, 25 April 21
Could this work with a CPC+ ?
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 01:44, 26 April 21
Quote from: Animalgril987 on 19:01, 25 April 21@VintageAdvantage  Hardware Envelopes can be specified in both BASIC ( ENV command) and firmware ( SOUND_AMPL_ENVELOPE (CALL &BCBC))

Thanks Alan / @Animalgril987 (https://www.cpcwiki.eu/forum/index.php?action=profile;u=3936) , but that wasn't the question  ;)
Beside, Firmware and "ENV" in BASIC is the same, and that's a "software envelope", NOT a hardware envelope. And obviously, the CPC Firmware cannot controll the PlayCity envelopes, so my suspicion is it is easiest to use the hardware envelopes from the chip (that don't require programming) rather than setting up an interupt counter for periodic volume changes and such. 
Title: Re: LambdaSpeak FS
Post by: Animalgril987 on 19:01, 26 April 21
@VintageAdvantage (https://www.cpcwiki.eu/forum/index.php?action=profile;u=3600) , I quote from the CPC464 User Manual (Chapter 8, page 15 in the 2nd Edition):


" The second form specifies an envelope section to be executed directly by the sound hardware, where
<hardware envelope> is the value to be set into the envelope shape register (register at, octal).
<envelope period> is the value to be set into the envelope period registers (registers 13 & 14, octal)."


The registers mentioned are the PSG HARDWARE envelope control registers.


Alan.
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 21:33, 26 April 21
Quote from: Animalgril987 on 19:01, 26 April 21
@VintageAdvantage (https://www.cpcwiki.eu/forum/index.php?action=profile;u=3600) , I quote from the CPC464 User Manual (Chapter 8, page 15 in the 2nd Edition):


" The second form specifies an envelope section to be executed directly by the sound hardware, where
<hardware envelope> is the value to be set into the envelope shape register (register at, octal).
<envelope period> is the value to be set into the envelope period registers (registers 13 & 14, octal)."


The registers mentioned are the PSG HARDWARE envelope control registers.


Alan.
Thanks @Animalgril987 (https://www.cpcwiki.eu/forum/index.php?action=profile;u=3936)  / Alan. Indeed, I wasn't aware that you can use the firmware (&BCBC) to define hardware envelopes (and not only software envelopes, which is the usual use case for &BCBC), given that this is straightforward for the AY even without the firmware support. Well, for the CPC, to get to the AY one has to go over the PIO, so maybe &BCBC helps a bit for that.

In any way, I'll probably just use the firmware then for the CPC AY hardware envelopes, and have to figure out how to write the AY registers directly for PlayCity. Shouldn't be difficult (and actually easier than going over the PIO for the CPC's AY).

I am currently using &BCBC for software envelopes for the CPC MIDI Synth, but I am going to change that so that both the CPC AY and the PlayCity will use (the same) hardware envelopes then.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 22:58, 26 April 21
This still got nothing to do with the PlayCity though. But back to LambdaSpeak FS ...
Title: Re: LambdaSpeak FS
Post by: GUNHED on 19:52, 28 April 21
New firmware, new software. See Michaels and my homepages please.


Comments are always welcome.   :)
Title: Re: LambdaSpeak FS
Post by: RetroCPC on 01:35, 29 April 21
Quote from: VintageAdvantage on 07:03, 23 April 21
Regarding the Music Machine, it has some limitiations:

http://www.cpcwiki.eu/imgs/c/c7/Music_Machine_Manual.pdf (http://www.cpcwiki.eu/imgs/c/c7/Music_Machine_Manual.pdf)

- for example, Page 28:
  (e) Using a MIDI Synthesizer, you may play 2 MIDI Machines notes simultaneously
- on Page 36:  The total [PCM sample] duration is 1.2 seconds  (24 KBs of RAM left)

Our MIDI AY CPC demo program uses all 3 AY voices (plus 3 more with Speak&SID from the SID chip... work in progress) 

So much for polyphony  ;)
Well, the AY has only 3 voices, and it seems you can also play a PCM Sample over MIDI. Of course, this is monophone... the Amdrum allowed for up to 3 PCM voices to be mixed together "on the fly" if I remember correctly. So this is a bit more limited than the Amdrum wrt PCM playback it seems.

Well, it's a cool device for sure, for the time, but has severe limitations.

The biggest drawback regarding MIDI IMHO is that you cannot really playback any standard MID files with it. This is what I am looking for. AS there are so many fun MIDs available. Nobody wants to use a clunky slow CPC editor to input some 3channel MIDI song by hand or one note at a time with a step sequencer (not realtime recording).

Besides, if you would add a chip such as the VS1053B (https://www.ebay.com/itm/264461148135?var=564137559943) then you would also have a GM MIDI synthesizer on board. This is what SymbiFace 3 has. For MP3, but they can also do MIDI. AFAIK, they stream the MIDI from the SDcard though, not from the CPC, which basically turns it into a SDcard MIDI jukebox then? Not sure that's the case. MIDI is only interesting if it is being generated / processed by the CPC IMHO, and not coming from SDcard which the firmware of the expansion card accesses.And, unlike MP3, for MIDI it is a realistic option that the CPC generates / streams it, and not only initiates a "playback from SDcard" command to the firmware. For MP3, the file sizes are of course prohibitive from a CPC point of view. So SDcard-based MP3 playback it is, like in LambdaSpeak. Even with 4 MB CPC memory expansion it would be insane of trying to attempt to playback / stream MP3 from the CPC memory  :) PCM samples and MIDI are a different story IMHO - see Amdrum, Music Machine, ....

The original fairlight sampler had less then a second or so of sampling memory, and its pretty much responsible for the age of electronic sampled music...

Its said that Drum samples require less about 100ms... sounds a little short to me, but then it gives an idea...

Personally I like the idea that the CPC is doing the real work (sampling), rather then just acting as a controller...

The VS1053B an interesting chip – you have to wonder how many of such oddball chips coming out of Finland are a result of the Nokia shutdown and redundancy funds then pumped into small startups... Not knocking them, but it must be hard when your located in Finland to get much global market penetration – especially when Asia is your target market for such designs...


The Finair cabin crew used to visit our "local" Irish pub in downtown Guangzho China (Paddy fields) – lets just say they where always "good fun" and I have many fond memories and leave it at that – not sure I'd trust to fly with them...


I'm currently fighting a PCB design, once its out of the way then I'll have time to "play"  :)


Title: Re: LambdaSpeak FS
Post by: RetroCPC on 01:41, 29 April 21
Quote from: GUNHED on 19:52, 28 April 21
New firmware, new software. See Michaels and my homepages please.


Comments are always welcome.   :)

Can you please post a link to the mention home page? :)
Title: Re: LambdaSpeak FS
Post by: XeNoMoRPH on 09:15, 29 April 21
this sites are under GUNHED´s signature

Quotehttp://futureos.de (http://futureos.de) --> Get the revolutionary FutureOS (Recent update: 2021.01.24)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip (http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip) --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.04.27)
and this other one:
https://github.com/lambdamikel/LambdaSpeak-FS (https://github.com/lambdamikel/LambdaSpeak-FS)
Title: Re: LambdaSpeak FS
Post by: GUNHED on 15:27, 29 April 21
Yes, it's in my signature. And I try to keep the date-stamp there updated, so you see if it makes sense to update from there.  :)
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 20:17, 29 April 21
Quote from: RetroCPC on 01:35, 29 April 21The original fairlight sampler had less then a second or so of sampling memory, and its pretty much responsible for the age of electronic sampled music...

That was because of 24bit PCM sample quality I believe. Samples could have been longer with 8 Bit PCM. I am not sure if 8bit came with the Fairlight 2? Memory / RAM was expensive back then.

History wise - I think that *at least* 50 % of the credit for creating sampling-based synthesizer technology should go to Wolfgang Palm, who created the PPG 340/380 at about the same time (or earlier) than Fairlight. The Synclavier guys also deserve quite a bit of credit here as well:

http://www.ppg.synth.net/340380/ (http://www.ppg.synth.net/340380/)

http://wolfgangpalm.com/story/ (http://wolfgangpalm.com/story/)

Later came the WaveComputer 360A and then the PPG Wave 2.0, which many of us will know. Then came Waldorf, the Wave and the MicroWave. Wolfgang Palm also invented Wave Table Synthesis,  which is more advanced than simple PCM-sample playing. But his first machines were simple PCM-based sample players AFAIK. That all happened in my hometown, Hamburg, so we are very proud of Wolfgang ;-)

Quote
Its said that Drum samples require less about 100ms... sounds a little short to me, but then it gives an idea...

That's probably true for all but cymbal rides and cymbal crashes that are decaying a long time. For LambdaSpeak 3 and its samples, most samples take ~10 KB, with the exception of the above (~ 40 KBs). The 128 KBs of EEPROM on LS3 are just enough to hold a full drum set in decent quality. Wouldn't fit in the 464 memory.

Quote
Personally I like the idea that the CPC is doing the real work (sampling), rather then just acting as a controller...

Me too. But memory... and it also opens up the possibility of doing things like a PCM-based pattern sequencer / drum computer from BASIC, like here:

https://www.youtube.com/watch?v=M7aI7KLEi1s (https://www.youtube.com/watch?v=M7aI7KLEi1s)

Title: Re: LambdaSpeak FS
Post by: RetroCPC on 03:45, 30 April 21
WRT the Fairlight I was accidentally careful to say "sampled music" as  a quick read of the links it appears that the PPG 340/380 used wave synthases (earlier design seemed to based on more traditional oscillator type designs) there seems to be no mention of PCM sampling - not sure about the synclavier, but really interesting as its the first I've heard Wolfgang Palm... which is sad I guess!

I've schematics somewhere for the early fairlight (they are available on the internet - a French guy seems involved with legacy support IIRC) where 8bit sampling - with later fairlight 3 being 16bits, not sure there was ever a 24bit fairlight...

Back to the CPC :) I think CPU power is more limiting them memory for higher quality samples - 8bit with decent dither can give surprisingly good results, so the question is whats more important higher sample rate or greater bitdepth.... (sure ideally both - but we are living in the world of the Z80)...  Unless we are back to the CPC just being a controller of some kind!

There is something very endearing about the AmDrum - maybe I'm just being nostalgic :)

It be interesting to try using a say a 24bit ADC and dither down to 8bits with a small FPGA and see if it offered a noticeable improvement over the simple 8bit ADC used in the musicMachine... would give us manageable sized audio samples for the CPC.
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 07:05, 30 April 21
Quote from: RetroCPC on 03:45, 30 April 21
WRT the Fairlight I was accidentally careful to say "sampled music" as  a quick read of the links it appears that the PPG 340/380 used wave synthases (earlier design seemed to based on more traditional oscillator type designs) there seems to be no mention of PCM sampling - not sure about the synclavier, but really interesting as its the first I've heard Wolfgang Palm... which is sad I guess!
Maybe I am wrong. My understanding is that a WaveTable is basically a set of PCM Sample Waveforms (of the same length). They are very short admittedly, 128 samples in the original, and that x64. And then there is interpolation performed as one cycles through the set of waveforms, over time, creating interesting "morphs" and harmonics. So it's a superset of simple PCM sample playing AFAIK (with shorter samples, but more of them to create temporal variations of the waveforms via interpolation).

https://en.wikipedia.org/wiki/Wavetable_synthesis (https://en.wikipedia.org/wiki/Wavetable_synthesis)

It's the sound of early Tangerine Dream; the PPG Wave 2 is one of the most iconic synths ever:

https://youtu.be/9bZ_VGFi5X0 (https://youtu.be/9bZ_VGFi5X0)

So beautiful and unique in its sonic characteristics.

https://youtu.be/8JpfHt8CiPk (https://youtu.be/8JpfHt8CiPk)
Quote
I've schematics somewhere for the early fairlight (they are available on the internet - a French guy seems involved with legacy support IIRC) where 8bit sampling - with later fairlight 3 being 16bits, not sure there was ever a 24bit fairlight...
You are right, I misread - 24 kHz! Wow, but it had 208 KBs according to Wikipedia... what did they do with all the RAM?? That should have held more than 1.5 seconds... well maybe the OS needed the rest :-)

Quote
Back to the CPC :) I think CPU power is more limiting them memory for higher quality samples - 8bit with decent dither can give surprisingly good results, so the question is whats more important higher sample rate or greater bitdepth.... (sure ideally both - but we are living in the world of the Z80)...  Unless we are back to the CPC just being a controller of some kind!

There is something very endearing about the AmDrum - maybe I'm just being nostalgic :)

It be interesting to try using a say a 24bit ADC and dither down to 8bits with a small FPGA and see if it offered a noticeable improvement over the simple 8bit ADC used in the musicMachine... would give us manageable sized audio samples for the CPC.
Certainly worth trying, give it a go! The more music hardware for the CPC, the better!  :)
Title: Re: LambdaSpeak FS
Post by: VintageAdvantage on 20:36, 30 April 21
Quote from: RetroCPC on 03:45, 30 April 21but really interesting as its the first I've heard Wolfgang Palm... which is sad I guess!

Here is a bit more about Wolfgang

https://youtu.be/8Qk9RHOuzUA (https://youtu.be/8Qk9RHOuzUA)

https://youtu.be/3ntDgDU6ClM (https://youtu.be/3ntDgDU6ClM)
https://www.youtube.com/watch?v=vLDt5V4CGMQ
Title: Re: LambdaSpeak FS
Post by: GUNHED on 18:40, 02 May 21
IMHO 8 bit dept for CPC is just perfect. For anything else... we still can start a MP3.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 19:42, 06 May 21
Complete MIDI setup for 80 US Dollars...
https://www.youtube.com/watch?v=_gF5pupP_6o
Title: Re: LambdaSpeak FS
Post by: RetroCPC on 20:38, 06 May 21
Very interesting chips...

What do you think of the SAM5504B?

https://www.dream.fr/devices.html#S2 (https://www.dream.fr/devices.html#S2)

https://www.dream.fr/pdf/Serie5000/SAM_Datasheets/SAM5504B.pdf

Has SPDIF input  / output and DAC interface - now I'd be happy to design hardware for the CPC if you could support the software...
Title: Re: LambdaSpeak FS
Post by: GUNHED on 02:15, 07 May 21
Honestly, that's new for me. I need to read that.

Just hope that you and Michael can create an TextToSpeech replacement for a decent price. Seems that the promotion is over, and won't come back in time.

'Everything Speech & Sound' is getting more and more interesting on CPCs now.  :) :) :)
Title: Re: LambdaSpeak FS
Post by: TotO on 07:00, 07 May 21
Quote from: RetroCPC on 20:38, 06 May 21
Very interesting chips...
What do you think of the SAM5504B?
It is used into the Dream Blaster (X2) expansion sold by SerdaShop. (I have bought one using the 2295 for tests 5 years ago)
The board is designed to be used with a Wave Blaster connector to extend the audio capabilities of any PC sound board or compatible (Atari ST MIDI, ...). The Dream IC are tiny and can't be soldered outside an industrial process.
Title: Re: LambdaSpeak FS
Post by: RetroCPC on 09:10, 07 May 21
Quote from: GUNHED on 02:15, 07 May 21Dream Blaster (X2)
Quote from: GUNHED on 02:15, 07 May 21Just hope that you and Michael can create an TextToSpeech replacement for a decent price. Seems that the promotion is over, and won't come back in time.

I just tried to order some S1V30120F01A100 today from Mouser and they have non in stock - next delivery expected September 28 2021!!!!

I'll try other vendors, but they are not common parts...

The worldwide IC situation is getting really critical - I'm not sure what we can do if we cannot purchase the IC's...
Title: Re: LambdaSpeak FS
Post by: GUNHED on 14:14, 07 May 21
No problem, till September it's only four months, just a bit time to enhance the software for LS.  :)
Most of us are old, times are passing quickly.  ;) :laugh:
Title: Re: LambdaSpeak FS
Post by: Animalgril987 on 17:09, 07 May 21
Quote from: GUNHED on 14:14, 07 May 21Most of us are old, times are passing quickly.   
The older we are, the more quickly the time passes :(
Title: Re: LambdaSpeak FS
Post by: GUNHED on 15:48, 14 May 21
Using the LambdaSpeak FS and the relatively cheap Chill 2 board you get more than a keyboard + synthesizer. Take a look if you like MIDI...


https://www.youtube.com/watch?v=kcRic3ZGMYw
Title: Re: LambdaSpeak FS
Post by: eto on 17:19, 14 May 21
Is the CPC playing the .MID files or still the PC that sends the .MID to the CPC?
Title: Re: LambdaSpeak FS
Post by: RetroCPC on 10:07, 15 May 21
Really impressive - as soona s ai complete the current PCB I'm working on I plan to contact Dream and see whats possible - I'd like to use there later SAM5xxx series IC's as we can then easily make a CPC "Sound card" that outperforms the Roland box :)
Title: Re: LambdaSpeak FS
Post by: GUNHED on 20:07, 17 May 21
Oh, I need to ask, because we just developed an expanded serial mode, so I got distracted.
Title: Re: LambdaSpeak FS
Post by: RetroCPC on 21:53, 17 May 21
Any more details on the extended serial mode?
Title: Re: LambdaSpeak FS
Post by: GUNHED on 17:44, 18 May 21
Quote from: RetroCPC on 21:53, 17 May 21
Any more details on the extended serial mode?
See Github...

https://github.com/lambdamikel/LambdaSpeak-FS
Title: Re: LambdaSpeak FS
Post by: GUNHED on 00:23, 26 May 21
Hello dear LFS users...

For the LambdaSpeak FS there is now Firmware 10 and an updated RSX ROM for it.
The update is about the serial connection / protocol, which is now more save. (see my homepage).

If you need you ATMega644 updated with new Firmware, I can do that for you of course :-)

A new batch of 10 boards is nearly ready btw.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 15:44, 02 June 21
Is there any interest in XMODEM transfers using the serial port?
Title: Re: LambdaSpeak FS
Post by: HAL6128 on 19:18, 02 June 21
You mean the CP/M tool XMODEN? It's nice to transfer files via Putty to the CPC. Why not?
Title: Re: LambdaSpeak FS
Post by: GUNHED on 20:59, 02 June 21
Quote from: HAL 6128 on 19:18, 02 June 21
You mean the CP/M tool XMODEN? It's nice to transfer files via Putty to the CPC. Why not?
For today I added to the ROM for LFS just two new commands, to transfer data using XMODEM protocol:

|S.XBLK: The command '|S.XBLK,address,length' will send a memory area to the serial port using XMODEM. The parameter 'address' defines the start address in RAM and 'lenght' defines the number of 128 byte blocks.

|R.XBLK: This command '|R.XBLK,address' is used to receive data via XMODEM and to store it in RAM at 'address'.

Attention: Before using commands '|S.XBLK' and '|R.XBLK' please switch the LSF into serial mode! Stable up to 14400 baud, tomorrow I'll make it even faster.  :)
Title: Re: LambdaSpeak FS
Post by: GUNHED on 16:01, 14 July 21
Today, eventually I got the Click2Speech Boards, so the next 10 units of LFS are nearly ready to be shipped. First I want to get the 3.5" male 2 male though, to add them to the LFS. Then I will thoroughly test every unit. The price will be around 55-60 Euros plus shipping. I don't know exactly yet.


If you want an unit let me know, and I will put you to the preorder list (see first post).
Title: Re: LambdaSpeak FS
Post by: RetroCPC on 12:15, 15 July 21
Great news, I suggest anyone considering a unit to grab one while they are available - as the world-wide semiconductor situation is really really critical, almost any new IC orders are "52 weeks+" which means we have no idea when we can provide stock.

I'm constantly get requests for help with sourcing or help / suggestions with redesign... but its like chasing your tail, redesign a new part in and it or something else becomes 52 weeks plus lead times...

Title: Re: LambdaSpeak FS
Post by: GUNHED on 13:39, 15 July 21
That's exactly how it is. 'Waiting times' for chips are crazy!


BTW: Does somebody know where to find very short cables with two male plugs (3,5mm jacks)?
Title: Re: LambdaSpeak FS
Post by: SkulleateR on 13:54, 15 July 21
Quote from: GUNHED on 13:39, 15 July 21
BTW: Does somebody know where to find very short cables with two male plugs (3,5mm jacks)?
20 cm is the shortest I know of : https://kurze-kabel.de/epages/7fc6aa8e-47e1-451f-b7e8-d9a53c078722.sf/de_DE/?ObjectPath=/Shops/7fc6aa8e-47e1-451f-b7e8-d9a53c078722/Products/E01 (https://kurze-kabel.de/epages/7fc6aa8e-47e1-451f-b7e8-d9a53c078722.sf/de_DE/?ObjectPath=/Shops/7fc6aa8e-47e1-451f-b7e8-d9a53c078722/Products/E01)
Title: Re: LambdaSpeak FS
Post by: eto on 14:12, 15 July 21
Quote from: GUNHED on 13:39, 15 July 21Does somebody know where to find very short cables with two male plugs (3,5mm jacks)?

How short and how cheap should it be?
Title: Re: LambdaSpeak FS
Post by: genesis8 on 14:15, 15 July 21
Ymodem would be safer (better error control, not adding characters at end of file so it is a multiple of 128 like on the Notepad) and better as it can send the name of the file, beware of the different of ymodem implementation (like xmodem though : checksum, crc, 1K...)
Title: Re: LambdaSpeak FS
Post by: GUNHED on 13:57, 16 July 21
Quote from: SkulleateR on 13:54, 15 July 2120 cm is the shortest I know of : https://kurze-kabel.de/epages/7fc6aa8e-47e1-451f-b7e8-d9a53c078722.sf/de_DE/?ObjectPath=/Shops/7fc6aa8e-47e1-451f-b7e8-d9a53c078722/Products/E01 (https://kurze-kabel.de/epages/7fc6aa8e-47e1-451f-b7e8-d9a53c078722.sf/de_DE/?ObjectPath=/Shops/7fc6aa8e-47e1-451f-b7e8-d9a53c078722/Products/E01)

Thanks for the link. But 6 Euros is much money (for the buyers).
Eventually I got one for 2 Euros per piece with golden contacts.

Quote from: genesis8 on 14:15, 15 July 21
Ymodem would be safer (better error control, not adding characters at end of file so it is a multiple of 128 like on the Notepad) and better as it can send the name of the file, beware of the different of ymodem implementation (like xmodem though : checksum, crc, 1K...)

On a short distance 5 Volt serial protocol XMODEM is great, because it works with 128 byte blocks and the protocol is clearly defined. Adding characters is no problem on the CPC, because it operates with 128 byte records (on disc) and these blocks get filled up using &1A anyway.
In addition it's 'spoken' by nearly everything.  :)

However, to add YMODEM is no deal and no problem.  :)  Which one (exactly) do you want? I will add it for file transfer if you like.



Just estimated the final price of the LFS per unit: 55,44 Euros
Title: Re: LambdaSpeak FS
Post by: GUNHED on 14:09, 16 July 21
Well, this was a double post, but since I can't delete it I try to say something meaningful...  :picard:  Waiting...  :picard2:


Let's say... One fully tested and working LFS including shipping will be 57 Euro.

Two more units can be ordered right now. Then they're sold out again.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 14:27, 23 July 21
Good news: Got a dozen of 4 GB SD-cards for cheap. They will be my present of all new LFS customers, including prefilled MP3s (just to demonstrate the MP3 jukebox).  :)
Title: Re: LambdaSpeak FS
Post by: genesis8 on 14:55, 23 July 21
Quote from: GUNHED on 13:57, 16 July 21

However, to add YMODEM is no deal and no problem.  :)  Which one (exactly) do you want? I will add it for file transfer if you like.


Ymodem CRC 1k as seen in http://pauillac.inria.fr/~doligez/zmodem/ymodem.txt (http://pauillac.inria.fr/~doligez/zmodem/ymodem.txt)
Ymodem-g seems a bit too much for the CPC ?
Zmodem would be a dream of course
Title: Re: LambdaSpeak FS
Post by: GUNHED on 15:16, 30 July 21
Just a little pcb and you got full MIDI power...


https://www.youtube.com/watch?v=pALPSsPMABM
Title: Re: LambdaSpeak FS
Post by: GUNHED on 11:50, 02 August 21
And now the Midi recorder and the MIDI player...


https://www.youtube.com/watch?v=5fY1LYohHOA


Oh, btw. the new batch of LFS is finally ready to be shipped... (waited for cables from GB a long time eventually).
Title: Re: LambdaSpeak FS
Post by: zhulien on 03:19, 03 August 21
Quote from: GUNHED on 20:59, 02 June 21
For today I added to the ROM for LFS just two new commands, to transfer data using XMODEM protocol:

|S.XBLK: The command '|S.XBLK,address,length' will send a memory area to the serial port using XMODEM. The parameter 'address' defines the start address in RAM and 'lenght' defines the number of 128 byte blocks.

|R.XBLK: This command '|R.XBLK,address' is used to receive data via XMODEM and to store it in RAM at 'address'.

Attention: Before using commands '|S.XBLK' and '|R.XBLK' please switch the LSF into serial mode! Stable up to 14400 baud, tomorrow I'll make it even faster.  :)


Why not |SUCK and |BLOW?  My Amstrad used to like sucking people's d*** (data). 

Title: Re: LambdaSpeak FS
Post by: zhulien on 03:24, 03 August 21
Any chance for a companion board that could be external to the Mx4 bus - as likely only needs power... with like 4 or 6 stereo 3.5mm inputs, and 1 stereo 3.5mm output - all mixed so we can use CPC audio, Speech Synth + mp3 board, PlayCity and future audio items at once without constant plugging / unplugging... if on the Mx4 bus, would bluetooth audio out be possible to sync with headphones?
Title: Re: LambdaSpeak FS
Post by: GUNHED on 15:39, 03 August 21
Quote from: zhulien on 03:19, 03 August 21
Why not |SUCK and |BLOW?  My Amstrad used to like sucking people's d*** (data).
Because SUCK is another protocol compared to XMODEM (see Vortex SIO documentation). No, this is not a joke - SUCK and BLOW do have a defined protocol.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 15:44, 03 August 21
[ot]/ OFF TOPIC...

Quote from: zhulien on 03:24, 03 August 21
Any chance for a companion board that could be external to the Mx4 bus - as likely only needs power... with like 4 or 6 stereo 3.5mm inputs, and 1 stereo 3.5mm output - all mixed so we can use CPC audio, Speech Synth + mp3 board, PlayCity and future audio items at once without constant plugging / unplugging... if on the Mx4 bus, would bluetooth audio out be possible to sync with headphones?

That's a great idea. I always wanted a little sound mixer for 5x 3.5" in and one single out - going to the stereo you what you want. Would be awesome to have such a thing!!!

/ BACK TO TOPIC...[/ot]
Title: Re: LambdaSpeak FS
Post by: zhulien on 08:38, 04 August 21
How is a companion software not off topic, but a companion hardware off topic?   as great as the Llambdaspeak is, i need multiple sets of speakers to hear everything... i have 6 speakers on my desk for 1 CPC and still cannot hear everything.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 18:43, 04 August 21
Quote from: zhulien on 08:38, 04 August 21
How is a companion software not off topic, but a companion hardware off topic?
You choose.  :) :) :) :) :)  No offense, IMHO such a board is even more needed, not only as companion board. It would have a great general advantage. As you mentioned the PlayCity before.



Quote from: zhulien on 08:38, 04 August 21... as great as the Llambdaspeak is, i need multiple sets of speakers to hear everything... i have 6 speakers on my desk for 1 CPC and still cannot hear everything.

Well, the MP3 Player part of the LFS or the Speech/PCM part of the LFS can be fit into the Sound-In port of the LFS of course. They do lead to the internal sound pin of the expansion port. So somehow everything
can be listened to by the internal speaker.

Of course it would be great (as told) to have a small sound mixer center for the CPC. But IMHO not as expansion. One can use a commercial one for example, even if I wouldn't know where to get a suitable one. But that's another topic.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 18:46, 04 August 21
:) :) :)  Few LambdaSpeak FS left. Please PM me to order one!  :) :) :)
Title: LambdaSpeak FS and the MIDI super module...
Post by: GUNHED on 14:22, 13 August 21
The X2GS on the LFS:


https://www.youtube.com/watch?v=KVlNmBkiy2Y
Title: Re: LambdaSpeak FS
Post by: RetroCPC on 15:25, 14 August 21
Nive demo,

Did you interface the X2GS via MIDI or GPIO?
Title: Re: LambdaSpeak FS
Post by: GUNHED on 00:20, 15 August 21
Quote from: RetroCPC on 15:25, 14 August 21
Nive demo,

Did you interface the X2GS via MIDI or GPIO?


It's via the Tx pin (and 5V + GND), so via the serial inerface.
Title: Re: LambdaSpeak FS
Post by: RetroCPC on 13:15, 15 August 21
Is the serial interface in "MIDI" format?
Title: Re: LambdaSpeak FS
Post by: GUNHED on 18:58, 15 August 21
Quote from: RetroCPC on 13:15, 15 August 21
Is the serial interface in "MIDI" format?
Yes the serial interface of the LambdaSpeak FS can be set to the MIDI baud rate too.
(see handbook in the download section of my homepage for baud rates and more).
Title: Re: LambdaSpeak FS
Post by: GUNHED on 14:26, 18 August 21
The MP3 player of the LambdaSpeak FS (or LambdaSpeak III) seems to exist in two versions. They look identical, but may have different firmware (or similar).

The difference is seen when using the command !MP3PLAYF to play a complete folder of MP3s from the SD card. The needed command sequence does need a 2 or a 0 at one position.

To solve this problem meanwhile I uploaded the first LFS DSK with a &00 and a &02 tag.
See which ROM will get the job done for you.
The difference is only one byte (&00 or &02)


Download, see my signature...
Title: Re: LambdaSpeak FS
Post by: GUNHED on 15:15, 10 November 21
BTW, There's one unit of the LambdaSpeak FS on Ebay now:
https://www.ebay.de/itm/265391147915?hash=item3dca8b8b8b:g:ULQAAOSwVlFhg966

I post that here, because it will take some more time (months) to have new units ready.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 19:06, 21 December 21
Using all at one stereo.... https://www.youtube.com/watch?v=WqpzhZWvH4M
Title: Re: LambdaSpeak FS
Post by: asertus on 19:40, 21 December 21
Quote from: GUNHED on 15:15, 10 November 21I post that here, because it will take some more time (months) to have new units ready.

Actually, is there a new batch foreseen in the near future? Actually I am also interested in a playcity if available anywhere.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 23:17, 21 December 21
Quote from: asertus on 19:40, 21 December 21
Actually, is there a new batch foreseen in the near future? Actually I am also interested in a playcity if available anywhere.
Well, I don't know about the PlayCity, it has it's own thread, see there:
https://www.cpcwiki.eu/forum/amstrad-cpc-hardware/playcity-aka-ctc-ay-(mx4)-for-august-!!!/

This is the LambdaSpeak FS thread. And I'm working currently on a new small batch. Only the RTCs are missing.


With a 4x mixer I can use:
- CPCs 3,5mm Audio-Out
- LambdaSpeak (Speech and PCM)
- LambdaSpeak (MP3 Player)
- PlayCity (two more sound chips!)
all at the same time and in the same setup.
No need to plug in / out cables any longer.  :) :) :)
Title: Re: LambdaSpeak FS
Post by: asertus on 19:10, 22 December 21
@GUNHED (https://www.cpcwiki.eu/forum/index.php?action=profile;u=2029) , can I join to the list for that batch? If it is late, please for the next.




Thanks.
Title: Re: LambdaSpeak FS
Post by: GUNHED on 17:37, 23 December 21
Quote from: asertus on 19:10, 22 December 21
@GUNHED (https://www.cpcwiki.eu/forum/index.php?action=profile;u=2029) , can I join to the list for that batch? If it is late, please for the next.
With pleasure, I'll PM you for details.


Guess one last LFS is now still available.

Title: Re: LambdaSpeak FS
Post by: zhulien on 15:43, 24 December 21
Awesome audio mixer... are they a stand alone mixer or part of a new lambdaspeak revision?
Title: Re: LambdaSpeak FS
Post by: GUNHED on 01:36, 25 December 21
Quote from: zhulien on 15:43, 24 December 21
Awesome audio mixer... are they a stand alone mixer or part of a new lambdaspeak revision?
No, that's standalone, just a good idea in general.
For myself I got this one here:
https://www.ebay.de/itm/154753011124?_trkparms=ispr%3D1&hash=item2407ff8db4:g:duAAAOSwvo5hFhgq&amdata=enc%3AAQAGAAAC4PYe5NmHp%252B2JMhMi7yxGiTJkPrKr5t53CooMSQt2orsStEKTPzZMfQmny3knR97t0OREjTmg%252BKzpF4vvxm49o55H9bKUJJj2kr6c4Ltzsxj8RBNmEzBudK41i4bh521zr2A6Iz81QPHscSVuRfw%252BLdnIku76LdVPo8xdAh6vZ%252FZP3NzOQi0WjbehPbFPjrEeMIMayQhMOgIsO6CuA2D809OIepiV4M8ovd%252FRls%252Bc%252Fi4NjUfAHYmkuQCVyuSMJcKiAMS%252FF8fWNXf1VFjC1ZsNDQ%252B84IVzbItrBUwmXEVZ7h3tXJTRsi9iUhmj4qRsnwW6Pq7usVeH%252BCuwoaXm1n9qbdPtPHe65sRemzO7eu5gnB9dV6He9HGKt2alt6wDuw%252FJx%252BAcGWwz3hcnbx6TWCau4%252BWCQFal2mC15IFzJpYBr7r8rnZLWsshz%252By94jU9rvlI26phNpHALPHg%252Ff2nnbL9wn7lGI2kepIb8rFySomaT%252BMfd2q0Ww02HjCRMbjamRNogon6Q58a44LW4LscfhyYmM5lZDbXHm%252FJHCdP9hRSngacdnGnxGePMPoGeY8g2KLZo1LeU5KRaha3h06vwEIvxF7y%252BZR1E64Q%252F54r6Z2%252FlIVKUxdibDEcY0cy1u4MV4dhc3HV511ZaQI0J240GnT3mkJ9K1%252F%252BRy0V1IxWPFGfzt2ZNnuitNbgwgLI2L%252BT9kQ8odIR6s2xzEVZ1XucTfXv2j4y06W4rp8UcB%252B%252FyY3iCGRJX2VPbFAwthdw7T40YSq1Hjum3ZvpX8PQ4%252B%252FSnW8sq9pQA4MqHne84udcRGFgKC3tF3QgEpgHv81myt9ggAcV9lEL0UVPcJm0pnRL3eiTqZ%252FgTWQ68f3LpDzE9m%252Bu6WuHai2cVy6Sm5FQ%252FJ%252FiDQ5syiw7aP2mPhMPFag517s0BT53pU2098pTjqFDYy%252BWze5xRStLi%252BfvGEeji%252F9X0G%252Bo92XTlqiG5kGpy5XFizMt1J0%253D%7Cclp%3A2334524%7Ctkp%3ABFBMxKC6v7pf
Title: Re: LambdaSpeak FS
Post by: GUNHED on 15:14, 25 December 21
Update of the ROM for LambdaSpeak FS released (minor updates only).
- Two versions of the ROM for the two versions of the MP3 player, so !MP3PLAYF shall work (either one or the other ROM). They sell the MP3 players, but they have two variants, can't be seen easy when buying.
- Command !BIGWATCH does activate the 'eXtra blocking for dialogues now', so the command will work more often (after using the LFS for crazy stuff).
Title: Re: LambdaSpeak FS
Post by: zhulien on 19:20, 05 January 22
I wonder if one of the voice recognition modules would work at the back of lambdaspeak?


https://www.youtube.com/watch?v=zCEYxSdYBcA
Title: Re: LambdaSpeak FS
Post by: GUNHED on 20:06, 07 January 22
Quote from: zhulien on 19:20, 05 January 22
I wonder if one of the voice recognition modules would work at the back of lambdaspeak?
Fun thing you mention that, just an hour ago I had a talk with SlartiBartfast (German CPC Forum) about having Skype on CPC. So, the video just shows what's missing. Thanks for the video! Looking at the contacts of the card it shall run with LambdaSpeak, but I will try to find out more.  :)
Title: Re: LambdaSpeak FS
Post by: GUNHED on 13:41, 02 March 22
Are you interested in one unit of the LambdaSpeak FS for cheap?

I have one board here for 20 Euro + postage.
You need to buy the Text2Speech module by yourself (I ran out of them).
Also the MP3 player is connected by a small cable, not soldered on the board.

PM or Email me :-)
Title: Re: LambdaSpeak FS
Post by: zhulien on 10:05, 13 March 22
I received the suggested audio mixer the other day, i will let you all know how good (or bad) it is soon.
Title: Re: LambdaSpeak FS
Post by: entelle42 on 14:05, 22 April 22
Quote from: GUNHED on 13:41, 02 March 22Are you interested in one unit of the LambdaSpeak FS for cheap?

I have one board here for 20 Euro + postage.
You need to buy the Text2Speech module by yourself (I ran out of them).
Also the MP3 player is connected by a small cable, not soldered on the board.

PM or Email me :-)

Hello, I'm interested by one unit of LFS, I PM you. Which Text2Speech module do you suggest ? Thank you
Title: Re: LambdaSpeak FS
Post by: GUNHED on 00:08, 29 April 22
Hi, got your message - Thanks! Will come back to you soon.

The used module is this here:
https://www.mikroe.com/text-to-speech-click

At the moment it's at $46, before it was usually at $39.
We bought some for $20 (and later $30) when they had a promotion.

Hoping they will drop the price soon again.  :)
Title: Re: LambdaSpeak FS
Post by: TotO on 04:28, 29 April 22
When the IC alone is sold 8€ for 1pcs on Mouser, yes the current module price is excessive today.

Title: Re: LambdaSpeak FS
Post by: GUNHED on 00:25, 01 May 22
True this!  :)
Title: Re: LambdaSpeak FS
Post by: Maitresinh on 08:18, 21 March 23
Just to know if there would be another batch or if someone would sell a mounted PCB of the lambdaspeak.
By the way, if i have to build mine, i'm only interested in vocal synth and midi sync, not in the MP3 stuff. In this cas, do i have to buy and mount the MP3 component to make it work ? Wich part of the BOM can i forget ?
Title: Re: LambdaSpeak FS
Post by: GUNHED on 11:46, 21 March 23
You don't need to add the little MP3 module if you don't want it.

It's a good idea to ask for more people being interested in a batch, hopefully you can find somebody to do it. I don't have enough time any longer to make a 3rd one. (In addition the text2speech click board is expensive now, I hope they reduce the price soon).

The programmed CPU and GAL I can send you. (PM / email me in this case) 
Title: Re: LambdaSpeak FS
Post by: GUNHED on 19:31, 07 November 23
Attention! The data for the MP3 Player SD card can be found here now:

https://mega.nz/file/UNhwEDhZ#jnHrJKxGoyFJUUk-gf7yxcMBe9gYhJwK2SCAh8EsBFE (https://mega.nz/file/UNhwEDhZ#jnHrJKxGoyFJUUk-gf7yxcMBe9gYhJwK2SCAh8EsBFE)
Powered by SMFPacks Menu Editor Mod