Interactive Audio Editor - plotting

Heads up! You've already completed this tutorial.

tcarson4344 | 2020-05-25 18:50:14 UTC | #1

is pyqtgraph the best choice if I wanted to build an audio editor? I know there are a lot of good free audio editors out there, but I and looking to do something meant for sound quality engineering. the screenshot below shows the left and right time series at the bottom with the running spectrum and some dsp filtering in the top plot. Looking for ideas to accomplish in python

image|614x354


martin | 2020-05-25 19:38:31 UTC | #2

Yep, for something like this I would definitely recommend PyQtGraph. It's got two main advantages over matplotlib --

  1. it uses native Qt drawing, so it's fast, but you can also extend with custom widgets to add markers/etc. very easily.
  2. interactions are far more natural, particularly for zooming panning

I created something similar for NMR spectra, with a overview plot and then scalable/zoomable main plot + annotations. You can take a look here if it helps https://github.com/mfitzp/nmrbrew/blob/master/nmrbrew/spectra.py

There will be some more PyQtGraph tutorials in future, so if there is something specific you need let me know.


tcarson4344 | 2020-05-25 19:38:21 UTC | #3

Thanks Martin,

I will start playing with PyQtGraph. I will also look at the link.

I have some more basic questions, But I will start another topic.

thanks again


The complete guide to packaging Python GUI applications with PyInstaller.
[[ discount.discount_pc ]]% OFF for the next [[ discount.duration ]] [[discount.description ]] with the code [[ discount.coupon_code ]]

Purchasing Power Parity

Developers in [[ country ]] get [[ discount.discount_pc ]]% OFF on all books & courses with code [[ discount.coupon_code ]]
Well done, you've finished this tutorial! Mark As Complete
[[ user.completed.length ]] completed [[ user.streak+1 ]] day streak

Interactive Audio Editor - plotting was written by Martin Fitzpatrick .

Martin Fitzpatrick has been developing Python/Qt apps for 8 years. Building desktop applications to make data-analysis tools more user-friendly, Python was the obvious choice. Starting with Tk, later moving to wxWidgets and finally adopting PyQt.