muskel

package module
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: GPL-2.0 Imports: 18 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 string
View Source
var WORKING_DIR string

Functions

func Convert

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

func Format

func Format(filename path.Local, params []string, rd io.Reader, wr io.Writer, 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 WriteImage added in v1.2.21

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

WriteImage expects the given score to be unrolled

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 string) 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