Git Product home page Git Product logo

sentario's Introduction

Instrumental Music Generation Using Deep Learning with Sentiment-based Music Customisation Aka 'Sentario'

This system identifies facial expressions using CNNs to generate piano music corresponding to the identified emotion using LSTMs. Neural Networks can be leveraged to understand the underlying mathematical nature of melodious as well as dissonant music, and thereby predict the next note of each sequence, generating music. This music is original yet inspired by the style and tone of the music comprising the datasets it has been trained on. The LeNet Convolutional Neural Network is trained for facial expression recognition through Tensor Flow and Keras. The OpenCV implementation of the Haar Cascade Algorithm is used for face detection. The Long Short-Term Memory (LSTM) Recurrent neural network is trained on a dataset comprised by piano music pieces through reinforced learning. The Music 21 Python library is used to handle the MIDI format musical pieces. The RMSprop optimizer is used to improve backpropagation. The training dataset is unique to each sentiment, thereby predisposing the generated music to a particular emotion. This is further improved by adjusting certain parameters of each note.

Webapp - https://v12020-sentario.hf.space
Please find the accompanying manuscript here.

sentario's People

Contributors

120205690 avatar

Watchers

Kostas Georgiou 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.