The current plan is to use the programming language Jython (http://www.jython.org) in the course, which is a Java-based version of Python (http://www.python.org).
What can you do with this?
Jython Environment for Students (JES)
A Senior Design team has taken on the development tool for students, JES.
These are the initial plans I gave them: JESplans.html
Team Jes's work to date: JES Development
Feel free to give us feedback.
Java media wrappers
We need some low-level Java code to access media.
Version 3 Ran into a problem when playing multiple sounds – needed to drain the audio line, but that leads delays, so this one does it as a background thread, while adding blocking versions, too.
- Code to load a sound, get and set samples, play a sound (at different rates), save the sound as a file for reuse in some application: Sound.java (this version does everything but saving) Version 2 JavaSound.java (this one DOES save! HOORAY!)
Version 4:Accepts durations, too. Rates work, too. And you can now concatenate sounds – setting a sample past the length extends the length – WooHoo! JavaSound.java
Version 2: All features available. Now with javadoc!
- Code to load an image, get and set pixels, show the image, save it as an external file. (this version gets pixels, but can't set or show yet): OldPicture.java
July 11: Uploaded latest versions of JavaPixel.java (fixed an x,y access problem), JavaSound.java (fixed a problem with playing files larger than a single buffer's size – Java was dropping bytes again), and the wrappers.
The Jython media classes will use the Java wrappers developed above, and will provide a safe (i.e., lots of error checking) interface for students.
Version 1: Audio examples working. media.py examples.py
Version 2: All examples working on What can you do with this? and included in the two files.
A Squeak-based set of tools for:
- Viewing sounds (as signals and sonograms)
- Recording sounds and saving as WAV or AIFF (for use in programs)
- Turning MPEGs into series of JPEGs for manipulation
- Turning series of JPEG frames into JPEG-movies for viewing
Adam Wilson (firstname.lastname@example.org) is taking on the creation of the MediaTools for a Senior Research project.
Some notes: MediaToolsPlans.html
Links to this Page