08-22-2018, 03:06 PM | #81 | ||
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Quote:
Quote:
I also worked a bit with software development, and then I had my own business as a system integrator. But finally I burnt out and didn't want to see another computer again. Nowadays I do something completely different to earn my daily bread, and playing with computers is just for fun. I like it better like that
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
||
08-22-2018, 03:46 PM | #82 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Actually doesn't alsa-info ask you about uploading it, there is no personal info in it, and you get a link back that you can post.
And please give the output of `aplay -v --dump-hw-params -fdat -d1 -Dhw:M2496 /dev/zero` too.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
08-22-2018, 05:28 PM | #83 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
Does you email at alchemy.lu still work? I'd be cool with sending the 9.3kb zip file directly to you. Running the aplay command comes back with this error. aplay: main:788: audio open error: Device or resource busy |
|
08-22-2018, 06:12 PM | #84 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Yes send it to my email. Did you have JACK running while trying the command?
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
08-22-2018, 06:26 PM | #85 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
I have a dedicated Xubuntu Linux machine running MythTV that records and streams live HDTV using eight ethernet HDHomerun tuners connected to an 85 mile HDTV antenna that's up in my attic. It's free DVR in every room of the house, and on my dual boot DAW, it plays using Kodi as the client, and works real well with an infrared remote controller. I use the remote to run REAPER from my drums as well. |
|
08-22-2018, 06:53 PM | #86 | |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Quote:
Regarding the command (in case it's PA), try "pasuspender -- aplay -v --dump-hw-params -fdat -d1 -Dhw:M2496 /dev/zero" I see that your indexes moved again..:S Maybe that's why one of my earlier attempts failed, try this: Code:
pcm.Multi { type multi; slaves.a.pcm "hw:M2496"; slaves.a.channels 2; slaves.b.pcm "hw:M2496_1"; slaves.b.channels 2; bindings.0.slave a; bindings.0.channel 0; bindings.1.slave a; bindings.1.channel 1; bindings.2.slave b; bindings.2.channel 0; bindings.3.slave b; bindings.3.channel 1; } ctl.Multi { type hw; card "M2496"; }
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
|
08-22-2018, 07:15 PM | #87 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo HW Params of device "hw:M2496": -------------------- ACCESS: MMAP_INTERLEAVED RW_INTERLEAVED FORMAT: S32_LE SUBFORMAT: STD SAMPLE_BITS: 32 FRAME_BITS: 320 CHANNELS: 10 RATE: [8000 96000] PERIOD_TIME: (20 409500] PERIOD_SIZE: [2 3276] PERIOD_BYTES: [80 131040] PERIODS: [1 1024] BUFFER_TIME: (20 819125] BUFFER_SIZE: [2 6553] BUFFER_BYTES: [80 262120] TICK_TIME: ALL -------------------- aplay: set_params:1299: Sample format non available Available formats: - S32_LE I think I got it to go!!! The device name to hit it with is ctl.Multi! Eeeeeh, false alarm. Using ctl.Multi does indeed launch Jack, but only the first card is seen by REAPER. Here's what the output of using ctl.Multi as the device name generated. JACK server starting in realtime mode with priority 80 self-connect-mode is "Don't restrict self connect requests" audio_reservation_init Acquire audio card Audio0 creating alsa driver ... ctl.Multi|ctl.Multi|64|2|44100|0|0|nomon|swmeter|-|32bit configuring for 44100Hz, period = 64 frames (1.5 ms), buffer = 2 periods ALSA: final selected sample format for capture: 32bit integer little-endian ALSA: use 2 periods for capture ALSA: final selected sample format for playback: 32bit integer little-endian ALSA: use 2 periods for playback port created: Midi-Through:midi/playback_1 port created: Midi-Through:midi/capture_1 port created: M-Audio-Audiophile-24/96:midi/playback_1 port created: M-Audio-Audiophile-24/96:midi/capture_1 port created: M-Audio-Audiophile-24/96:midi/playback_1 port created: M-Audio-Audiophile-24/96:midi/capture_1 JackFreewheelDriver::ProcessSync: SuspendRefNum error JackAudioDriver::ProcessGraphSync: ProcessWriteSlaves error, engine may now behave abnormally!! JackFreewheelDriver::ProcessSync: SuspendRefNum error JackAudioDriver::ProcessGraphSync: ProcessWriteSlaves error, engine may now behave abnormally!! Last edited by Glennbo; 08-22-2018 at 07:27 PM. |
|
08-23-2018, 02:49 AM | #88 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
It's disconcerting that the command failed to execute without using pasuspender.. I thought PA was disabled on those 2 devices. Wonder if the same problem might be what breaks the .asoundrc..
I don't have much experience with PA and have tried to avoid it for a long time. But I can't keep fighting my distro forever and have started using it. It also appears the best way to bridge audio from the desktop to JACK. I haven't seen something like this on my own system, and really thought that such problems was something left in the past. With JACK you'd have to use -dMulti, -dMulti.ctl would be referring to the mixer associated with the device, which in this case is just a hack and probably not needed at all. Could you please try the .asoundrc again, and give me the console output of trying to run jack, including the command that you used? If it fails then do "fuser -v /dev/snd/*". and add that too.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
08-23-2018, 05:42 AM | #89 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Duh, it just occurred to me that to exclude PA when testing this, you could just run "pasuspender -- /usr/bin/jackd -P80 -S -dalsa -dMulti -r44100 -p64 -n2 -Xseq"
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
08-23-2018, 08:18 AM | #90 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
pasuspender -- /usr/bin/jackd -P80 -S -dalsa -dMulti -r44100 -p64 -n2 -Xseq jackdmp 1.9.12 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2016 Grame. Copyright 2016-2017 Filipe Coelho. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details no message buffer overruns no message buffer overruns no message buffer overruns JACK server starting in realtime mode with priority 80 self-connect-mode is "Don't restrict self connect requests" audio_reservation_init Acquire audio card Audio0 creating alsa driver ... Multi|Multi|64|2|44100|0|0|nomon|swmeter|-|32bit configuring for 44100Hz, period = 64 frames (1.5 ms), buffer = 2 periods ALSA: no playback configurations available (Invalid argument) ALSA: cannot configure capture channel Released audio card Audio0 audio_reservation_finish Cannot initialize driver JackServer::Open failed with -1 Failed to open server -------------------------------------------------------- Here's the other one. fuser -v /dev/snd/* USER PID ACCESS COMMAND /dev/snd/controlC1: glennbo 1087 F.... pulseaudio /dev/snd/controlC2: glennbo 1087 F.... pulseaudio /dev/snd/pcmC1D0p: glennbo 1087 F...m pulseaudio |
|
08-23-2018, 02:03 PM | #91 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
I hope I've struck gold..
Try this: Code:
pcm.multi_capture { type multi slaves.a.pcm hw:M2496 slaves.a.channels 12 slaves.b.pcm hw:M2496_1 slaves.b.channels 12 # First 8 channels of first soundcard (capture) bindings.0.slave a bindings.0.channel 0 bindings.1.slave a bindings.1.channel 1 bindings.2.slave a bindings.2.channel 2 bindings.3.slave a bindings.3.channel 3 bindings.4.slave a bindings.4.channel 4 bindings.5.slave a bindings.5.channel 5 bindings.6.slave a bindings.6.channel 6 bindings.7.slave a bindings.7.channel 7 # First 8 channels of second soundcard (capture) bindings.8.slave b bindings.8.channel 0 bindings.9.slave b bindings.9.channel 1 bindings.10.slave b bindings.10.channel 2 bindings.11.slave b bindings.11.channel 3 bindings.12.slave b bindings.12.channel 4 bindings.13.slave b bindings.13.channel 5 bindings.14.slave b bindings.14.channel 6 bindings.15.slave b bindings.15.channel 7 # S/PDIF section. Uncomment bindings if required. # S/PDIF first soundcard (capture) #bindings.16.slave a #bindings.16.channel 8 #bindings.17.slave a #bindings.17.channel 9 # S/PDIF second soundcard (capture) #bindings.18.slave b #bindings.18.channel 8 #bindings.19.slave b #bindings.19.channel 9 } ctl.multi_capture { type hw card M2496 } pcm.multi_playback { type multi slaves.a.pcm hw:M2496 slaves.a.channels 10 slaves.b.pcm hw:M2496_1 slaves.b.channels 10 # First 8 channels of first soundcard (playback) bindings.0.slave a bindings.0.channel 0 bindings.1.slave a bindings.1.channel 1 bindings.2.slave a bindings.2.channel 2 bindings.3.slave a bindings.3.channel 3 bindings.4.slave a bindings.4.channel 4 bindings.5.slave a bindings.5.channel 5 bindings.6.slave a bindings.6.channel 6 bindings.7.slave a bindings.7.channel 7 # First 8 channels of second soundcard (playback) bindings.8.slave b bindings.8.channel 0 bindings.9.slave b bindings.9.channel 1 bindings.10.slave b bindings.10.channel 2 bindings.11.slave b bindings.11.channel 3 bindings.12.slave b bindings.12.channel 4 bindings.13.slave b bindings.13.channel 5 bindings.14.slave b bindings.14.channel 6 bindings.15.slave b bindings.15.channel 7 # S/PDIF section. Uncomment bindings if required. # S/PDIF first soundcard (playback) #bindings.16.slave a #bindings.16.channel 8 #bindings.17.slave a #bindings.17.channel 9 # S/PDIF second soundcard (playback) #bindings.18.slave b #bindings.18.channel 8 #bindings.19.slave b #bindings.19.channel 9 } ctl.multi_playback { type hw card M2496 }
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
08-23-2018, 02:31 PM | #92 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
Don't know if this will shed any light, but this is how I have the patchbay setup that does get all four channels to REAPER using QjackCtrl. Last edited by Glennbo; 10-22-2018 at 04:14 PM. |
|
08-23-2018, 03:02 PM | #93 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Yes typo
How does the patchbay look when you use this new .asoundrc? Possibly you could try to patch the output of reaper playing back on port 1 to the different system playback ports to see if you can get the 2nd card to output sound? Or vice versa to see if you can capture anything from the system capture ports with a mic connected to the 2nd card.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
08-23-2018, 04:14 PM | #94 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
Just to be sure, I renamed .asoundrc to .asoundrcXXX and compared the routing in QjackCtrl. Either way it always had the routing I setup in QjackCtrl. The test I'm performing to see if the second card is being seen is with a REAPER project that is setup for 4 channel input with acoustic drums. I can tap on my kick drum and instantly see if the kick mic is getting through. When I start REAPER using QjackCtrl tapping on the kick drum shows input is happening there, and some in the stereo overheads, and even a tiny bit in the snare mic. Starting jack with, /usr/bin/jackd -P80 -S -dalsa -C multi_capture -P multi_playback -r44100 -p64 -n2 -Xseq shows the overheads picking up signal when I tap on the kick drum, but no signal coming from either the kick or snare mics, which are connected to the inputs of the second card. |
|
08-23-2018, 04:31 PM | #95 | |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Quote:
I've read that you can change this too, but that it would introduce more overhead, thus not be desirable. But all in all it's encouraging that it starts at all!
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
|
08-24-2018, 08:55 AM | #96 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
|
|
08-24-2018, 09:29 AM | #97 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
I think if you start jackd first from the command line, then start qjackctl, then you can use the connection window to disconnect and connect things as you see fit. You can see that window as a patch panel.
There are also several command line utilities if you want to script it, see jack_lsp, jack_connect, etc. Though for this test you could add more ports in reaper and try all of them too.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) Last edited by Jack Winter; 08-24-2018 at 09:35 AM. |
08-25-2018, 06:50 AM | #98 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Actually after further study I think this combined device is a bad idea
At least on Linux I think there would be an issue. The 2 cards wouldn't be initialized synchronously, so even if they sync the DACs, and the audio stream is synced, they wouldn't trigger the interrupts at the same time. This would lead to either of 2 scenarios (depending on how alsa works). 1. Card 1 has filled it's buffer and triggers the interrupt, but card 2 still hasn't filled it's buffer. This might lead to audio drop outs in the data stream from card 2. 2. ALSA waits until both cards have triggered their interrupts, this would lead to less time to process the audio before the early card has filled it's buffer and triggers the interrupt again. This means reaper would have less time to process the audio. I found some information indicating that the above is true for your cards, I don't know if it's true for all cards, or if it's true on windows/osx too. This might explain why you see nonsymetrical latency on windows too, say 64/128, meaning that the driver double buffers the output to work around the problem, and would also explain why the recorded audio isn't always aligned properly. Doesn't explain karbomusic's issue with a rme+adat though, so maybe I'm wrong I've tried to make a startup script that could be used in the reaper device settings, but it's got race conditions, and without an option to run a script after JACK has started but before reaper connects to the server, it's unlikely that reaper would be able to autoconnect to all channels. I've whipped up the following script to start it all up. If you want to start the whole enchilada up by clicking on an icon, you can do that in your OS, you can even give it the reaper icon. Code:
#!/bin/sh /usr/bin/jackd -S -P80 -dalsa -dhw:M2496 -r44100 -p64 -n2 -Xseq & /usr/bin/sleep 1 /usr/bin/zita-a2j -dhw:M2496_1 & /usr/bin/a2jmidid -e & reaper Enjoy!
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
08-25-2018, 07:33 AM | #99 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
That script is very similar to the script I setup to run from the "run script after start" in QjackCtrl. This is what I have running when I launch QjackCtrl. a2jmidid -e & sleep .5 zita-a2j -d hw:3 & sleep .5 ~/.local/share/reaper_linux_x86_64/REAPER/reaper & The one big difference though is that using QjackCtrl also calls up the routing on it's patch panel that is needed to get the output from zita-a2j into REAPER's inputs 3 and 4, and I don't think that function can be called behind the scenes. |
|
08-25-2018, 07:37 AM | #100 | |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Quote:
Edit: Ah I see, since I haven't seen the patch panel I didn't really think about that. I don't know how many inputs/outputs it shows.. It's kind of hard to do this remotely
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
|
08-25-2018, 07:43 AM | #101 |
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
I see, I found a screenshot earlier in the thread. the second card would be on input 13/14.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
08-25-2018, 08:54 AM | #102 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
That said, I have a pretty unique setup (at least I think I do) using two identical PCI cards for twice the inputs and outputs. Most folks are going to be working with single audio interfaces, and won't run into the issues I have. Still, all it take for me to record four channel drums is to fire up QjackCtrl, which starts jack, routes the signals the way then need to be, and launches REAPER. If I'm not recording drums, which is most of the time, I can just start up REAPER and it works just fine but only 2 channel rather than 4. |
|
08-25-2018, 09:42 AM | #103 | ||
Human being with feelings
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
|
Quote:
But who knows, on the long term it might make sense and he will change opinion. Let's see what the future brings Quote:
Can't you change the routing with envy24control?
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :) |
||
08-25-2018, 11:08 AM | #104 | |
Human being with feelings
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
|
Quote:
|
|
Thread Tools | |
Display Modes | |
|
|