deep_music

command
v1.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2023 License: BSD-3-Clause Imports: 32 Imported by: 0

README

deep_music

This example tests the deep predictive learning model on predicting longer sequences with some structure that is not fully regular, by trying to predict the next note in a musical track. This requires representing longer-term sequences.

music

Initially targeting simple one-note-at-a-time songs ("melodies").

Performance

The model with 2 hidden + CT layers can learn 30 note steps to a high level of predictive accuracy -- near perfect for a spiking net. When trained on the whole song, it does not do as well, but improvisation testing reveals that it has absorbed a significant amount of song structure.

Mac playing the actual music from network

  • open Apple MIDI Setup
  • do Window / Show MIDI Studio
  • double click on Default IAC Driver
  • click Device is online -- the icon should now become undimmed
  • open Garage Band (or Logic Pro if you have it)
  • uncomment the Play setting in deep_music.go ConfigEnv method
  • it should just work..

Documentation

Overview

deep_music runs a DeepAxon network on predicting the next note in a musical sequence of notes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL