generativefm / generators Goto Github PK
View Code? Open in Web Editor NEWA collection of generative music pieces for generative.fm
License: MIT License
A collection of generative music pieces for generative.fm
License: MIT License
Or possibly eliminate depending on generativefm/issues#1
Hey Alex,
Firstly, I just wanted to say how great this (these repos) are. I was able to get samples set up locally, and have been playing around the some of the existing pieces you've created.
I was wondering if there is an existing pattern for manipulating pieces using Tone.js as they are playing via the activate method you provide.
For example, I begin playing a piece, and then can apply effects to it via some user input.
Thanks again!
As a reference to mmazzarolo/breathly-app#77 and jg-l/justBreathe#4 it could be said that the 4-chord loop, or 3-chord loops, are the most useful in establishing music that aid in breath training.
Issues:
I'm attempting to import a piece using the same code in the README. However, it appears the makePiece
is never completing and reaching the promise. I've messed around with a few permutations of the code but can't seem to crack it, even if waiting for the user to click a button to call the function. Here is what I've got now. Any idea how I could make this play?
By the way, thanks for making such awesome stuff. I use generative.fm all the time.
export const playMusic = () => {
console.log("Calling playMusic"); // this prints
makePiece({
audioContext: Tone.context,
destination: Tone.Master,
samples: wav
}).then(cleanUp => {
console.log("Ready to start") // this never prints
// Starting the piece
// Make sure you follow the Chrome Autoplay policy: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#webaudio
Tone.Transport.start();
});
};
Remove the JIT offline render and move it to a prerendering solution in https://github.com/generative-music/samples-alex-bainter like all the other pieces.
HI Alex,
I'm exploring the code trying to learn how you made some of these and I'm running into an issue. You have this window.generativeMusic.rng()
in use all over the place but I can not find where it is defined. Is it some sort of random seed?
Thanks.
del
Sorry, wrong repo.
generativefm/generative.fm#67
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.