muskel

package module
v1.7.36 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: GPL-2.0 Imports: 19 Imported by: 1

README

MUsical SKEtch Language - MUSKEL

Documentation

Index

Constants

View Source
const MUSKEL_VERSION_FILE = "muskel_version.txt"

Variables

View Source
var FILE_EXTENSION = ".mskl"
View Source
var USER_DIR path.Local
View Source
var WORKING_DIR = path.MustWD()

Functions

func Convert

func Convert(mainFile path.Local, params []string, smffile path.Local, opts ...score.Option) error

func Format

func Format(filename path.Local, params []string, rd io.Reader, wr io.Writer, opts ...score.Option) error

func FormatFS added in v1.6.20

func FormatFS(fsys fs.FS, filename path.Relative, params []string, rd io.Reader, wr io.Writer, opts ...score.Option) error

func LilypondScore added in v1.6.19

func LilypondScore(mainFile path.Local, params []string, opts ...score.Option) (string, error)

func PDFScore added in v1.6.19

func PDFScore(mainFile path.Local, params []string, pdffile path.Local, opts ...score.Option) error

func ParseFile

func ParseFile(mainFile path.Local, params []string, opts ...score.Option) (sc *score.Score, err error)

func ReadWDVersionFile added in v1.0.29

func ReadWDVersionFile(dir path.Local) (*version.Version, error)

func Unroll

func Unroll(mainFile path.Local, params []string, rd io.Reader, wr io.Writer, opts ...score.Option) error

func UnrollFS added in v1.6.19

func UnrollFS(fsys fs.FS, mainFile path.Relative, params []string, rd io.Reader, wr io.Writer, opts ...score.Option) error

func WriteImage added in v1.2.21

func WriteImage(sc *score.Score, outfile path.Local, opts ...smfimage.Option) error

WriteImage expects the given score to be unrolled

func WritePredefinedTemplates added in v1.6.19

func WritePredefinedTemplates(fsys fs.FS) error

func WriteSMF

func WriteSMF(filename path.Local, params []string, rd io.Reader, fmtwr io.Writer, midwr io.Writer, opts ...score.Option) error

func WriteSMFFile

func WriteSMFFile(sc *score.Score, smffile path.Local) error

func WriteSMFFile(sc *score.Score, smffile string, opts ...smfwriter.Option) error {

func WriteWDVersionFile added in v1.0.29

func WriteWDVersionFile(dir string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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