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.

PyQt/PySide 1:1 Coaching with Martin Fitzpatrick — Get one on one help with your Python GUI projects. Working together with you I'll identify issues and suggest fixes, from bugs and usability to architecture and maintainability.

Book Now 60 mins ($195)


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

Thanks Martin,

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

Create GUI Applications with Python & Qt5 by Martin Fitzpatrick — (PyQt5 Edition) The hands-on guide to making apps with Python — Over 10,000 copies sold!

More info Get the book

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

thanks again


Over 10,000 developers have bought Create GUI Applications with Python & Qt!
Create GUI Applications with Python & Qt6
Take a look

Downloadable ebook (PDF, ePub) & Complete Source code

Also available from Leanpub and Amazon Paperback

[[ 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
Martin Fitzpatrick

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. Martin founded PythonGUIs to provide easy to follow GUI programming tutorials to the Python community. He has written a number of popular Python books on the subject.