Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrument loading #9

Open
200sc opened this issue Jul 13, 2017 · 1 comment
Open

Instrument loading #9

200sc opened this issue Jul 13, 2017 · 1 comment

Comments

@200sc
Copy link
Owner

200sc commented Jul 13, 2017

dls files and sf2 files are probably the first targets for loading in instruments, to then determine how we can fit those instruments into our wave function syntax.

@200sc
Copy link
Owner Author

200sc commented Jul 16, 2017

DLS files have been parsed, we just need a structure to parse their instruments into. Idea:

type Instrument interface {
    GetSample(Pitch) Audio
}

This covers the common instrument case of being a set of samples where specific samples should be used for specifc pitches. Drumkits would need to be separate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant