theHarmonicAlgorithm-3.1.1: Real-time harmonic progression generation for TidalCycles live performance
Safe HaskellNone
LanguageGHC2021

Harmonic.Config

Description

Centralised configuration for Neo4j database connection (URI, credentials) and YCACL corpus file paths used during data ingestion.

theHarmonicAlgorithm is a local-first tool. Neo4j runs on localhost via docker-compose, which configures the same credentials shown here. There is no network exposure — these are docker defaults, not secrets. To start Neo4j: docker compose up -d neo4j

Synopsis

Neo4j connection

neo4jUri :: Text Source #

Neo4j HTTP base URI (the Query API lives under it). Matches the docker-compose service on localhost. Override per-process with the HA_NEO4J_URL environment variable.

neo4jUser :: Text Source #

Neo4j username. Matches NEO4J_AUTH in docker-compose.yml.

neo4jPassword :: Text Source #

Neo4j password. Matches NEO4J_AUTH in docker-compose.yml.

Corpus paths

ycaclArtifactPath :: FilePath Source #

Path to the derived YCACL corpus artefact consumed by stack run. Produced by scripts/export_ycacl.R; not distributed with the repository (data/artefacts/ is gitignored — the file is ~345 MB).