Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Sound file editor widget

Sound file editor widget

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 2.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mike1127
    wrote on last edited by
    #1

    I need to add very basic sound file editing capabilities to a Qt project (in this case a PyQt project). Anyone know of existing widgets? Or any existing capabilities that would be relevant?

    The editor needs to be part of my program. I realize there are abundant choices in sound file editor programs, but for one thing they have far more capability (and complexity) than I need. And the user needs to be able to launch this editor as part of my program.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gorbatschow
      wrote on last edited by
      #2

      I have not seen anything like it... What specific tasks must decide widget ? May be audio track visualisation ?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mike1127
        wrote on last edited by
        #3

        Visualize audio track, position start and end cursor, play back sound from start to end cursor, delete portions of track, that's pretty much it.

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gorbatschow
          wrote on last edited by
          #4

          How about if you take as a basis some plotting widget (qwt, qcustomplot...) ?
          I do not think that is problem to edit plot and draw cursor with some frequency on it.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mike1127
            wrote on last edited by
            #5

            You English is a little difficult, but if I understand you, you are right, the user will not be drawing waveforms. The cursor will only be used to select portions of the existing waveform.

            The algorithm for plotting the waveform is so simple that it could be done easy with a QCanvas (or Graphics View). The trick is allowing the user to place markets, indicate them visually, and drag them around. Also I will need to hook this into the Windows sound playback "PortAudio" perhaps.

            1 Reply Last reply
            0
            • G Offline
              G Offline
              gorbatschow
              wrote on last edited by
              #6

              Sorry for my english, it's awful.
              I see the statement of the problem as follows:
              Visualization of the audio file with a constant sampling rate. These data, of course should be stored in the container (or two containres - time and level).
              Since the markers represent time it is possible to use a container to graphically identify intervals in audio track.
              Finally, you just need to draw a line on the plot, that you can move along the time axis from points of the container.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved