hydra-synth / hydra-examples Goto Github PK
View Code? Open in Web Editor NEWExamples for using hydra within atom
Examples for using hydra within atom
Getting the message: "[HYDRA] OSC server exited with code null" whenever I try to evaluate .setPort() in Atom. I'm running with v1.7.2 of Tidal Cycles.
Uncaught Error: (regl) webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org
/Users/macbook/.atom/packages/atom-hydra/node_modules/regl/dist/regl.js:49
Show Stack Trace
The error was thrown from the atom-hydra package. This issue has already been reported.
I tried the ignore black list command. Is there any other way around this
When I attempt to run this simplified code:
// uses argument as variables in hydra
freq = 10
msg.on('/test', (args) => {
freq = args[0]
console.log(args[0])
})
osc(() => freq)
.out()
from the osc.js example I get the following error:
Uncaught ReferenceError: freq is not defined
at Array.osc (eval at _eval (main.js? [sm]:4), <anonymous>:1:11)
at Object.typedArg.value (/Volumes/500GB/Users/carltesta/.atom/packages/atom-hydra/node_modules/hydra-synth/src/GeneratorFactory.js:63)
at Object.draw (eval at compile (/Volumes/500GB/Users/carltesta/.atom/packages/atom-hydra/node_modules/regl/dist/regl.js:5549), <anonymous>:345:11)
at Object.REGLCommand [as draw] (/Volumes/500GB/Users/carltesta/.atom/packages/atom-hydra/node_modules/regl/dist/regl.js:9435)
at passes.forEach (/Volumes/500GB/Users/carltesta/.atom/packages/atom-hydra/node_modules/hydra-synth/src/output.js:158)
at Array.forEach (<anonymous>)
at Output.tick (/Volumes/500GB/Users/carltesta/.atom/packages/atom-hydra/node_modules/hydra-synth/src/output.js:158)
at HydraSynth.tick (/Volumes/500GB/Users/carltesta/.atom/packages/atom-hydra/node_modules/hydra-synth/index.js:303)
at Engine.<anonymous> (main.js? [sm]:187)
at emitOne (events.js:116)
at Engine.emit (events.js:211)
at Engine.tick (/Volumes/500GB/Users/carltesta/.atom/packages/atom-hydra/node_modules/raf-loop/index.js:42)
What am I missing?
If i use this settings
OSC resend to other port (and it works) but sound mutes. This way gives osc for visualising sound and no sound.
How to fix it to sound be played and osc be sended?
A 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.