Difference between revisions of "CSC111 JES Page on Sound Processing"

From dftwiki3
Jump to: navigation, search
(Created page with "--~~~~ ---- =Reference= * [http://www.csc.depauw.edu/~bhoward/courses/0304Winter/ref/ JES's reference page from Depauw University] =If you want to install JES on your perso...")
 
Line 5: Line 5:
 
* [http://www.csc.depauw.edu/~bhoward/courses/0304Winter/ref/  JES's reference page from Depauw University]
 
* [http://www.csc.depauw.edu/~bhoward/courses/0304Winter/ref/  JES's reference page from Depauw University]
  
=If you want to install JES on your personal Windows computer=
+
=Installation=
 +
==If you want to install JES on your personal Windows computer==
 
If you want to install JES on your Windows laptop or computer, you can get Jes from the [http://code.google.com/p/mediacomp-jes/downloads/list Google code] web site.  Grab the 3.2.1 version for Windows and install it on your Windows machine.
 
If you want to install JES on your Windows laptop or computer, you can get Jes from the [http://code.google.com/p/mediacomp-jes/downloads/list Google code] web site.  Grab the 3.2.1 version for Windows and install it on your Windows machine.
  
=If you want to install JES on your personal Mac=
+
==If you want to install JES on your personal Mac==
 
Jes for the Mac is available on [http://code.google.com/p/mediacomp-jes/downloads/list Google code].  Get Jes 3.2.1 for the Mac, open the zip file, and move the '''JES 3.2.1.app''' to your '''Applications''' folder.
 
Jes for the Mac is available on [http://code.google.com/p/mediacomp-jes/downloads/list Google code].  Get Jes 3.2.1 for the Mac, open the zip file, and move the '''JES 3.2.1.app''' to your '''Applications''' folder.
 +
 +
=Example 1: Playing Sound Files=
 +
 +
* In the JES program area, type in the following main() function:
 +
 +
<source lang="python">
 +
 +
file = pickAFile()
 +
sound = makeSound( file )
 +
blockingPlay( sound )
 +
 +
 +
</source>
 +
 +
* Save the file as '''sound1.py'''
 +
* Click on '''Load Program'''
 +
* In the interactive area, type
 +
 +
* When prompted for a sound file, select '''thisisatest.wav''' in the '''Sound Files''' folder.
 +
* Make sure the speakers are on, but not too loud and listen to the sentence being played. 
 +
* Try one or two other sound files.

Revision as of 20:14, 23 February 2014

--D. Thiebaut (talk) 20:12, 23 February 2014 (EST)


Reference

Installation

If you want to install JES on your personal Windows computer

If you want to install JES on your Windows laptop or computer, you can get Jes from the Google code web site. Grab the 3.2.1 version for Windows and install it on your Windows machine.

If you want to install JES on your personal Mac

Jes for the Mac is available on Google code. Get Jes 3.2.1 for the Mac, open the zip file, and move the JES 3.2.1.app to your Applications folder.

Example 1: Playing Sound Files

  • In the JES program area, type in the following main() function:
file = pickAFile()
sound = makeSound( file )
blockingPlay( sound )
  • Save the file as sound1.py
  • Click on Load Program
  • In the interactive area, type
  • When prompted for a sound file, select thisisatest.wav in the Sound Files folder.
  • Make sure the speakers are on, but not too loud and listen to the sentence being played.
  • Try one or two other sound files.