Stable: 2.5.2
Development: 2.6-alpha3
Hi,
first of all BIG THX for this player - awesome program and features (themes!), a job well done.
Will it be possible to implement some sort of music visualization option in the future?
Something like this:
https://github.com/dpayne/cli-visualizer
It could reside at the bottom of the MOC window (maybe could be configuralbe from config file - colors, position, bar thickness etc)
tomaszg
Sat, 2018-07-21 11:44
Permalink
For a time being - you might
For a time being - you might try running MOC inside screen with horizontally split display and just run MOC in top part and cli-visualizer in the bottom.
jcf
Sat, 2018-07-21 19:31
Permalink
Where To Put The New Toys?
I have long intended to include some kind of visualisation... but it's still on the TODO list (along with all the other things I want to do once I get through the backlog of contributions and higher priority work).
My current thinking is a fairly simple one; something like the volume bars displayed by SoX's play(1). Other visuals might also be possible, and I will have a look at cli-visualizer (once it moves off GitHub).
But there are two considerations at present: the lack of screen real estate (which you've also identified), and the amount of data traffic from the server to the client(s). I do have a solution to the first, and the second may be a non-issue with other data transfer mechanisisms.
tomaszg
Sat, 2018-07-21 23:31
Permalink
I don't think MOC should
I don't think MOC should provide some fancy visualization. Volume bars would be nice, but more than that could be provided by external tools (using e.g. split screen).
I looked at this cli-visualizer and couldn't get it to work with ALSA. However it might be possible to relatively easily patch MOC provide FIFO file like MPD does. However I don't know how MPD deals with blocking issue of FIFO file. Other solution would be to move to the Pulse Audio when the plugin hits the tree.
kmws
Sat, 2018-07-21 23:37
Permalink
***
projectM was suggested in another thread a few years ago. I don't know if it is still relevant, though.
tomaszg
Sat, 2018-07-21 23:41
Permalink
As far as I understand the
As far as I understand the same things apply - you either need to patch MOC to interface with libprojectm, or switch to Pulseaudio.