Skip to content

Pure Data for Android with libpd and Oboe

License

Notifications You must be signed in to change notification settings

simonnorberg/kortholt

Repository files navigation

Kortholt Android CI Maven Central

Pure Data for Android with libpd and Oboe.

Features
Audio output
Audio input
MIDI

Build

git clone https://github.com/simonnorberg/kortholt.git
cd kortholt
git submodule update --init --recursive
./gradlew build

Usage

val kortholt = context.kortholt
// Load a Pure Data patch
kortholt.openPatch(R.raw.test, "test.pd")

// Start the audio output stream
kortholt.startStream()

// Send messages to libpd
kortholt.sendBang("play")

// Stop the audio output stream
kortholt.stopStream()

// Close the Pure Data patch
kortholt.closePatch()

See Sample for detailed usage.

Download

repositories {
    mavenCentral()
}
dependencies {
    implementation("net.simno.kortholt:kortholt:3.2.0")
}

License

Copyright 2019 Simon Norberg

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.