![View this Page](../schemes/poor/viewie.gif)
![Edit this Page](../schemes/poor/edit.gif)
![Attachments to this Page](../schemes/poor/upload.gif)
![History of this Page](../schemes/poor/history.gif)
![Home](../schemes/poor/top.gif)
![Recent Changes](../schemes/poor/recent.gif)
![Search the Swiki](../schemes/poor/search.gif)
Technology
Assignment List
Turnin Definitions
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?
Getting setup
Jython Environment for Students (JES)
A Senior Design team has taken on the development tool for students, JES.
Jason Ergle | gte044x |
Claire Bailey | gte227i |
David Raines | gte173i |
Joshua Sklare | gt9654a |
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.
- 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 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.
BackgroundCloser.java
JavaSound.java
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
- 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
Version 2: All features available. Now with javadoc!
JavaPicture.java
JavaPixel.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.
Jython 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.
MediaTools
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 (awilson@cc.gatech.edu) is taking on the creation of the MediaTools for a Senior Research project.
MediaTools Development
ExampleMediaToolsImage.zip
Some notes: MediaToolsPlans.html
JavaPicture.java
JavaPixel.java
Links to this Page