public class GraphPlayer extends Object implements Runnable
UGen or Inject, attaches it to an AudioServer
and plays it. Use create(org.jaudiolibs.pipes.graph.Graph) and a
GraphPlayer.Builder to create and configure a GraphPlayer.| Modifier and Type | Class and Description |
|---|---|
static class |
GraphPlayer.Builder
A builder for a GraphPlayer
|
| Modifier and Type | Method and Description |
|---|---|
static GraphPlayer.Builder |
create(Graph graph)
Create a builder for a GraphPlayer for the provided graph.
|
void |
run()
Run the graph player on the current thread.
|
void |
shutdown()
Trigger the GraphPlayer to shutdown.
|
void |
start()
Start a maximum priority thread and run this player on it.
|
public void run()
public void start()
public void shutdown()
public static GraphPlayer.Builder create(Graph graph)
graph - to build a player forCopyright © 2020. All rights reserved.