A website to turn any sound on the internet into a drum or synth patch

I tried again this morning.
With your exemple (spoken word) and same kind of videos (sound with a static picture), it works.
But with real videos, it doesn’t.
Was that what was planned?

Other thing, I tried with a music mp3 on YouTube and I have only one slice of 11,5s while the track is 3+ min long.
https://op1.schollz.com/patch?audioURL=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DNyFbTMbmz5c&secondsStart=0&secondsEnd=5.75&synthPatch=drum

@mathieuthi thanks. I found a bug when you showed me that video. I fixed that one and now it shows a whole minute for that video you linked to: https://op1.schollz.com/patch?audioURL=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DNyFbTMbmz5c&secondsStart=0&secondsEnd=60&synthPatch=drum

As for whether it works with real videos, do you have another example? Its working on the videos I tried just now, e.g. https://op1.schollz.com/patch?audioURL=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DE1Onzz76c6s&secondsStart=0&secondsEnd=60&synthPatch=drum

I appreciate the bug report :slight_smile:

Quality mate :slight_smile: cheers

1 Like

Try with this YouTube link: https://www.youtube.com/watch?v=XAXIzlfafmw
Error is “ffmpeg; exit status 1”

1 Like

Great find, will give this a try soon

1 Like

Thanks!

@mathieuthi, sorry I think its a youtube country issue! The website is on a server in the US, and this is what I’m seeing for that video:

I don’t know a way around this one :frowning:

Oh… Ok.
I know what kind of video I can use now, and you too :slight_smile:

Thanks for your feedback!

Cool! It would be great to have a similar web to the PO-33 sampler.

1 Like

I tried it with a sound file from Freesound, but no luck:

https://freesound.org/people/InspectorJ/sounds/347245/download/347245__inspectorj__scissors-a.wav

The error message is “open data/470f32471bb3950efdc34d68587ef630/metadata.json: no such file or directory”.

1 Like

@paubarrina I’ll look into it!

Thanks @vehka. It looks like the problem is freesound - that link to a file redirects to a login page:

Sorry its more work, but I guess you could download the sound and re-upload somewhere else and use that URL instead. I have yet to make an upload form for the site but in the meantime there is something like this.

Sorry, my bad! I was indeed logged in, and for me, the URL started a download… I didn’t realize they require logins in order for download links to work, since they do have a separate web API as well…

And yeah, good point, it’s trivial to provide a separate download link to the file.

1 Like

@vehka Cool. I added an upload form as well so it will be smidgen easier get sound on the site.

Also for those interested, it should work on instagram videos too.

1 Like

Thank you for sharing the tool!

It’s awesome!

1 Like

Thank you so much for documenting the reverse engineering process, I once tried to dig into existing documentation, but got discouraged in 30-something years of ambiguity and progress.

1 Like

Congratulations on this work, great idea and execution, I’m impressed!

To my understanding, sampler synth metadata can also set the reference frequency for pitch (other than A 220Hz which I think is the reference). See this thread https://op-forums.com/t/root-of-user-samples-in-synth/2017/3

It would be awesome if we could set the “root note” in your tool for the sampler synth manually!

1 Like

@jsmonzani Love that idea! Wasn’t aware of the base_freq parameter. I added that in. Now you can download a sample that and set the “Root note”. The root note will map the pitch of the sample to the correct piano key. For example, this is a Bb sample of a piano mapped to the Bb key.

3 Likes

Wow, that was fast! Thank you,I will try it soon! Just bought my OP1 three days ago :sweat_smile: so I’m still discovering it!

1 Like

so I’ve updated the website so you can create equally spaced splice points in drum loop patches for the op-1 and op-z. I really wanted to do this so I could “sequence” sample loops in sync with a beat. i.e. make breakbeat type stuff with shuffled sequences of quantized portions of a drum beat. you can check it out here: https://teoperator.com/ its best used with a drum loop (< 12 seconds) that already set to the correct length (i.e., 16 beats @ 120 bpm should be 8 seconds) and then set the splice number to 16. then you can use “endless” on the op-1 at 1/4 speed at 60bpm or use the sequencer on the op-1 to play it back perfectly.

here’s a demo with a breakbeat being sequenced on the op-z (op-z track set to 1/4 speed, tempo set to tempo of drum loop, 174 bpm, and sequencing two tracks simultaneously hard panned with different step components):

and here’s a demo for the op-1:

the tool can also be downloaded so you can use it offline. using it offline will let you also make drum kits really easily, just by running things like teoperator drum kick1.wav snare.wav ...etc..... more info about that at the code repo: GitHub - schollz/teoperator: Make OP-1 and OP-Z drum and synth patches from any sound.

if you have any questions, I’m happy to answer / help. I think this changed my whole concept of what the op-z and op-1 can do (live shuffling of drum loops!!). hope someone else might enjoy!

3 Likes