Skip to content
Gabriel Vigliensoni edited this page Jun 1, 2020 · 9 revisions

R-VAE

This fork of the plugin by Nao Tokui provides functionality to overlay binary and ternary metric grids, so that modern music genres such as footwork, gqom, 2-step, trap, and others can be modeled and performed with RhythmVAE.

Variables

  • count_for_me x -> x controls the looping on the Max side.

  • const LOOP_DURATION controls the duration of the generated patterns

  • Max.addHandler is used to interface Max and Node.

Data Structure

  • Change the data structure from 4 to 24 ppqn, that is 16 to 96 ppm (pulses per measure) -> This is now actually working. Things I changed:
    • LOOP_DURATION in constants.js
    • getNoteIndexAndTimeshift in rhythmvae.js
        const unit = (60.0 / tempo) / 12.0; // the duration of 16th note

Messages

  • utils.log_status prints to the little black box inside Max patch. Good for fast feedback to the user.
  • utils.post prints to Max console. Good for debugging Max.
  • console.log prints to node.script debug tool inside the Max patch.
Clone this wiki locally