Skip to content

Instantly share code, notes, and snippets.

@mikeymaio
Created February 25, 2017 23:17
Show Gist options
  • Select an option

  • Save mikeymaio/8eb8a27015f092bafa4803fea6baa5c2 to your computer and use it in GitHub Desktop.

Select an option

Save mikeymaio/8eb8a27015f092bafa4803fea6baa5c2 to your computer and use it in GitHub Desktop.
REACT-DJ USER STORIES
As a user, I want to import songs so I can play them
As a user, I want to play songs
As a user, I want to load a song while another song is play without interrupting the currently playing song
As a user, I want to crossfade between songs, so the music never stops
As a user, I want to have an "auto-mix-mode" so I do not have to manually crossfade between songs
As a user, I want to apply FX to songs so I can get creative and make the mix my own
As a user, I want to loop a section of the currently playing song, so I can create remixes/mashups on the fly
As a user, I want to record my mixes so I can share them
As a user, I want to be able to upload my mixes to soundcloud so I can share them
@douglas-mason
Copy link

const state = {
  deck1: {
    currentSong: Object //song1
    effects: {
      reverb: 0,
      delay: 0,
      etc...
    },
    equalizer: {
      hi: 0,
      mid: 0,
      low: 0
    },
    playback: {
      playing: true
      volumen: 23
    }
    playlist: [
      //song2
      //song3
    ]
  },
  deck2: {
    //same as deck 1
  }
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment