magenta / note-seq

A serializable note sequence representation and utilities.
Apache License 2.0
211 stars 57 forks source link

Applying `to_tensors()` after `stretch_note_sequence()` results in a non-modified data point #53

Open dbbz opened 2 years ago

dbbz commented 2 years ago

Hi, using note_seq.sequences_lib.stretch_note_sequence() results indeed in a stretched musical sequence when played with play_sequence(), however, after converting to tensors, the shape of the result is identical to the original sequence. Is that behavior normal?

Perhaps not modifying the tempo (unlike in https://github.com/magenta/note-seq/blob/7549b1f398cac5375d89aac60e4e166b55d0ab41/note_seq/sequences_lib.py#L1342) is the expected behavior?

Thanks,