Knackser bei 44.1 kHz

marco93

Shnitzled in the Negev
Hi ,

bei einer in Cadence eingestellten Samplingrate von 44.1 kHz bekomme ich regelmäßig kurze Knackser. Bei 48 kHz ist alles ok. Das Zoom R8 sollte im Interfacemodus aber beide Samplingraten unterstützen. Mit der Buffergröße habe ich schon rumgespielt, daran liegt es nicht. Jemand eine Idee?
 
Die Einstellungen stimmen?
Laut Psychotronic => viewtopic.php?p=1157217#p1157217 im Video ab ~5.00 min:
Bei "Pulseaudio Volume Control" keine Soundcard auswählen, reboot.
In Cadence "Force Restart" drücken,
jack starten.
Jack-Bridges installieren falls noch nicht vorhanden und "ALSA -> PulseAudio -> Jack" auswählen.
"ALSA MIDI Bridge" starten (in qjackctl nutze ich a2jmidid, dürfte also ein Paket in der Art von a2jmidi_bridge sein).
PulseAudio starten.
Manual : ALSA and KXStudio
JACK Configuration
?

Ist in der /etc/fstab ein Eintrag bzg.
Code:
none /tmp tmpfs defaults
- oder ähnlich - gemacht
http://www.linux-magazin.de/Ausgaben/2005/09/Steckplatz2
?

/etc/security/limits.conf eingetragen http://wiki.linuxaudio.org/wiki/system_configuration#limitsconfaudioconf
?

QuickScan mal gemacht http://wiki.linuxaudio.org/wiki/system_configuration#quickscan
?
 
@KHZ: Danke, das Video war super, auch wenn es mich nicht wirklich weiter gebracht hat. Ich denke, dass es irgendwie am Zoom liegt, denn mit einem Dr. DAC Nano, welches ich gerade getestet habe, habe ich weder bei 44.1 noch bei 48 kHz Probleme (mit sonst den gleichen Einstellungen). Gerade fiel mir beim Zoom auch auf, dass bei 44.1 kHz der Ton etwas dumpfer und enger ist. Bei 48 kHz klingt es deutlich ! besser.

Pulse audio habe ich nicht nachinstalliert, das kommt ja bei KXStudio standardmäßig nicht mit und bisher habe ich es noch nicht gebraucht. Ich hänge das Zoom jetzt mal einen Windows Rechner und schau, wie es sich da verhält.
 
Für meinige immer gleiche wiederkehrenden Antworten möchte ich mal sry sagen, aber 80% von fehlenden/falschen Einstellungen davon kann das schon mal abdecken.
Der RT-Quikscan ist super IMHO, auch wenn man nicht alles umsetzen muss ist es doch schon einmal ein guter Ausgangspunkt wie sein System config ist.
Pulseaudio brauch man nicht wirklich, weiterer ~Soundserver. Habe ich auch nicht.

Die Befehle
Code:
 lsusb
Code:
aplay -l
geben was (dein R8) aus?
Sollte Standard Kerneltreiber sein - out of the Box (ALSA-USB).

"sleep 2 && a2jmidi -e &" ist install und in Jack "[X] Skript nach Start ausführen"?

Einstellung von Jack für R8/16/24: https://linuxmusicians.com/viewtopic.php?t=11345

An anderen USB-Port's mal getestet?
 
Danke, ich check das alles nochmal später und meld mich dann. Mit Windoof konnte ich nichts ausser 96 kHz einstellen.
 
moin,
laut zoom kann das Interface auch nur 96khz, auf 48khz runterrechnen is ja kein problem da genau die hälfte. Bei 44.1 gibts dann halt dropouts.
Gruß
O===O___
 
  • Daumen hoch
M.i.a.u.: khz
wenn ja soltest du im alsamixer oder sonstiger Gui die Samplingrate einstellen können,
ich find allerdings nirgends eine Info das das USB-Interface was anderes als 96khz kann,
intern kann das zoom mit 44,2/48khz aufnehmen.
 
  • Daumen hoch
M.i.a.u.: khz
Code:
fox@fox-MS-7817:~$ git clone git://github.com/raboof/realtimeconfigquickscan.git
fatal: Zielpfad 'realtimeconfigquickscan' existiert bereits und ist kein leeres Verzeichnis.
fox@fox-MS-7817:~$ cd realtimeconfigquickscan
fox@fox-MS-7817:~/realtimeconfigquickscan$ perl ./realTimeConfigQuickScan.pl
== GUI-enabled checks ==
Checking if you are root... no - good
Checking filesystem 'noatime' parameter... 3.13.0 kernel - good
(relatime is default since 2.6.30)
Checking CPU Governors... CPU 0: 'performance' CPU 1: 'performance' CPU 2: 'performance' CPU 3: 'performance'  - good
Checking swappiness... 10 - good
Checking for resource-intensive background processes... none found - good
Checking checking sysctl inotify max_user_watches... >= 524288 - good
Checking access to the high precision event timer... readable - good
Checking access to the real-time clock... readable - good
Checking whether you're in the 'audio' group... yes - good
Checking for multiple 'audio' groups... no - good
Checking the ability to prioritize processes with chrt... yes - good
Checking kernel support for high resolution timers... found - good
Kernel with Real-Time Preemption... not found - not good
Kernel without real-time capabilities found
For more information, see http://wiki.linuxaudio.org/wiki/system_configuration#installing_a_real-time_kernel
Checking if kernel system timer is set to 1000 hz... found - good
Checking kernel support for tickless timer... found - good
== Other checks ==
Checking filesystem types... ok.
not found.
** Warning: no tmpfs partition mounted on /tmp
   For more information, see:
   - http://wiki.linuxaudio.org/wiki/system_configuration#tmpfs
   - http://lowlatency.linuxaudio.org
** Set $SOUND_CARD_IRQ to the IRQ of your soundcard to enable more checks.
   Find your sound card's IRQ by looking at '/proc/interrupts' and lspci.

Code:
fox@fox-MS-7817:~/realtimeconfigquickscan$  lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub                                                              
Bus 003 Device 007: ID 0835:8502 Action Star Enterprise Co., Ltd                                                            
Bus 003 Device 006: ID 0835:8500 Action Star Enterprise Co., Ltd                                                            
Bus 003 Device 005: ID 046d:c03d Logitech, Inc. M-BT96a Pilot Optical Mouse                                                 
Bus 003 Device 004: ID 046a:0011 Cherry GmbH G83 (RS 6000) Keyboard
Bus 003 Device 003: ID 0835:8501 Action Star Enterprise Co., Ltd 
Bus 003 Device 002: ID 0835:8500 Action Star Enterprise Co., Ltd 
Bus 003 Device 008: ID 1686:014f ZOOM Corporation 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Code:
ox@fox-MS-7817:~$ aplay -l 
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: HDMI [HDA Intel HDMI], Gerät 3: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA Intel HDMI], Gerät 7: HDMI 1 [HDMI 1]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA Intel HDMI], Gerät 8: HDMI 2 [HDMI 2]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: Loopback [Loopback], Gerät 0: Loopback PCM [Loopback PCM]
  Sub-Geräte: 7/8
  Sub-Gerät #0: subdevice #0
  Sub-Gerät #1: subdevice #1
  Sub-Gerät #2: subdevice #2
  Sub-Gerät #3: subdevice #3
  Sub-Gerät #4: subdevice #4
  Sub-Gerät #5: subdevice #5
  Sub-Gerät #6: subdevice #6
  Sub-Gerät #7: subdevice #7
Karte 1: Loopback [Loopback], Gerät 1: Loopback PCM [Loopback PCM]
  Sub-Geräte: 7/8
  Sub-Gerät #0: subdevice #0
  Sub-Gerät #1: subdevice #1
  Sub-Gerät #2: subdevice #2
  Sub-Gerät #3: subdevice #3
  Sub-Gerät #4: subdevice #4
  Sub-Gerät #5: subdevice #5
  Sub-Gerät #6: subdevice #6
  Sub-Gerät #7: subdevice #7
Karte 2: PCH [HDA Intel PCH], Gerät 0: ALC887-VD Analog [ALC887-VD Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 3: R8 [ZOOM R8], Gerät 0: USB Audio [USB Audio]
  Sub-Geräte: 0/1
  Sub-Gerät #0: subdevice #0


Code:
fox@fox-MS-7817:~$ cat /proc/asound/cards 
 0 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7e14000 irq 48
 1 [Loopback       ]: Loopback - Loopback
                      Loopback 1
 2 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7e10000 irq 49
 3 [R8             ]: USB-Audio - ZOOM R8
                      ZOOM Corporation ZOOM R8 at usb-0000:00:14.0-10, high speed



Code:
ox@fox-MS-7817:~$ speaker-test
speaker-test 1.0.27.2

Wiedergabe-Gerät ist default
Stream-Parameter sind 48000 Hz, S16_LE, 1 Kanäle
Verwende 16 Oktaven rosa Rauschen
Rate ist 48000 Hz (angefordert: 48000 Hz)
Puffergröße von 2048 bis 4096
Periodengröße von 1024 bis 1024
Verwende maximale Puffergröße 4096
Perioden = 4
gesetzt: period_size = 1024
gesetzt: buffer_size = 4096
 0 - Vorne links
Zeit pro Periode = 2,911723
 0 - Vorne links
Zeit pro Periode = 2,986967

--> Das funzt.

Code:
fox@fox-MS-7817:~$ aplay -D hw:3 -f cdr test.wav
aplay: main:722: Fehler beim Öffnen des Gerätes: Das Gerät oder die Ressource ist belegt
fox@fox-MS-7817:~$ aplay -D hw:R8 -f cdr test.wav
aplay: main:722: Fehler beim Öffnen des Gerätes: Das Gerät oder die Ressource ist belegt
fox@fox-MS-7817:~$

--> kein Sound

Das Zoom R8 läuft ja prinzipiell, ausser dass es eben bei 44.1 kHz knackst, auch ist das Knacksen bei 88.2 kHz wesentlich häufiger. In dem Zusammenhang vielleicht auch noch interessant: alsamixer öffnet mir den alsamixer, dort kann ich das Zoom über F6 auswählen. Ich bekomme zwei Regler angezeigt, die aber keinen Einfluss auf die Lautstärke haben.
Im Kmix bekomme auch das Zoom angezeigt, aber über den Test-Button (Einstellung -> Audioeinrichtung) bekomme ich auch dort keinen Ton. Das "Gerät" über das ich einen Ton bekomme nennt sich hingegen "Unbekannt".
Momentan habe ich Sample Rate: 48 kHz, Buffer Size 512, Periods / Buffer 3 --> 10.7 ms Latenz. Geht aber auch mit anderen Einstellungen problemlus, bei sehr kleinen Buffer Sizes knistert es und bei 44.1 knackst es alle ~5s.
 
marco93 schrieb:
Mit Windoof konnte ich nichts ausser 96 kHz einstellen.
telefonhoerer schrieb:
laut zoom kann das Interface auch nur 96khz, auf 48khz runterrechnen is ja kein problem da genau die hälfte. Bei 44.1 gibts dann halt dropouts.
[url=https://www.amazona.de/test-zoom-r8-usb-interface-und-recordingstudio/2/:5ie1rfnt]amazona[/url] schrieb:
Neue Songs bzw. „Projekte“ lassen sich mit wahlweise 44,1 kHz oder 48 kHz in 16 oder 24 bit anlegen, 96 kHz/24 bit funktionieren nur im USB-Modus. Soll heißen: Die höchste Abtastrate ist nur für diejenigen möglich, die den R8 als USB-Audiointerface einsetzen.
realtimeconfigquickscan sieht gut aus, könntest noch ein RT-Kernel installieren.
Das /tmp/ to tmpfs ist wohl nicht mehr nötig.

Da lsusb, aplay -l, /proc/asound/cards was anzeigt (deine R8) ist alles OK.

Code:
aplay -D hw:3 -f cdr test.wav
aplay: main:722: Fehler beim Öffnen des Gerätes: Das Gerät oder die Ressource ist belegt
Die R8 wird grade von einem anderen Programm verwendet.

Alsamixer: mal "F5: Alle" gedrückt?
 
[url=https://linuxmusicians.com/viewtopic.php?p=71716#p71716:17lh18rq]linuxmusicians[/url] schrieb:
When opening alsamixer -c3 I get two volume meters, i.e. one for "Speaker" and another one for "Speaker1". However, when changing the volume nothing happens. :|
...
That explains why it doesn't work in kmix either. It might be a driver issue.
Scheint normal zu sein. :sad:
(RT-)Kernel KXStudio <> Debian aber ob nach 3.x Kernel das R8 "bedienbar" wurde ... .
 
khz schrieb:
[url=https://linuxmusicians.com/viewtopic.php?p=71716#p71716:k7gtuyco]linuxmusicians[/url] schrieb:
When opening alsamixer -c3 I get two volume meters, i.e. one for "Speaker" and another one for "Speaker1". However, when changing the volume nothing happens. :|
...
That explains why it doesn't work in kmix either. It might be a driver issue.
Scheint normal zu sein. :sad:
(RT-)Kernel KXStudio <> Debian aber ob nach 3.x Kernel das R8 "bedienbar" wurde ... .

Jain, der zitierte Beitrag ist von mir :mrgreen:
 
Ist das USB class compliant? Wenn ja dann sind die Funktionen die du z.B. im alsamixer siehst alle, kein Kernel Treiber Ding.
 
khz schrieb:
Ist das USB class compliant? Wenn ja dann sind die Funktionen die du z.B. im alsamixer siehst alle, kein Kernel Treiber Ding.

Hey ... moment mal, vielleicht die Lösung

Just wanted to throw out here that if you want to use your R8 as a 2-channel audio interface to an iPad or iPhone with the Apple camera connection kit (or CCK) you can as long as you run it through a POWERED USB hub and set the R8 to USB 1.0 before executing. R16 and R24 don't have this class compliant setting so we're out of luck there. I'm lucky to have the R24 and a R8 so I was able to do some tests.

It's also worth noting that this method may also work with the h4n and other USB 1.0 compatible devices that DID work before the iOS 6 update that broke it.

Ich teste das jetzt.

edit: Nope, auch mit USB 1.0 Einstellung Knackser und keine Funktion der Alsaregler.
 
marco93 schrieb:
khz schrieb:
Ist das USB class compliant? Wenn ja dann sind die Funktionen die du z.B. im alsamixer siehst alle, kein Kernel Treiber Ding.

Hey ... moment mal, vielleicht die Lösung

Just wanted to throw out here that if you want to use your R8 as a 2-channel audio interface to an iPad or iPhone with the Apple camera connection kit (or CCK) you can as long as you run it through a POWERED USB hub and set the R8 to USB 1.0 before executing. R16 and R24 don't have this class compliant setting so we're out of luck there. I'm lucky to have the R24 and a R8 so I was able to do some tests.

It's also worth noting that this method may also work with the h4n and other USB 1.0 compatible devices that DID work before the iOS 6 update that broke it.

Ich teste das jetzt.

edit: Nope, auch mit USB 1.0 Einstellung Knackser und keine Funktion der Alsaregler.

Ich hatte gestern ja mal das AVlinux getestet. Dort hatte ich im Alsamixer einen Regler Loopback oder so ähnlich, mit dem ich die Lautstärke regeln konnte. Unter KXStudio gibt es auch ein Loopback device dieses hat aber keinen Regler. Jemand eine Idee, was man hierzu installieren muss? In den Jack Settings gibt es ja auch einen Punkt Loopback, aber dort ist alles deaktiviert.
 
Zu 99% Kernel, da da ja ALSA drin nistet oder so.
Welcher Kernel hat KXStudio welchen AVLinux.
Ich vermute AVLinux hat neueren (RT-)Kernel (4.8.?), KXStudio (3.8.?).
Wenn ja, Install neueren Kernel oder Bau einen.
Debian GNU/Linux Gerätetreiber Überprüfungsseite >> http://kmuto.jp/debian/hcl/
 
AVLinux hatte einen realtime Kernel, KXStudio einen Lowlatency. Ich benutze auf KXStudio gerade 3.13.0-106. Bauen? Ne, erstmal nicht... bin froh, dass alles halbwegs funktioniert :mrgreen:
 


Neueste Beiträge

News

Zurück
Oben