audio-graph
Graph of connected audio streams
Last updated 3 years ago by dfcreative .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install audio-graph 
SYNC missed versions from official npm registry.

AudioGraph is StreamGraph with audio streams as nodes, see @audiojs org. The purpose of audio-graph is to manage connection scheme of audio streams, that is to load, save, export, import, manage connections, maintain different stream types, persistent PCM settings,

It's main purpose is model for audio-lab

Usage

npm install audio-graph

var Graph = require('audio-graph');
var Speaker = require('audio-speaker');
var Generator = require('audio-generator');

//create graph
let graph = Graph([[Generator({
	duration: 2
}), Speaker()]], {

});

//export graph as js code with streams2 approach
graph.export({format: 'js', type: 'stream2'})

//import graph from json
graph.import(str, {format: 'json'})

//

Related

audiojs — audio stream components for javascript. tolstoy — graph structure with ascetic API.
evented-graph — graph emitting mutator events.
stream-graph — graph of connected streams.
signal-flow graph

Current Tags

  • 2.0.0                                ...           latest (3 years ago)

2 Versions

  • 2.0.0                                ...           3 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (6)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |