mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-17 20:44:29 -04:00
refactor(vm): rename Encode to NewBytecode
This commit is contained in:
parent
01bf409929
commit
9f7bbce761
@ -87,7 +87,7 @@ func (com *Compiler) Song(song *sointu.Song) (map[string]string, error) {
|
||||
}
|
||||
features := vm.NecessaryFeaturesFor(song.Patch)
|
||||
retmap := map[string]string{}
|
||||
encodedPatch, err := vm.Encode(song.Patch, features, song.BPM)
|
||||
encodedPatch, err := vm.NewBytecode(song.Patch, features, song.BPM)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf(`could not encode patch: %v`, err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user