Advice on GUI toolkits

Programming applications for making music on Linux.

Moderators: MattKingUSA, khz

ventosus
Established Member
Posts: 30
Joined: Sat Jun 27, 2015 6:29 pm
Contact:

Re: Advice on GUI toolkits

Post by ventosus »

Do you need user input?
As you seem mainly wanting to do visualizations and ploting, you may want to look into a vector graphics library.

Cairo [1] comes to mind. There are also plotting libraries [2] based on the latter.

[1] https://cairographics.org/
[2] https://kristaps.bsd.lv/kplot/

User avatar
CrocoDuck
Established Member
Posts: 1099
Joined: Sat May 05, 2012 6:12 pm
Contact:

Re: Advice on GUI toolkits

Post by CrocoDuck »

ventosus wrote:Do you need user input?
Yes, at least at some point in the future. For example, I would like to create a realtime time domain / frequency domain analyzer inspired by this, although perhaps in many cases I will be fine in just displaying the results of calculations.
ventosus wrote:Cairo [1] comes to mind. There are also plotting libraries [2] based on the latter.

[1] https://cairographics.org/
[2] https://kristaps.bsd.lv/kplot/
Cool stuff!
Check my Linux audio experiments on my SoundCloud.
Browse my AUR packages.
Fancying a swim in the pond?

fundamental
Established Member
Posts: 160
Joined: Thu Nov 07, 2013 1:19 pm

Re: Advice on GUI toolkits

Post by fundamental »

CrocoDuck wrote:
fundamental wrote:Otherwise you're stuck implementing a lot of event handling, a ton of drawing routines, and stuck researching a lot of moderately interesting "how should the user reasonably interact with XYZ".
I am quite positive I want to avoid that. In fact, I was wondering whether there is some toolkit that at least makes 2D plots straightforward. This is the sort of stuff I am used to, and I would like to retain the capability of doing most of the plots in the examples, but without having to break my brains. Maybe I am best to look into Qt first.
Qt is a good option, though I'd be careful around QML as that part of the toolkit is still evolving and may be more confusing than you'd want to start out with. If you do go with Qt I would utilize the Qwt ( http://qwt.sourceforge.net/ ) library for plotting widgets.
ZynAddSubFX maintainer

Post Reply