distopik / node-audio-asio Goto Github PK
View Code? Open in Web Editor NEWincubation -- Node interface to Steinberg ASIO
License: MIT License
incubation -- Node interface to Steinberg ASIO
License: MIT License
I'm building a Music Sequencer using nodejs, using the Web Audio API, but im running into latency issues. Would node-audio-asio help me out with this? For example how would I get access to the the users asio driver? Usually when working in a DAW it pops up as a green notification in the taskbar. Can you give me any advice with this?
`const nodeAsio = require('node-audio-asio'),
samplesPerBlock = 256,
bitsPerSample = 24,
sampleRate = 44100,
channelBufferLen = samplesPerBlock * bitsPerSample / 8,
buf = new Buffer(channelBufferLen),
initial = [buf, buf]
const asioErr = nodeAsio.initAsio({
driver: 'ASIO4ALL v2',
sampleRate,
bitsPerSample,
samplesPerBlock,
endianess: 'little',
inputChannels: [0], // first channel
outputChannels: [0, 1] // first two channels
});
nodeAsio.start(initial, function(bufs) {
// bufs[0] contains the recorded samples
// TODO: what we return here are will be
// propagated to the output
return [buf, buf]
})
//Music sequencer code...., but how to access ASIO Driver from here??
nodeAsio.stop()
nodeAsio.deInit()`
asiosample.lib
fileSource.cpp
asioInit
to init
asioTest.js
)README.md
so that it will list how to get the Steinberg sources and where to put themnpm link
information tooA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.