davidkant / mai Goto Github PK
View Code? Open in Web Editor NEWMusic and Artificial Intelligence
License: Other
Music and Artificial Intelligence
License: Other
add support for microtonal MIDI (floating point pitch values) in music_makers
!pip install -q pretty_midi
!pip install -q pyfluidsynth
!apt-get -qq update
!apt-get -qq install -y libfluidsynth1
consider a setup function...
write a custom extractor so we dont extract redundant features AND you can start from 0 not this off by frameSize/2 business.
In pitches = [60, 60.5, 60]
the last note 60
will sound as 60.5
b/c pitch bend is not adjusted on microtones=0
which is not OK when mixing ints and floats in a list of pitches.
plot function for make_music_heterophonic
replace np.linspace with scipy interpolate for curves
add them
a pipedream
find a way to get the lecture sequence into the notebook 4.4
essentia framecutter starts from -frameSize/2 which makes conversions from frames to sample tricky, especially when rearranging audio (like by ascending spectral centroid) and re-analyzing.
Removed music notation support because linux setup is too slow. Specifically, the two requirements below take about a minute.
!apt-get -qq install -y libfluidsynth1
!apt-get -qq install -y lilypond
And then don't forget to
%load_ext abjadext.ipython
but that's not a bottleneck...
using trnzscrybe + abjad
music_maker with multiple instruments
I was playing around with this library recently using jupyter notebook locally through vscode and encountered this issue where mai.synths
and the other functions were not properly installed after pip install mai
. To fix this issue, I had to download a copy of this repo and drag and drop all the .py files to the locally installed directory. Ex: C:\Users\Austin\AppData\Local\Programs\Python\Python37\Lib\site-packages\mai\
This issue doesn't seem to occur on google colab.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.