tenordb

package module
v0.0.0-...-26db915 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2014 License: MIT Imports: 6 Imported by: 2

README

TenorDB

A simple music chord database.

The goal of this project is to build a simple yet rich database of music chord and scale related information.

The database backend will primarily be PostgreSQL and the aggregation will be done in Go.

Current version 0.1.0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssembleChords

func AssembleChords(note string) ([]string, error)

func AssembleScales

func AssembleScales(note string) ([]string, error)

func DisassembleChord

func DisassembleChord(note, pattern string) ([]string, error)

func DisassembleScale

func DisassembleScale(note, pattern string) ([]string, error)

func Setup

func Setup() error

Types

type AbsNote

type AbsNote struct {
	Id   int    `db:id`
	Name string `db:name`
}

type Chord

type Chord struct {
	Id         int `db:id`
	Cp_id      int `db:cp_id`
	Root_an_id int `db:root_an_id`
}

type ChordNote

type ChordNote struct {
	An_id int `db:an_id`
	Rn_id int `db:rn_id`
	C_id  int `db:c_id`
}

type ChordPattern

type ChordPattern struct {
	Id   int    `db:id`
	Name string `db:name`
}

type ChordPatternNote

type ChordPatternNote struct {
	Cp_id int `db:cp_id`
	Rn_id int `db:rn_id`
}

type RelNote

type RelNote struct {
	Id   int    `db:id`
	Name string `db:name`
}

type Scale

type Scale struct {
	Id         int `db:id`
	Sp_id      int `db:sp_id`
	Root_an_id int `db:root_an_id`
}

type ScaleNote

type ScaleNote struct {
	An_id int `db:an_id`
	Rn_id int `db:rn_id`
	S_id  int `db:s_id`
}

type ScalePattern

type ScalePattern struct {
	Id   int    `db:id`
	Name string `db:name`
}

type ScalePatternNote

type ScalePatternNote struct {
	Sp_id int `db:sp_id`
	Rn_id int `db:rn_id`
}

Directories

Path Synopsis
A basic CLI for simple uses for the tenordb package
A basic CLI for simple uses for the tenordb package

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL