An open API service indexing awesome lists of open source software.

https://github.com/darren277/lisp-music-gen

A very basic melody generation tool written in Lisp. There is also Postgres interactivity.
https://github.com/darren277/lisp-music-gen

functional-programming lisp music postgres

Last synced: 2 months ago
JSON representation

A very basic melody generation tool written in Lisp. There is also Postgres interactivity.

Awesome Lists containing this project

README

        

# LISP Music Generator

## About

A very basic melody generation tool written in Lisp. There is also Postgres interactivity.

## Database Initialization

```shell
$ sudo -u postgres psql -c "ALTER USER myusername CREATEDB;"
==> ALTER ROLE

$ PGPASSWORD=mypassword psql -U myusername -d postgres -c "CREATE DATABASE musicgen;"
==> CREATE DATABASE

$ PGPASSWORD=mypassword psql -U myusername -d musicgen -c "CREATE TABLE IF NOT EXISTS melodies (id SERIAL PRIMARY KEY, root_frequency FLOAT NOT NULL CHECK (root_frequency > 0), melody TEXT NOT NULL);"
==> CREATE TABLE
```