Giter Club home page Giter Club logo

generators's People

Contributors

alexbainter avatar metalex9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

generators's Issues

Passing effects to playing pieces

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!

makePiece never completing

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();
  });
};

Rename and update

  • "generativefm/generators" or "metalex9/generators"
  • Update npm package names
  • Deprecate previous packages
  • Ditch lerna
  • Prune utilities that got moved to @generative-music/rng or @generative-music/theory

What is window.generativeMusic.rng() ?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.