Code Monkey home page Code Monkey logo

cut-up-mix-tape's Introduction

CutUp Mix Tape

write a message with song lyrics.

view this project

##concept and goals a user enters some words as seed ideas for a message they are crafting

the seed ideas are sent as a search request to GENIUS lyrics api

the Genius API returns segments of lyrics which match the seed ideas request.

those segments of lyrics are injected into a UI which allows the user to sort and edit the words.

the user crafts a message with the segments of lyrics

a spotify playlist is created with the songs from which lyrics were used

#project spec

tiered development schedule

iterative development prioritizes the bare minimum functionality, and incrementally improves features.

###node/express server

  1. construct a simple node/express server and implement local authentication strategy.
  2. build basic api routes to make requests to
  3. implement Genius API requests using the node-genius npm module

angular MVC frontend

  1. build a simple template to consume the genius api results
  2. add an input field to make search requests and render them in the page
  3. implement a drag and drop directive to manipulate the search results and add them to the CutUp model.

filter api results

  1. implement a fuzzy search/filtering of the search results to find the best matching lyric segment for each search request.
  2. filter out results taht return empty from fuzzy search.

saving a cutup

  1. save the cutup composition to the database
  2. associate the cutup with a logged in user

render final cutup

  1. upon saving a cutup, redirect user to the page for that single cutup
  2. build single cutup page template, include interface for displaying song details

user logged in page

  1. build a page template for logged in users to view, edit or delete their cutups

smarter querying of lyric segments

  1. chunk up the user's input text into numerous requests, instead of a single one, thus allowing more relevant search results
  2. develop the angular directive to visualize how the input string is getting chunked up
  3. include a reference to the chunked search query with the corresponding response, to associate them in the front end.

tools used

https://github.com/alexbooker/node-genius

https://github.com/marceljuenemann/angular-drag-and-drop-lists

https://github.com/danielcrisp/angular-rangeslider

cut-up-mix-tape's People

Contributors

jamesstaub avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.