GithubHelp home page GithubHelp logo

philburk / jsyn Goto Github PK

View Code? Open in Web Editor NEW
220.0 15.0 61.0 1.82 MB

Modular audio synthesizer library with unit generators in Java

Home Page: http://www.softsynth.com/jsyn

License: Apache License 2.0

Shell 0.18% Java 99.70% HTML 0.11%
java jsyn synthesizer

jsyn's Introduction

JSyn

JSyn is a modular audio synthesizer for Java by Phil Burk.

You can use JSyn to create unit generators, such as oscillators, filters, and envelopes. Units can be connected together and controlled in real-time from a Java program.

More information about JSyn, including documentation, is at:

http://www.softsynth.com/jsyn/

Pre-compiled JSyn JAR files are at:

http://www.softsynth.com/jsyn/developers/download.php

The JSyn source code is available at:

https://github.com/philburk/jsyn

Using JSyn in Your Project

If your project is not using gradle then build or download the JSyn jar file and add it to your classpath. See Build section below.

If you are using gradle then you can simply add a dependency on JSyn to your project. The easiest way is to use jitpack to add the latest release from GitHub.

For Groovy gradle files use:

repositories {
    maven { url  "https://jitpack.io" }
}

dependencies {
    implementation "com.github.philburk:jsyn:latest.release"
}

The syntax is slightly different if you are using ".kts" files.

repositories {
    maven { url = uri("https://jitpack.io") }
}

dependencies {
    implementation("com.github.philburk:jsyn:latest.release")
}

Building JSyn

You can build JSyn using either Ant or Gradle.

Note that if you clone the repository then you will end up with a folder called "jsyn". But if you download the ZIP file it will be called "jsyn-master".

Build Using Ant

You may need to install Ant first. On Mac you can do:

brew install ant

Then enter:

cd jsyn   # or jsyn-master
ant

The resulting jar will be placed in "dist/lib/".

To run the built-in test App on a desktop, enter something like this:

java -jar dist/lib/jsyn-20230410.jar

but with the correct date.

To create javadocs enter:

ant doc

Build Using Gradle

Enter:

cd jsyn   # or jsyn-master
./gradlew assemble

The resulting jar will be placed in "build/libs/". To run the built-in test App on a desktop, enter something like this:

java -jar build/libs/jsyn-17.1.0.jar

but with the correct version.

Test Using Gradle

To run the unit tests, enter:

cd jsyn
./gradlew test

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.