agent404 commited on
Commit
802e855
1 Parent(s): e2cdddc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -80,7 +80,7 @@ from symusic import Score, Synthesizer, BuiltInSF3, dump_wav
80
  abc_pattern = r'(X:\d+\n(?:[^\n]*\n)+)'
81
  abc_notation = re.findall(abc_pattern, response+'\n')
82
  s = Score.from_abc(abc_notation)
83
- audio = synth.render(s, stereo=True)
84
  dump_wav('cm_music_piece.wav', audio, sample_rate=44100, use_int16=True)
85
  ```
86
 
 
80
  abc_pattern = r'(X:\d+\n(?:[^\n]*\n)+)'
81
  abc_notation = re.findall(abc_pattern, response+'\n')
82
  s = Score.from_abc(abc_notation)
83
+ audio = Synthesizer().render(s, stereo=True)
84
  dump_wav('cm_music_piece.wav', audio, sample_rate=44100, use_int16=True)
85
  ```
86