/digi-musician

Repo to collaborate on a project during the hack the midlands project.

Primary LanguagePython

DigiMusician

Collaboarative python project during the hack the midlands project.

Description

Do you need somewhat goodish sounding music? Well I have the app for you!

This app generates music, displays the notes (somewhat clumsily) and then plays the beautiful tune for your listening pleasure.

Watch out for the spooky easter egg!

alt text

Our Inspiration ❤️

"I wish I found some chords in an order that is new" - Stressed Out by twenty one pilots

Installation

In order for the program to run you must also install FluidSynth, ffmpeg and have a soundfont in the directory specified by fluidsynth (this is a bit of a hassle to sort out, sorry).

References

  1. FluidSynth (MIDI Synthesiser https://pypi.org/project/pyFluidSynth/)
  2. Pretty MIDI (Makes MIDI files easier to work with https://craffel.github.io/pretty-midi/)
  3. midi2audio (Convert MIDI to mp3/ogg for pygame https://pypi.org/project/midi2audio/)
  4. pygame (GUI and audio processing https://www.pygame.org/docs/)
  5. Display MIDI notes (https://www.tensorflow.org/tutorials/audio/music_generation)
  6. MIDI note numbers, frequency and notes look up (https://www.inspiredacoustics.com/en/MIDI_note_numbers_and_center_frequencies)