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.
- Host: GitHub
- URL: https://github.com/darren277/lisp-music-gen
- Owner: darren277
- Created: 2024-04-01T19:48:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-28T12:42:03.000Z (4 months ago)
- Last Synced: 2025-02-28T19:01:20.876Z (4 months ago)
- Topics: functional-programming, lisp, music, postgres
- Language: Common Lisp
- Homepage:
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```