karaoke

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2018 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadSong

func DownloadSong(localpath, remotepath string) error

DownloadSong downloads a song from remotepath to localpath.

func FluidsynthBinaryExists added in v0.2.2

func FluidsynthBinaryExists() bool

FluidsynthBinaryExists checks if the fluidsynth binary exists.

func GetSongList

func GetSongList(uri string) (songs map[string]Song, err error)

GetSongList returns a list of songs from a manifest url.

func Play

func Play(localmid string) error

Play takes a given .midi file and plays it.

Types

type Song

type Song struct {
	Artist string
	Title  string
	File   string
	Lyrics string
}

Song holds information about the artist, title and filename for a song.

Jump to

Keyboard shortcuts

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