Skip to content

Conversation

TwinMooon
Copy link

No description provided.

@salu133445
Copy link
Owner

Hi, thanks for the pull request. The commits for fixing the overflow issue look fine to me. However, in my view, tempo is a global properties rather than an attribute of a note. Note(time=0, duration=1, pitch=60, velocity=64, tempo=120) does not make much sense to me. Some issues might arise if there are concurrent notes with different tempos or the notes are not sorted by time. Let me know if there are some specific use cases for doing this.

@salu133445
Copy link
Owner

The overflow bug has been fixed in 0f92edd (see #8).

@salu133445
Copy link
Owner

@TwinMooon Is there any specific use case for adding tempo to the note representation?

@TwinMooon
Copy link
Author

@salu133445 Cool! I use the tempo feature in the music classification. But using tempo in note presentation may suffer from contradiction in the music generation.

@salu133445 salu133445 closed this Dec 16, 2020
@salu133445 salu133445 deleted the branch salu133445:master December 16, 2020 10:53
@salu133445 salu133445 added the bug Something isn't working label Dec 23, 2020
@salu133445
Copy link
Owner

@TwinMooon I see. It does have some potential use case for monophonic music. Could you open a separate pull request for the optional tempo encoding? Thank you.

@salu133445
Copy link
Owner

There might also be some potential use case in modeling expressive monophonic music. For example, with the tempo encoding, we can keep the note onsets and durations in metrical timing, while modeling the performance with varying tempo across time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants