Coder Social home page Coder Social logo

mai's Introduction

Music and Artificial Intelligence

This code repository is the home of the Music AI Tutorial, a collection of cloud-based, interactive tutorials that teach topics in music, artificial intelligence, and computer science. The tutorial takes a historical approach. My intention is to give cultural, technical, and aesthetic context to contemporary approaches to Music AI.

Viewing the tutorials

The tutorials are intended to be viewed using Google Colaboratory, a cloud-based Jupyter Notebook environment, which allows you to edit and run code in the browser. You can also view a static render of the tutorials via nbviewer, or an interactive versions via MyBinder.

Teaching

The Music AI Tutorial was developed for the course MUSC 80L: Artificial Intelligence and Music at UC Santa Cruz Course with instructor David Kant. I am actively seeking new opportunities to teach this course. Please contact me if you are interested!

Thanks!

This project is in ongoing development, so please check back for updates!

mai's People

Contributors

davidkant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mai's Issues

microtonal MIDI

add support for microtonal MIDI (floating point pitch values) in music_makers

which setup needs to be done?

install external libraries for sound playback

!pip install -q pretty_midi
!pip install -q pyfluidsynth
!apt-get -qq update
!apt-get -qq install -y libfluidsynth1

consider a setup function...

Issue installing mai locally

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\
mai

This issue doesn't seem to occur on google colab.

microtones don't reset on `int`

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.

make music notation faster

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

essentia frame_to_sample

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.

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.