Best Alternative for Real-Time Spectrogram Visualization in Qt
-
Hello Qt Community,
I'm working on a real-time spectrogram visualization application in C++/Qt and would like some advice on the best approach to achieve this. I'm very new to QML. Here's what I've done so far:
- Current Implementation:
-
I have a Spectrogram class that computes the spectrogram using FFTW.
-
The spectrogram data is computed and emitted as a QVector<QVector<double>>. Its size could be something like 50 x 500, or a bit bigger.
-
I'm using QML in the front-end already, so I guess I could leverage some QML item (if the performance is good enough).
- Challenges:
-
I think ColorMap in QtCharts works, but I'm not sure if it's the most efficient or flexible solution for real-time updates.
-
I need to refresh the spectrogram every 15 ms, and I'm concerned about performance. This app is not running on an NVIDIA powered GPU card, just typical consumer integrated graphics.
- What I'm Looking For:
-
Are there better alternatives within Qt for real-time spectrogram visualization?
-
Should I consider using QCustomPlot or another library instead of QtCharts?
-
Are there any best practices or examples for handling real-time data visualization in Qt?
Thanks for your input!