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

  • From: <kperry@xxxxxxxxxxxxx>
  • To: <raspberry-vi@xxxxxxxxxxxxx>
  • Date: Fri, 1 Jan 2021 00:28:34 -0500

Ah Hmm  did I actually type it in upper case.  Leave it to me  to do
something like that.  

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

Hi Ken,

Your instructions worked except that the sam command is in lower case and I
had to do ./sam To run the synthesizer. 

Pranav
-----Original Message-----
From: raspberry-vi-bounce@xxxxxxxxxxxxx <raspberry-vi-bounce@xxxxxxxxxxxxx>
On Behalf Of kperry@xxxxxxxxxxxxx
Sent: Friday, January 1, 2021 5:43 AM
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

=========================================================== 
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: