main/midifile-to-events [ Functions ]

[ Top ] [ main ] [ Functions ]

Name

 midifile-to-events

File

 event-read.lsp

Description

 Read notes from a midi-file as comic-events, meaning:
 - midinotes -> pitch-slot,
 - midivelocity -> amplitude-slot,
 - ...as well as start-time and duration.

Arguments

 file

Return Value

 A list of events

Synopsis

(defun midifile-to-events (file &key tracks)
  "reads a midi file and returns a list of comic events per midi-note"

main/soundfile-to-events [ Functions ]

[ Top ] [ main ] [ Functions ]

Name

 soundfile-to-events

File

 event-read.lsp

Description

 Analyses melodic, harmonic and rhythmic content of a soundfile and
 tries to create nice chords on the basis of this analysis,
 returned as comic-events. Totally glitchy, but lots of fun!

Arguments

 file

Return Value

 A list of events

Synopsis

#+aubio
(defun soundfile-to-events (file &key (max-notes-per-chord 1))
  "Analysis a soundfile and creates some funky events!"