# Mopidy Music Visualization

**URL:** <https://discourse.mopidy.com/t/mopidy-music-visualization/5873>\
**Category:** Help and support\
**Created:** [December 28, 2023, 3:23am UTC](https://discourse.mopidy.com/t/mopidy-music-visualization/5873 "2023-12-28T03:23:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Atlanta\_Geek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/atlanta_geek/32/2415_2.png) [@Atlanta\_Geek](https://discourse.mopidy.com/u/Atlanta_Geek)\
**Post date:** [December 28, 2023, 3:23am UTC](https://discourse.mopidy.com/t/mopidy-music-visualization/5873/1 "2023-12-28T03:23:17Z")

</div>

I’m using mopidy and am trying to build an appealing music visualization to display on my home entertainment system when listening to music.  
Has anyone had any luck getting glava to work with mopidy

I can get it to run with mopidy but the update speed is pretty slow. Im using the following output function  
output = tee name=t ! queue ! audioconvert ! audioresample ! autoaudiosink t. ! queue ! audioresample ! audio/x-raw,rate=44100,channels=2,format=S16LE,quality=10 ! audioconvert ! wavenc ! filesink location=/tmp/mpd.fifo

Any suggestions would be appreciated.

---

<div class="post-metadata">

**Author:** ![Matthias\_Meulien](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/matthias_meulien/32/2260_2.png) [@Matthias\_Meulien](https://discourse.mopidy.com/u/Matthias_Meulien)\
**Post date:** [January 4, 2024, 9:12pm UTC](https://discourse.mopidy.com/t/mopidy-music-visualization/5873/2 "2024-01-04T21:12:00Z")

</div>

I don’t have any suggestion but I am very interested in your progress… That said I am running Mopidy on a Raspberry Pi 2 Model B, so resources are limited on my side!

Thanks to keep us informed!

---

<div class="post-metadata">

**Author:** ![Atlanta\_Geek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/atlanta_geek/32/2415_2.png) [@Atlanta\_Geek](https://discourse.mopidy.com/u/Atlanta_Geek)\
**Post date:** [January 4, 2024, 9:49pm UTC](https://discourse.mopidy.com/t/mopidy-music-visualization/5873/3 "2024-01-04T21:49:34Z")

</div>

I do have something working

 ![PXL_20240102_031736486 (1)](https://canada1.discourse-cdn.com/flex036/uploads/mopidy/original/2X/e/eb60c2740a47269b5da4a8536481311a12001af8.jpeg)  
If interested I can post what I did here when I get home. Was not sure if anyone was interested.

There were fancier visualizations but my RPI 400 could not keep up when displaying on a 4K tv.  
I am thinking about picking up a Dell Optiplex ($100 on ebay) to server as my mopidy player and music server.

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [January 4, 2024, 11:23pm UTC](https://discourse.mopidy.com/t/mopidy-music-visualization/5873/4 "2024-01-04T23:23:59Z")

</div>

Can you move the tee after the audio convert and resampler so you only do it once? The wavencoder might be redundant depending on what’s reading the FIFO (but that probably has minimal perf impact).

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [January 5, 2024, 11:12am UTC](https://discourse.mopidy.com/t/mopidy-music-visualization/5873/5 "2024-01-05T11:12:15Z")

</div>

> [@Atlanta\_Geek](#):
>
> glava

And don’t their docs recommend a much lower sample rate? Did you try that? And also reducing the quality of your `audioresample`, do you really need the best (10) ?!

---

<div class="post-metadata">

**Author:** ![Atlanta\_Geek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/atlanta_geek/32/2415_2.png) [@Atlanta\_Geek](https://discourse.mopidy.com/u/Atlanta_Geek)\
**Post date:** [January 6, 2024, 12:25am UTC](https://discourse.mopidy.com/t/mopidy-music-visualization/5873/6 "2024-01-06T00:25:14Z")

</div>

Thanks will try this. Im not using glava anymore though.

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/system/32/1_2.png) [@system](https://discourse.mopidy.com/u/system)\
**Post date:** [July 6, 2024, 12:25pm UTC](https://discourse.mopidy.com/t/mopidy-music-visualization/5873/7 "2024-07-06T12:25:17Z")

</div>

Closed on July 6, 2024, 12:25pm UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
