You are not logged in.

#1 2017-02-23 17:47:22

!llum1nated
Member
Registered: 2017-02-23
Posts: 11

USB Audio Interface: Audiophile Configuration "Focusrite Scarlett 2i2"

Hiya, I need some support for optimal configuration for the USB Audio Interface "Focusrite Scarlett 2i2 (2nd gen)"

I want to put these options for this specific USB interface only:

format S24_LE
channels 2 
rate 192000


Right now my ~/.asoundrc is empty and /etc/asound.conf contains the default config.

This is the hardware info:

# cat /proc/asound/cards
3 [USB            ]: USB-Audio - Scarlett 2i2 USB
                      Focusrite Scarlett 2i2 USB at usb-0000:00:1d.7-5, high speed


# aplay -l
card 3: USB [Scarlett 2i2 USB], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0


What settings do I need to configure? Is there some expert or audiophile here? :-)

Offline

#2 2017-02-23 17:51:36

!llum1nated
Member
Registered: 2017-02-23
Posts: 11

Re: USB Audio Interface: Audiophile Configuration "Focusrite Scarlett 2i2"

This is my /etc/asound.conf

# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}

# vim:set ft=alsaconf:

defaults.pcm.rate_converter "speexrate_best"




In /etc/pulse/daemon.conf I have already changed to this;

; default-sample-format = s24le
; default-sample-rate = 192000
; alternate-sample-rate = 192000


But it have no effect when I run speaker-test, I get Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels

Last edited by !llum1nated (2017-02-23 17:57:04)

Offline

#3 2017-03-11 15:35:47

!llum1nated
Member
Registered: 2017-02-23
Posts: 11

Re: USB Audio Interface: Audiophile Configuration "Focusrite Scarlett 2i2"

Its disappointing that nobody knows the answer???

Are there any audiophiles here? I need some help here please.

Offline

#4 2017-03-11 15:41:34

!llum1nated
Member
Registered: 2017-02-23
Posts: 11

Re: USB Audio Interface: Audiophile Configuration "Focusrite Scarlett 2i2"

This post have 100 views but why no answer then? I'm only n00b, but are there more n00bs here than me? What is going on here?

Offline

#5 2017-03-11 19:55:11

Radokat
Member
Registered: 2017-03-11
Posts: 2

Re: USB Audio Interface: Audiophile Configuration "Focusrite Scarlett 2i2"

Hey,

just registered to help you out - to get the stuff in /etc/pulse/daemon.conf working, you need to remove the ";" in front of the values you changed.
I had the same problem today as i wanted to get my Dragonfly working smile

You also might change "resample-method" to "speex-float-10" if you have the CPU to spare.
I'm currently using "speex-float-5" - if i change it to 10 my system is at 100% all the time.

Hope this helps.

Last edited by Radokat (2017-03-11 20:24:13)

Offline

#6 2017-03-12 15:58:30

!llum1nated
Member
Registered: 2017-02-23
Posts: 11

Re: USB Audio Interface: Audiophile Configuration "Focusrite Scarlett 2i2"

Thanks for your kind response. Well I hope these settings are working now. My pc is a 3ghz quad core, 8gb ram. When I put speex-float-10 the sound is gibberish, but speex-float-5 works nice. I got Rokit 5 G3 with Scarlett 2i2(2nd gen) and the sound is so crystal clear now.

If you got any tips, tweaks or improvements let me know. This is my config now in /etc/pulse/daemon.conf


high-priority = yes
nice-level = -15
realtime-scheduling = yes
realtime-priority = 5
resample-method = speex-float-5
default-sample-format = s24le
default-sample-rate = 192000
default-sample-channels = 2
default-channel-map = front-left,front-right
default-fragments = 5
default-fragment-size-msec = 1
deferred-volume-extra-delay-usec = 0
rlimit-fsize = -1
rlimit-data = -1
rlimit-stack = -1
rlimit-core = -1
rlimit-as = -1
rlimit-rss = -1
rlimit-nproc = -1
rlimit-nofile = 256
rlimit-memlock = -1
rlimit-locks = -1
rlimit-sigpending = -1
rlimit-msgqueue = -1
rlimit-nice = 31
rlimit-rtprio = 9
rlimit-rttime = 200000

Last edited by !llum1nated (2017-03-12 17:09:35)

Offline

#7 2017-03-12 16:56:11

Radokat
Member
Registered: 2017-03-11
Posts: 2

Re: USB Audio Interface: Audiophile Configuration "Focusrite Scarlett 2i2"

Settings looking good.

You can check if everything runs as configured with:

 
pacmd list-sinks  | grep sample

Offline

#8 2017-03-12 17:08:10

!llum1nated
Member
Registered: 2017-02-23
Posts: 11

Re: USB Audio Interface: Audiophile Configuration "Focusrite Scarlett 2i2"

I get:

$ pacmd list-sinks  | grep sample
    sample spec: s16le 2ch 48000Hz
    sample spec: s32le 2ch 192000Hz
    sample spec: s16le 2ch 48000Hz
    sample spec: s32le 2ch 192000Hz

Offline

Board footer

Powered by FluxBB