Upsampling

Hallo. Ich nutzte Audirvana Studio und einen Lampizator Amber 3 DAC. Bei 24 Bit Dateien zeigt Audirvana, dass der DAC 32 Bit abspielt. Ich gehe davon aus, dass Upsampling in den Einstellungen von Audirvana deaktiviert ist. Habe ich doch etwas falsch eingestellt, oder arbeitet der DAC selbstständig mit 32 Bit? Interessanterweise zeigt Audirvana bei 16 Bit Dateien an, dass Audirvana auch 16 Bit abspielt. Würde mich freuen wenn jemand hierzu etwas sagen kann.

Hi @Ruggell1,

Can you send us a copy of the "Debug Info“ when you have selected your device? You can get it in Audirvana Settings>My account.

Note: When you click on the Debug Info button, Audirvana automatically copies all its content. Please paste it in response to this email.

Hi Antoine. Thanks for your support.
Here the Debug Info:

Audirvana Studio 2.8.2 (20802)

macOS 13.6.7 with 64GB physical RAM

Connected account of : Stephan Sude

NETWORK
Status: available

SIGNAL PROCESSING:

Polarity Inversion:
	Globally: OFF
	Per track: ON
Effects plugins NOT ACTIVE

UPSAMPLING:
r8brain not in use
r8brain filter parameters
Bandwidth = 99.5%
Stop band attenuation 218dB
Phase linear

AUDIO VOLUME:
Max allowed volume: 100
Replay Gain: by album
SW volume control: OFF

LIBRARY SETTINGS:
Sync list: 1 folders
AUTO: /Users/admin/Desktop/Musik Ordner
iTunes/Music library synchronization: last synchronized on Wed Nov 22 16:35:14 2023

Library database path: /Users/admin/Library/Application Support/Audirvana/AudirvanaDatabase.sqlite

Local audio files fingerprinting
Tracks with no MBID: 5471

Remote Control server:
Listening on 127.0.0.1 on port 63970

ACTIVE STREAMING SERVICES
Qobuz: Connected as Qobuz Hi-Fi Sublime+

APPEARANCE SETTINGS:
UI theme: light
Font size: regular
Language: Deutsch
Show album covers in tracks list: yes
Source list sorted:
Meine Musik
Radios
Podcasts
Streaming
Lokal
Startup view: Meine Musik: Alben
Show local extended in source list: yes
Use media keys: yes
Use media keys for volume control: yes
Use Apple Remote: yes
Number of paired remotes: 1
Remote pairing code required: yes
Screen saver disabled: yes

=================== AUDIO DEVICE ========================

Active method: Local

Max. memory for audio buffers: 64270MB

Local Audio Engine: CoreAudio
Exclusive access: ON
Integer mode: ON
Use max I/O buffer size: ON
Actual I/O buffer frame size: 512

Preferred device:
JLsounds Lampizator
Model UID:Lampizator:20B1:2023
UID:AppleUSBAudioEngine:JLsounds:Lampizator:14300000:1

Currently playing in Integer Mode:
Device: 2ch Non-mixable linear PCM Interleaved 32bits little endian Signed Integer, 8 bytes per frame 96kHz

Active Sample Rate: 96kHz
Hog Mode is on

Bridge settings:
Sample rate limitation: none
Sample rate switching latency: none
Limit bitdepth to 24bit: OFF
Mute during sample rate change: OFF

Selected device:Lampizator
Manufacturer: JLsounds
Model name: JLsounds Lampizator
Model UID: Lampizator:20B1:2023
UID: AppleUSBAudioEngine:JLsounds:Lampizator:14300000:1
USB Vendor ID: 0x20b1
USB Product ID: 0x2023
ID 0x5c

10 available sample rates up to 768000Hz
44100
48000
88200
96000
176400
192000
352800
384000
705600
768000
Audio buffer frame size : 14 to 4096 frames
Current I/O buffer frame size : 512

Volume Control
Physical: No
Virtual: No
Max volume alert: Enabled

MQA capability
Auto-detect MQA devices: No
Not automatically detected, user set to not MQA

DSD capability
DSD via PCM 1.0

Device audio channels
Preferred stereo channels L:1 R:2
Channel bitmap: Ox3, layout:
Channel 0 mapped to 0
Channel 1 mapped to 1

Audio channels in use
Number of channels: 2
Use as stereo device only: No
Simple stereo device: Yes

1 output streams:
Number of active channels: 2, in 1 stream(s)
Channel #0 :Stream 0 channel 0
Channel #1 :Stream 0 channel 1

Stream ID 0x5d 2 channels starting at 1
30 virtual formats:
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 768kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 705.6kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 384kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 352.8kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 192kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 176.4kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 96kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 88.2kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 48kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 44.1kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 768kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 705.6kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 384kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 352.8kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 192kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 176.4kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 96kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 88.2kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 48kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 44.1kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 768kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 705.6kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 384kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 352.8kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 192kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 176.4kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 96kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 88.2kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 48kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 44.1kHz

40 physical formats
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 768kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 705.6kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 384kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 352.8kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 192kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 176.4kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 96kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 88.2kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 48kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Integer 44.1kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 768kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 705.6kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 384kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 352.8kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 192kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 176.4kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 96kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 88.2kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 48kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 44.1kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 768kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 705.6kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 384kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 352.8kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 192kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 176.4kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 96kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 88.2kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 48kHz
2 ch Non-mixable linear PCM Interleaved 32 little endian Signed Integer 44.1kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 768kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 705.6kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 384kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 352.8kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 192kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 176.4kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 96kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 88.2kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 48kHz
2 ch Non-mixable linear PCM Interleaved 16 little endian Signed Integer 44.1kHz

Local devices found : 2
Device #0: ID 0x52 Ausgang (integriert)
Manufacturer: Apple Inc.
Model UID: AppleHDA:16
UID: AppleHDAEngineOutput:1F,3,0,1,1:0
Model name: Apple Inc. Ausgang (integriert)
Device #1: ID 0x5c Lampizator
Manufacturer: JLsounds
Model UID: Lampizator:20B1:2023
UID: AppleUSBAudioEngine:JLsounds:Lampizator:14300000:1
USB Vendor ID: 0x20b1
USB Product ID: 0x2023
Model name: JLsounds Lampizator

UPnP

UPnP devices found : 0

Chromecast

Chromecast devices found : 0

As you can see :point_up_2: your device doesn’t state 24 bit in it’s format.

All that Audirvana does if it changes bit levels (16 to 24, or 24 to 32) is “zero padding.” This just means putting zeroes in the lowest bit registers. It doesn’t affect anything, any more than writing “1.00000000” instead of “1” affects the quantity. And neither does the reverse, such as when a 24-bit device is in the chain - that’s just changing “1.00000000” back to “1” again. No dither involved either way.

So, it’s the Lampizator operating like this. And as I understand you, that does not change sound quality. By the way – it does sound really nice. I just was irritated, as my older DAC (and cheaper) King Res UD 384 operated always as shown from the Qobuz. Thanks for your support! Best Stephan

You understood right :wink:

1 Like

Performance related…
I suggest that you reduce your playback pre-load memory allocation to 8GB for best performance… you are allocating nearly 100% of your System RAM for playback pre-load memory.

:notes: :eye: :headphones: :eye: :notes:

This îs wrong. If the software works correctly, and for me works ok in Windows, it should NEVER use that amount of memory. NEVER, because îs not necesary. Just a theoretical maximum value. Only If memory leaks occure. I saw many times some users have an obsession with this buffer setting. Yes, makes sense what you said but only when you have little RAM, less than 16 GB imo for a regular user.

I’m not sure you understand the OP has 64GB of System RAM and is allocating 64270MB (64GB) for playback buffering…

So yes, there must be some understanding, regarding how much playback buffer RAM is necessary in the context of the general file playback strategy… If there is need for more RAM, it is there in spades in the context of Audirvana as the player.

More System RAM is always better for System performance…

:notes: :eye: :headphones: :eye: :notes:

Ok, sorry for offtoic, maybe IT îs safe. In fact I use 3072 MB. But I usually don’t play DSD.

Sorry, but I have to admit, I do only understand this technical details on an amateur level :slight_smile: It seems that it doesn’t matter how much RAM I reserve for Audirvana. First: I listen to music and then I don’t work. Second: even if I do some work at the same time as Audirvana is operating, it doesn’t effect the performance of my IMac. At least doing minor works on the computer. Maybe Audirvana just uses a smaller slice of the RAM?

I have looked at AS ram usage with a Mac in various nonupsampling/upsampling scenarios. If you do not upsample AS typically buffers and uses 0.6 GB ram for 16/44.1 files. If you have a lot of 24/192 files maybe up to 2 GB. If you upsample to 768 kHz or serious upsampling to DSD256 then it will typically use up to 6GB ram. No need to allocate more RAM for buffering unless you apply plug ins etc etc. I have a Mac with 128 GB ram and set the max RAM for buffering at 6GB. Never had an issue with network or USB playback.

Best to leave RAM for the OS and apps if you use your system for work also. The more RAM you allocate for buffering the more AS will use before flushing the RAM based on my surveillance of system RAM usage. Getting the balance right is important for those with lower levels of RAM in their system. As a consideration a Mac allocates “wired” RAM for the macOS kernel. This uses 1-3 GB RAM, depending on the computer/os version, so in a system with 8GB ram personally I would not set the buffer as more than 4GB even if the Mac was dedicated to AS alone to avoid any issues with significant swap file manipulation. This may mean AS only partially buffers a long 25 min classical DSD128 track but not had any playback issues with an M series re buffering partway through a track. Your experience with a very old Core i5 Mac may be a lot less desirable in this case however.

As far as CPU usage on an M series Mac is not an issue, typically about 2-20% of one core (depending on what is being processed at the time) My M series Mac has a 16 core processor so basically nothing. Even a basic M1 has 8 cores so not an issue.

Have in the past used the first M1 MacBook Air with 8GB ram. Set the buffer to 4GB and never had an issue unless I was also processing 64.8 mega pixel raw image files at the same time which would slow the photography app due to swap file use kicking in to a very significant degree. Used to get a bit sluggish with any significant RAM hungry app from Adobe or Autodesk also.

So ultimately how much RAM you allocate to the buffer depends on how much you have and your use case for the Mac when also playing music with AS. But based on my analysis of RAM usage of AS with upsampling then allocating more RAM than is required to buffer a complete track at your highest desired sample rate is a bit pointless. RAM has the largest impact on your computers performance, use it wisely, it is also pretty damned expensive in a Mac……….

1 Like

To add to @Djm1960 's statement…

Stereo DSD64 (64 x 44.1kHz) generates:

2 x 44100 x 64/8 = 705600 bytes per second

705600 x 60/1048576 = 40.375 megabytes [actually mebibytes] (MiB)] per minute [Reference: Specific units of IEC 60027-2 A.2 and ISO/IEC 80000:13-2008]

705600 x 60 x 60/1048576/1024 = 2.3657 gigabytes (GB) per hour

Therefore:
DSD128 = 4.7314 GB/hr
DSD256 = 9.4628 GB/hr
DSD512 = 18.2956 GB/hr

So we see that basic 16/44.1kHz files require less playback memory and increases with bit-depth and sample-rate as well as file size/time.

:notes: :eye: :headphones: :eye: :notes: