Search found 4 matches

by lagfra
June 4th, 2019, 11:23 am
Forum: Other Clients
Topic: I made a music visualizer based on MPD fifo output
Replies: 7
Views: 2550

Re: I made a music visualizer based on MPD fifo output

What external API? There's just one external API: the MPD protocol, but it cannot access any audio data. My bad, I meant the internal API. I guess there's no API to directly access a data stream provided by MPD then? I'll start with the encoder plugin for now, thanks for all the help! I'm going to ...
by lagfra
June 4th, 2019, 10:39 am
Forum: Other Clients
Topic: I made a music visualizer based on MPD fifo output
Replies: 7
Views: 2550

Re: I made a music visualizer based on MPD fifo output

Doing FFT inside MPD means only a very reduced stream of data must be transmitted to the client, which helps a lot. At least one, sometimes two steps of format conversion can be omitted. I like the idea. What you are suggesting is to build a plugin which can: * Read data from MPD in chunks (I guess...
by lagfra
June 4th, 2019, 9:45 am
Forum: Other Clients
Topic: I made a music visualizer based on MPD fifo output
Replies: 7
Views: 2550

Re: I made a music visualizer based on MPD fifo output

While I agree that the FIFO output is a bad idea, producing a FFT output is quite heavy on the CPU and I think it would be best if left to the visualizer/client. This also allow for proper customization of the data elaboration process. I had the idea of using TCP sockets to stream data to the client...
by lagfra
June 3rd, 2019, 5:59 pm
Forum: Other Clients
Topic: I made a music visualizer based on MPD fifo output
Replies: 7
Views: 2550

I made a music visualizer based on MPD fifo output

Hi everyone, I'm looking for opinions / advice on this little thing I made: https://github.com/gallafrancesco/mvc It's a curses-based music visualizer written in C99 which only depends on ncurses and a C compiler. The aim was to have an extremely lightweight, self contained music visualizer which on...