How would I code a plugin for real time audio scrubbing?

A place to share and discuss your python scripts (only since 0.64.0 version)
NoahSmith
Posts: 5
Joined: Tue Feb 21, 2017 5:53 pm

How would I code a plugin for real time audio scrubbing?

Postby NoahSmith » Sun Feb 26, 2017 1:08 am

This is a great program, and the only thing holding me back from making an animation with it is audio scrubbing. I can't lip sync without it, and papagayo is one of the most annoying things I've had to work with in my animation experience :evil: . (I've worked across iStopmotion, Blender, Maya and Anime Studio.)

The devs have a lot on their plate, and a lot of people need this, so I decided to try and code a plugin for it myself. Except.. I have zero experience in coding. Could someone maybe gimme a hand?

Advertisement

User avatar
caryoscelus
Posts: 77
Joined: Wed Nov 11, 2015 9:10 am
Contact:

Re: How would I code a plugin for real time audio scrubbing?

Postby caryoscelus » Sun Feb 26, 2017 5:46 pm

What exactly do you want? Waveform display? Cause audio playing itself is present already.

Anyway, whatever you'll want to code, you'll have to learn how to code, at least some basics. Git, some C++, gtkmm, how to compile stuff, etc. Really, even if displaying waveform isn't very hard thing to do if you use existing techniques or better libraries, you'll have to learn a lot anyway.

P.S. as for actual plugins, some examples of which seem to be present in official distribution, i have no idea how they work or even where they are placed or where the docs for them are..

NoahSmith
Posts: 5
Joined: Tue Feb 21, 2017 5:53 pm

Re: How would I code a plugin for real time audio scrubbing?

Postby NoahSmith » Sun Feb 26, 2017 11:39 pm

caryoscelus wrote:What exactly do you want? Waveform display? Cause audio playing itself is present already.

Anyway, whatever you'll want to code, you'll have to learn how to code, at least some basics. Git, some C++, gtkmm, how to compile stuff, etc. Really, even if displaying waveform isn't very hard thing to do if you use existing techniques or better libraries, you'll have to learn a lot anyway.

P.S. as for actual plugins, some examples of which seem to be present in official distribution, i have no idea how they work or even where they are placed or where the docs for them are..

Thanks for the reply! Waveform isn't quite what I meant, what I have in mind is where you can... well... 'scrub'!

User avatar
caryoscelus
Posts: 77
Joined: Wed Nov 11, 2015 9:10 am
Contact:

Re: How would I code a plugin for real time audio scrubbing?

Postby caryoscelus » Mon Feb 27, 2017 5:12 am

I'm not that familiar with the term. So what you missing is ability to preview sound by clicking once (on timetrack), not twice (on timetrack and then on play button)?

NoahSmith
Posts: 5
Joined: Tue Feb 21, 2017 5:53 pm

Re: How would I code a plugin for real time audio scrubbing?

Postby NoahSmith » Mon Feb 27, 2017 8:56 pm

caryoscelus wrote:I'm not that familiar with the term. So what you missing is ability to preview sound by clicking once (on timetrack), not twice (on timetrack and then on play button)?

No, not exactly, https://gyazo.com/c9e9cd9576f8fc96acd187b0dd971bab this is scrubbing. In synfig, audio only plays when you click the play button. In the software I recorded that clip with, you have an option to enable scrubbing through the audio, not just the video. https://youtu.be/wog4Qp9zjrw?t=8m18s as you can see in this video, audio plays when he scrubs through the timeline, not just when he hits play.

User avatar
caryoscelus
Posts: 77
Joined: Wed Nov 11, 2015 9:10 am
Contact:

Re: How would I code a plugin for real time audio scrubbing?

Postby caryoscelus » Tue Feb 28, 2017 6:18 am

Ah, i see. Thanks for explanation. Well, that might be relatively easy to implement.


Return to “Scripting”

Who is online

Users browsing this forum: No registered users and 1 guest