Skip to content

Create a new Panel which displays sound waveform #783

Closed

Description

@morevnaproject

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:

screenshot_003

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.

Related links:

Activity

  1. maitreyi0505 commented on Apr 2, 2019

    @maitreyi0505

    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?

  2. morevnaproject commented on Apr 2, 2019

    @morevnaproject
    MemberAuthor

    @maitreyi0505 Can you please push your current code to GitHub, so I can look at it? ^__^

  3. maitreyi0505 commented on Apr 3, 2019

    @maitreyi0505

    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 :)

  4. morevnaproject commented on Apr 5, 2019

    @morevnaproject
    MemberAuthor

    @maitreyi0505 Apologies for delay with response. Please check my comment on PR. ^__^

  5. maitreyi0505 commented on Apr 6, 2019

    @maitreyi0505

    No worries, I will be working on it!

  6. maitreyi0505 commented on Apr 14, 2019

    @maitreyi0505

    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? ^_^

  7. rodolforg commented on Dec 29, 2019

    @rodolforg
    Contributor

    @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).

  8. morevnaproject commented on Dec 29, 2019

    @morevnaproject
    MemberAuthor

    Yes, we need it canvas-specific. ^__^

  9. rodolforg commented on Dec 30, 2019

    @rodolforg
    Contributor

    So, if @maitreyi0505 doesn't mind, I'd like to solve this issue.

  10. morevnaproject commented on Dec 30, 2019

    @morevnaproject
    MemberAuthor

    @rodolforg Awesome! It is yours now! ^__^

  11. unpinned this issue on Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions