How to upsample the audio output?


#1

Hi all,

I’ m using Mopidy with great pleasure for the last few month. To test some capabilities of my new usb DAC, I would like to upsample the output to 24/192. However, I can’ t seem to find any documentation about Mopidy and Upsampling ( or I just don’ t understand the way how to do it). I checked the advanced audio setup page, but that doesn’t seem to answer my question, or does it? Some pointers are very welcome, thx!


#2

Found the needed info here:
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-audioresample.html

I can now throw different rates and formats at my usb dac:

[audio]
output = audioconvert ! audioresample ! audio/x-raw,rate=192000,channels=2,format=S24_32LE ! alsasink device=plughw:1,0