Difference between revisions of "CSC111 Lab 5 2014"

From dftwiki3
Jump to: navigation, search
(First JES Program)
(First JES Program)
Line 26: Line 26:
 
* [[Media:guitar.wav | guitar.wav]] -->
 
* [[Media:guitar.wav | guitar.wav]] -->
 
<br />
 
<br />
==First JES Program==
+
==Writing Your First JES Program==
 
<br />
 
<br />
 
* Open JES
 
* Open JES

Revision as of 19:27, 25 February 2014

--D. Thiebaut (talk) 18:16, 25 February 2014 (EST)


JES


SoundWave.jpg


Download JES

JESicon.png
  • Download JES 4-3 to your computer from https://code.google.com/p/mediacomp-jes/downloads/list.
  • If you are running Windows, pick jes-4-3.exe. Once downloaded, click on the exe file to start JES.
  • If you are running Mac OS X, pick jes-4-3-mac.zip, click on the downloaded zip file. Then click on the extracted file to start JES.





Download a Sound File


  • Download the following file to your computer:


Writing Your First JES Program


  • Open JES
  • Type the following program in the top window:


file = pickAFile()
sound = makeSound( file )
blockingPlay( sound )


JES1.png


  • click on "Load Program" and save the program in the folder of your choice (a good place would be where you saved the Force.wav file).