biboamy / instrument-streaming

36 stars 3 forks source link

question about the dataset #5

Closed Annabelle115 closed 4 years ago

Annabelle115 commented 4 years ago

sorry to bother you again ,but,could you show some code for generating va_pitch.h5,tr_pitch.h5,va_stream.h5,tr_stream.h5?I am new to HDF5 T^T

biboamy commented 4 years ago

No problem. You can see a sample here: https://github.com/biboamy/instrument-streaming/blob/2e58eba7dbb4e28096cf4f27de4a7ebe972b5ba1/musicnet/preprocess.py#L49

Although this is not the original script to generate the va_pitch.h5, tr_stream.h5, etc... you can simply modify the file name to achieve the same data. Hope this helps.