Hey Thorsten,

I find the combination of sound & picolisp very interesting


Me too! One of my long term goals is to write audio software in PicoLisp.
Gotta have the most dynamic language for one of the most dynamic human
processes ;)

are you aware of "SoundCollider" and the Clojure Libraries "Overtone" and
> "Leipzig"
> (both on Github)?


Yep, I've had a lot of fun with Overtone. It's a source of inspiration for
my PicoLisp audio vaporware. I'd like to use it as a jumping off point and
then let it evolve into whatever it wants to become. Much learning and many
tools to build for the time being, however.

There are interesting videos on Youtube about making music with
> emacs/vim and clojure


Awesome, thanks for sharing.

And I noticed that you have another music related picolisp lib on github.


Indeed. Unfortunately it's not really usable at this point. I think I've
got the basic data types, FFT's, and media sources working, but haven't
played with it in a couple weeks now. Another work in progress.

1. How much would it take not to rewrite Overtone in PicoLisp but rather
> to define a handfull of musical instruments that can easily be used in a
> music creating PicoLisp program? I'm thinking of a basic rhythm section
> with a few rhythm instruments (maybe just a snare drum for creating
> swing and a Cajon and maybe Handclaps for creating Flamenco/World Music
> beats) and, most important, a (acoustic contra) bass.


I think it would be non-trivial, but certainly not overwhelming. You'd need
a way to access your instrument samples (stay tuned, I'm hoping to get the
libaubio sampler working in PicoLisp) and then arrange those samples as
desired in musical time. Press play and jam on!

2. How to use (picolisp-)aubio to get a score of what I play?


I love this idea. I record myself playing piano often... it would be really
handy if we had a magical musical score generator! That would save me from
having to go back and transcribe the parts I really like. Certainly worth
further exploration!

Reading about Aubio, it seems that I could plugin my guitar into my
> computer, record some stuff, and the use Aubio to extract a midi score
> of what I played (and then use other programs to convert that midi score
> to conventional musical notation).


Right.


> but using e.g. aubiotrack...I get a binary file with some rhythmical
> clicks in it


'aubiotrack' is used for beat/tempo detection. Those clicks should be as
you would tap your foot along to the track (or as close as the
algorithm can guess).

>


> and using
> aubionotes I get something that doesn't look like a complete midi score
> of a tune:
>
> ,----
> | $ aubionotes -vf -i /home/docs/music/sound/jimmy\ raney\
> | duets\ mp3/converted/mp3/Track01.ogg
> | using source: /home/docs/music/sound/jimmy raney duets
> | mp3/converted/mp3/Track01.ogg at 22050Hz
> | onset method: default, buffer_size: 512, hop_size: 256, threshold:
> | 0.000000
> | pitch method: default, buffer_size: 2048, hop_size: 256, tolerance:
> | 0.000000
> | 0.429569
> | 54.000000       0.429569        0.603719
> | 47.000000       0.603719        0.777869
> | 44.000000       0.777869        1.102948
> | 107.000000      1.102948        1.172608
> | 106.000000      1.172608        1.462857
> | 81.000000       1.462857        1.741497
> | 108.000000      1.741497        4.260862
> | 64.000000       4.260862        6.919547
> | 64.000000       6.919547        10.019410
> | 64.000000       10.019410       12.875464
> | 64.000000       12.875464       15.406440
> | 64.000000       15.406440       18.111565
> | 64.000000       18.111565       20.816689
> | 64.000000       20.816689       23.498594
> | 64.000000       23.498594       37.558277
> | read 37.97s (837248 samples in 3271 blocks of 256) from
> | /home/docs/music/sound/jimmy raney duets mp3/converted/mp3/Track01.ogg
> | at 22050Hz
> | 37.976234
> `----


You're partially there now. 'aubionotes' has returned a bunch of midi notes
(64, 108, etc.) and the times at which they occur.  To get a complete
score, you would need to assemble these values into an actual midi file and
then import the midi file into a program that can give you back a score
(Lilypond comes to mind). I'm sure there are tools to help with midi
writing, but none come to mind.

Hope this helps!

PS
> Very exciting things going on in the PicoLisp universe right now!
>

Agreed! And thanks for the ideas, I've got some new musical stuff to
ponder.

Later,
Erik

Reply via email to