Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time interval between slices in "Timbre Transfer" colab? #391

Open
ultraGentle opened this issue Sep 16, 2021 · 1 comment
Open

Time interval between slices in "Timbre Transfer" colab? #391

ultraGentle opened this issue Sep 16, 2021 · 1 comment

Comments

@ultraGentle
Copy link

I have a question about the Timbre Tranfer colab, specifically audio_features = ddsp.training.metrics.compute_audio_features(audio)

I did not see any API docs on this, hence asking here.

  1. What is the time interval between slices/samples in the audio_features arrays? (If it's even constant...)
  2. Is that interval modifiable?
  3. Can one get a time stamp for each array element?

I'm coming from Javascript; total beginner at Python, so if there's a way to determine this from the colab notebook or repo itself, that would be good to know! (I did look up all references of compute_audio_features in the codebase, but didn't see an obvious (to me) answer.

@PratikStar
Copy link

  1. 4ms
  2. Yes, modify the frame_rate
  3. You can construct one, right? since you now know what is the time period of the slices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants