TypeError: Tabs.generate_notes() takes 1 positional argument but 2 were given
sugizo opened this issue · 0 comments
sugizo commented
environment
google colab
steps
pip install -U tayuya
from tayuya import MIDIParser, Tabs
mid = MIDIParser('sample.mid', track = 0)
tabs = Tabs(notes = mid.notes_played(), key = mid.get_key() )
tabs.generate_notes(tabs.find_start() )
result
TypeError Traceback (most recent call last)
[<ipython-input-43-1eb26bcffc67>](https://localhost:8080/#) in <cell line: 1>()
----> 1 tabs.generate_notes(tabs.find_start() )
TypeError: Tabs.generate_notes() takes 1 positional argument but 2 were given
best regards