[raspberry-vi] Re: SAM on Raspberry PI how-to

  • From: Dan Miner <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "dminer84" for DMARC)
  • To: <raspberry-vi@xxxxxxxxxxxxx>
  • Date: Thu, 31 Dec 2020 22:13:35 -0700

Oh my... I owned SAM for the C64 back in the 1980s.  Changing BASIC programs
to talk and such.. It was lots of fun.

I'm going to definitely look at this and see how small and reasonable it
might be.  It would be awesome to get a super simple TTS into something like
GRUB boot loader and such systems to get the actual boot process accessible.
Internationalization will be a trick but just getting a prototype working
would be most encouraging.

        Dan


-----Original Message-----
From: raspberry-vi-bounce@xxxxxxxxxxxxx <raspberry-vi-bounce@xxxxxxxxxxxxx>
On Behalf Of kperry@xxxxxxxxxxxxx
Sent: Thursday, December 31, 2020 5:13 PM
To: raspberry-vi@xxxxxxxxxxxxx
Subject: [raspberry-vi] SAM on Raspberry PI how-to

I have done this the most simple way.  I could have installed and configured
sdl library but to keep this simple here is how to build get and build sam
on the rasbion install

 

Sudo apt-get install git 

 

Mine already had git installed so no big if you run the above line it will
just tell you, you have the newest  already. Next do:

Git clone https://github.com/s-macke/SAM

 

Cd SAM

 

Now edit the Makefile.  I did it with Nano Use control+shift+_ to goto line
or for as many lines you could just arrow down.   First go to line 6 and 7
and comment them.  Then go to line 10 and 11 and uncomment them.  I saved by
control x + y

 

Next just do make

 

It should build and leave you with a sam.  You can rad the README.MD or you
can just try by doing

 

Sam -wav hello.wav  Hello world.

 

There are all kinds of other settings and stuff but the above line will make
a wav file that you can play with 

 

Aplay hello.wav

 

Ken

 



===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and
attitudes expressed by the subscribers to this list do not reflect those of
the Foundation.

Mike Ray, list creator, January 2013


=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: