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.

Packaging Python Applications with PyInstaller by Martin Fitzpatrick — This step-by-step guide walks you through packaging your own Python applications from simple examples to complete installers and signed executables.

More info Get the book


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 & Qt6 by Martin Fitzpatrick — (PyQt6 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


1:1 Coaching & Tutoring for your Python GUIs project
Martin Fitzpatrick Python GUIs Coaching & Training
60 mins ($195) Book Now

1:1 Python GUIs Coaching & Training

Comprehensive code reviewBugfixes & improvements • Maintainability advice and architecture improvements • Design and usability assessment • Suggestions and tips to expand your knowledgePackaging and distribution help for Windows, Mac & Linux • Find out more.

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 https://www.martinfitzpatrick.com/browse/books/ on the subject.