JSyn
: Documentation
| Examples
| Download
| Beta
| Support
| Apps
| Press
| Events
Docs
: Releases
| Compiling
| Programmers Guide
| JavaDocs
| UnitGens
This old API is deprecated. Please use the new API instead!
Installing, Compiling, and Running JSyn on Linux
Installing Developer Package
-
Enter: tar zxvf jsyn142a_linux386_sdk.tar.gz
Here are instructions for using Borland JBuilder
with JSyn
Compiling and Running a Simple JSyn Program using the SUN JDK
-
CD to the"jsyn/usercode" directory in the JSyn SDK.
-
To compile and run the test program, enter: gmake
-
You should see a small window open with a "Beep" button. Click on the button
to hear a random beep.
-
For more help, enter: gmake help
Writing Your Own JSyn Programs
Let's assume we are creating a new program called "Boing".
-
You can make new JSyn programs by making a copy of the "TJ_Beep.java" file
in the usercode directory and modifying it. You will need to change the
name of the public class in the file to match the file name. For, example,
the "public class Boing" must be defined in a file called "Boing.java".
-
To compile it, enter: gmake mystuff
-
To run it, enter: gmake mystuff.Boing
-
You can also copy examples from the directory "jsrc/JSynExamples" into
the user directory. If you do this, change the "package JSynExamples" declaration
at the top of the file to "package mystuff".