You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create a new Panel which displays sound waveform #783
Many people request to have an ability to load a sound file and display its waveform in sync with animation.
Synfig already can import sounds, but can't display waveform.
I suggest to add a new panel, similar to Graphs Panel, but instead of displaying parameter graphs it will display a waveform of given file.
Example mockup:
1 - Waveform
2 - Button to load file.
3 - Timeline
4 - Current time cursor
Expected workflow:
User click the button and choosing a file. After that waveform for selected file is displayed in this panel. At the top of the panel you can see a timeline (just like in Graphs Panel), and waveform should be synchronized to it. Just like in Graphs Panel, user can hover cursor over timeline and change scale by scrolling mouse wheel. This also changes scale of waveform view.
Sorry for the delay in my response; I tried to compile codes from the graphs panel and the waveform source code .I made changes in studio/src/gui file.Also , I tried using the adding a new panel method from the link, but i couldn't use much help from it.
I created 4 files namely: dock_sound.h and dock_sound.cpp in docs folder using code from dock_curves, widget_sound.cpp & widget_sound.h where I added the code of the rainynite waveform generation with few changes according to synfig code but the new panel isn't still visible, are there any other files I need to make changes in?
For the panel to be shown, I think is it necessary to create an sound.sif and integrating it; also I couln't find any folder where icons are stored, may I get some help on it? ^_^
@morevnaproject , should this panel be canvas-specific? I mean, for a given open file.
If I change to another SynfigStudio tab, it would have another parameters (ie., another loaded sound).
Activity
maitreyi0505 commentedon Apr 2, 2019
Sorry for the delay in my response; I tried to compile codes from the graphs panel and the waveform source code .I made changes in studio/src/gui file.Also , I tried using the adding a new panel method from the link, but i couldn't use much help from it.
I created 4 files namely: dock_sound.h and dock_sound.cpp in docs folder using code from dock_curves, widget_sound.cpp & widget_sound.h where I added the code of the rainynite waveform generation with few changes according to synfig code but the new panel isn't still visible, are there any other files I need to make changes in?
morevnaproject commentedon Apr 2, 2019
@maitreyi0505 Can you please push your current code to GitHub, so I can look at it? ^__^
maitreyi0505 commentedon Apr 3, 2019
i made a pull request according to files created and the changes made by me, but the code isn't complete though i tried doing whatever i understood :)
morevnaproject commentedon Apr 5, 2019
@maitreyi0505 Apologies for delay with response. Please check my comment on PR. ^__^
maitreyi0505 commentedon Apr 6, 2019
No worries, I will be working on it!
maitreyi0505 commentedon Apr 14, 2019
For the panel to be shown, I think is it necessary to create an sound.sif and integrating it; also I couln't find any folder where icons are stored, may I get some help on it? ^_^
morevnaproject commentedon Apr 15, 2019
All icons are stored here - https://github.com/synfig/synfig/tree/master/synfig-studio/images
rodolforg commentedon Dec 29, 2019
@morevnaproject , should this panel be canvas-specific? I mean, for a given open file.
If I change to another SynfigStudio tab, it would have another parameters (ie., another loaded sound).
morevnaproject commentedon Dec 29, 2019
Yes, we need it canvas-specific. ^__^
rodolforg commentedon Dec 30, 2019
So, if @maitreyi0505 doesn't mind, I'd like to solve this issue.
morevnaproject commentedon Dec 30, 2019
@rodolforg Awesome! It is yours now! ^__^