Loads a previously saved Markov model. Auto-detects the format:

  • If file is a directory, reads the .gsm directory format

  • If file is a file, tries ZIP .gsm format first, then falls back to legacy RDS format

gsynth.load(file)

Arguments

file

Path to the saved model (directory, .gsm zip, or legacy .rds)

Value

A gsynth.model object