Upsampling

Raspberry Pi related support

Upsampling

Postby DomieMic65 » 04 Mar 2017, 22:42

Hi to all..

I want to ask if it is possible to upsamle with Rune.
If yes.. what are the commands that I must give to MPD to do so and how can I undo them in order to play bit perfect again?
Also my DAC supports up to 384KHz how can I set the value of the above command?
Is there an option of "Power of two" upsampling? (I guess I am asking to much?? )

Thank you
Michahel
DomieMic65
 
Posts: 41
Joined: 12 Feb 2017, 21:04

Re: Upsampling

Postby Discovery » 05 Mar 2017, 14:25

Hi DomieMic65,

Upsampling can be achieved. It will require some manual editing of the build. See: tweaking-the-audio-performance-rpi3-t4301-40.html#p19327

This post includes a description of using the SOXR upscaler function, which is the solution to your question.

Regards,

Trevor
Discovery
 
Posts: 110
Joined: 06 May 2015, 08:22
Location: Cambridgeshire, UK

Re: Upsampling

Postby DomieMic65 » 05 Mar 2017, 17:17

DomieMic65
 
Posts: 41
Joined: 12 Feb 2017, 21:04

Re: Upsampling

Postby DomieMic65 » 05 Mar 2017, 17:29

Also other the above method will I be able to upsample to higher frequency?
352,8 for example?

Also is there a way for "power of two" upsampling?

Thanx again!

Sent from my Nexus 5X
DomieMic65
 
Posts: 41
Joined: 12 Feb 2017, 21:04

Re: Upsampling

Postby Discovery » 05 Mar 2017, 19:26

In the example, the upsampling takes the input to 192Khz, i.e. format "192000:24:2". Searching quickly online, there is a reference to using SOXR at 352.8Khz (https://bugs.musicpd.org/view.php?id=4195) but it mentions distortion at these frequencies. It's unclear if the upsampling algorithm itself was to blame so I mention it only as a warning; the only way to find out for your circumstances and equipment is to experiment.

Many DACs are limited to 192 or 256Khz input and may downsample back to these frequencies but I think you are aware of this.

Again, I've looked online, but not quite sure what you mean by 'power of 2' upsampling. Perhaps you can explain if it's significant?

The original thread I sent you is a full set of instructions to incorporate a number of very powerful modifications to the RuneAudio processing. On the right equipment, the sound characteristics are changed noticeably for the better. It does require getting some additional tools, e.g. PuTTY, but this is free. You also need to learn some basic instructions in a Linux file editor (I choose to use Nano but there are others): if you are careful you can follow all the instructions int the post without too much difficulty. Hint: the coloured text is actual instructions to be entered, or the new or changed content; the rest is just to show where the coloured text needs to be changed or inserted.

As you are interested, I suggest you read the whole thread from the beginning. There are many ideas and suggestions and my post just combines and summarises the ones that a number of us have found work well.

I hope this helps.

p.s. This forum is completely international. I, for example, live in Huntingdon - the home town of many great English hi-fi companies (Quad, Meridian, Cyrus Audio, Audiolab, etc.). The modifications in the thread originated in Denmark. Where are you in the world? :)
Discovery
 
Posts: 110
Joined: 06 May 2015, 08:22
Location: Cambridgeshire, UK

Re: Upsampling

Postby DomieMic65 » 05 Mar 2017, 20:11

I am in Greece!
For sure I will read it again and again.

Power of two upsampling means to upsamplele x2, x4 etc to the maximum ability of the DAC the 44,1 and 48KHz separately in order the "math" is done correctly!
So 44,1 goes up to 352,8 but 48 goes up to 384.
The programme must be able to recognize the initial sample rate in order to do the right math

Sent from my Nexus 5X
DomieMic65
 
Posts: 41
Joined: 12 Feb 2017, 21:04

Re: Upsampling

Postby DomieMic65 » 05 Mar 2017, 21:10

I also want to add that 256 is referring to DSD not PCM

Sent from my Nexus 5X
DomieMic65
 
Posts: 41
Joined: 12 Feb 2017, 21:04

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 37 guests
cron