INTERACT FORUM

More => Old Versions => JRiver Media Center 24 for Windows => Topic started by: Wull on January 28, 2019, 06:13:03 am

Title: JRiver/ASIO/REW
Post by: Wull on January 28, 2019, 06:13:03 am
Hi.

I don't know if I am missing something here, but is it possible to run REW sweeps through JRiver using ASIO not the WDM driver?

Following the ASIO section of this guide https://wiki.jriver.com/index.php/Verifying_DSP_Studio#Generate_a_Measurement_Sweep

(I'm using Lynx 16e ASIO)  Verify the Signal Chain This is fine. I can see REW level check working within the Lynx mixer.

Verify MC is receiving and playing that signal no signal being received. Not sure why this is?

I have in 'Windows sound devices' the Lynx as the default device.
Title: Re: JRiver/ASIO/REW
Post by: mattkhan on January 28, 2019, 06:52:21 am
Windows audio is not relevant to asio, use line in instead

https://wiki.jriver.com/index.php/Verifying_DSP_Studio#Windows:_ASIO_Line_In
Title: Re: JRiver/ASIO/REW
Post by: Wull on January 28, 2019, 09:46:55 am
When I MC/File/open live - ASIO line in - Configure ASIO line in/OK an error pops up 'something went wrong with playback'

Title: Re: JRiver/ASIO/REW
Post by: mattkhan on January 28, 2019, 10:08:23 am
Google says that is a 16 channel card but you are trying to open channels 17-18

I expect that is why it is failing
Title: Re: JRiver/ASIO/REW
Post by: Wull on January 28, 2019, 10:42:55 am
I see. To be honest I was/am completely lost reading "the signal chain". I don't fully understand this?
Title: Re: JRiver/ASIO/REW
Post by: mattkhan on January 28, 2019, 11:03:06 am
Do you have a mixer app for that soundcard that lets you route channels?
Title: Re: JRiver/ASIO/REW
Post by: Wull on January 28, 2019, 12:15:45 pm
Quote
"The AES16 is able to internally route 32 available channels to each of its 8 stereo record devices. Each of these channels can also be routed to any of the 16 output channels for zero latency monitoring," explained cofounder David Hoatson. "This makes the AES16 work as a 16 input, 16 output cross-point routing switcher, which allows for very flexible monitoring configurations."

According to Lynx notes yes.

Title: Re: JRiver/ASIO/REW
Post by: mattkhan on January 28, 2019, 01:47:49 pm
Ok well you have to line up the channels so to speak

REW out to lynx asio input to jriver line in

i.e. whatever channels you output on in rew need to be routed to the channels you are listening on in JRiver

I am assuming the lynx mixer does loopback btw, does it?

Does this make sense or not? If not, which doesn't make sense exactly?
Title: Re: JRiver/ASIO/REW
Post by: Wull on January 28, 2019, 01:59:51 pm
Ok well you have to line up the channels so to speak

REW out to lynx asio input to jriver line in

i.e. whatever channels you output on in rew need to be routed to the channels you are listening on in JRiver

I am assuming the lynx mixer does loopback btw, does it?

Does this make sense or not? If not, which doesn't make sense exactly?

I will have to digest this, then come back to you. Thanks for your time again Matt  :)
Title: Re: JRiver/ASIO/REW
Post by: Wull on January 28, 2019, 03:10:59 pm
Quote
i.e. whatever channels you output on in rew need to be routed to the channels you are listening on in JRiver

I don't fully understand this. Say in REW I output channel 4. What do you mean 'you are listening on in JRiver'?
Title: Re: JRiver/ASIO/REW
Post by: mattkhan on January 28, 2019, 04:01:27 pm
When you have a mixer provided by the driver then the output channels in rew are decoupled from the input channels in JRiver. You must use the mixing/routing capability of your device to link them together.
Title: Re: JRiver/ASIO/REW
Post by: Wull on January 29, 2019, 01:02:40 am
How do you determine which mixer channel to use to route/link them back together?
Title: Re: JRiver/ASIO/REW
Post by: mattkhan on January 29, 2019, 02:27:05 am
How do you determine which mixer channel to use to route/link them back together?
That just depends on which channels you choose

Examples

If you go out of rew on channels 1 and 2 and looped back into input channels 1 and 2 then you would open live with offset 0 for 2 channels

If you had to come into JRiver on channels 8 and 9 for some reason then you would open live on offset 7 for 2 channels
Title: Re: JRiver/ASIO/REW
Post by: Wull on January 29, 2019, 02:31:51 pm
Thanks for your help Matt. I've spent a few hours trying to get this to work. And i've come to the conclusion this is beyond my pay grade. ? Think a Minidsp maybe on the cards....
Title: Re: JRiver/ASIO/REW
Post by: mattkhan on January 29, 2019, 05:22:26 pm
One of those things that is *much* easier to demo than to explain in words. Have you checked YouTube for videos on how to use the mixer?
Title: Re: JRiver/ASIO/REW
Post by: Mitchco on January 29, 2019, 09:22:38 pm
Yes, Matt has you on the right path. You have to configure loopback for the Lynx. I had a Lynx L22 at one time and there was a jumper on the sound card to configure loopback. I don't know the Lynx 16e, but likely something similar. I would head over to the Lynx forum and ask how to setup loopback so that the REW signal is "loopback" to the input of JRiver. I use a Lynx Hilo and it uses a multi-client ASIO driver and in the attached diagram is how I have it set up for REW to loopback through the Hilo to a 3 way active system.
Title: Re: JRiver/ASIO/REW
Post by: Wull on January 30, 2019, 12:00:30 am
One of those things that is *much* easier to demo than to explain in words. Have you checked YouTube for videos on how to use the mixer?


I watched this yesterday. It didn't mention loop back mind:

https://www.youtube.com/watch?v=McOLUcMJsfY
Title: Re: JRiver/ASIO/REW
Post by: Wull on January 30, 2019, 12:01:56 am
Yes, Matt has you on the right path. You have to configure loopback for the Lynx. I had a Lynx L22 at one time and there was a jumper on the sound card to configure loopback. I don't know the Lynx 16e, but likely something similar. I would head over to the Lynx forum and ask how to setup loopback so that the REW signal is "loopback" to the input of JRiver. I use a Lynx Hilo and it uses a multi-client ASIO driver and in the attached diagram is how I have it set up for REW to loopback through the Hilo to a 3 way active system.

Thanks Mitchco. I shall ask the question.
Title: Re: JRiver/ASIO/REW
Post by: Wull on January 30, 2019, 02:29:32 pm
OK. Had a reply from Lynx. Basically yes, the AES can do loopback. As Mitchco said, this is done by using a jumper on the AES:

https://www.lynxstudio.net/support_docs_result.asp?c=32
Title: Re: JRiver/ASIO/REW
Post by: Wull on February 02, 2019, 12:49:24 am

I watched this yesterday. It didn't mention loop back mind:

https://www.youtube.com/watch?v=McOLUcMJsfY

OK. I have a jumper in place on the AES. Set the AES Play/record 'LStream' devices 7+8. REW Ouput set to channel 7. JRiver 'channels 6, offset 6. Should this be working?
Title: Re: JRiver/ASIO/REW
Post by: mattkhan on February 02, 2019, 01:52:07 am
Channels is how many to listen to so 2 in your case

Take JRiver out of the equation to begin with. Can you feed rew back to itself? If yes, loopback works
Title: Re: JRiver/ASIO/REW
Post by: Wull on February 02, 2019, 04:09:44 am
Channels is how many to listen to so 2 in your case

Take JRiver out of the equation to begin with. Can you feed rew back to itself? If yes, loopback works

How can I tell if a feed is going back REW?
Title: Re: JRiver/ASIO/REW
Post by: mattkhan on February 02, 2019, 04:29:21 am
Run a sweep, you should get a Dirac pulse in the IR tab
Title: Re: JRiver/ASIO/REW
Post by: Wull on February 03, 2019, 02:18:01 am
Not quite sure what you mean by Dirac pulse. But here's a sweep I've taken. Am I on the right track?
Title: Re: JRiver/ASIO/REW
Post by: Wull on February 03, 2019, 01:18:29 pm
Also, I removed the Jumper from the AES to prove the loopback is working. It does. Need assistance configuring this back to JRiver now if anyone can help.
Title: Re: JRiver/ASIO/REW
Post by: mattkhan on February 03, 2019, 01:42:13 pm
if the loopback is performed in the driver alone, as opposed to a DAC/ADC round trip, then the signal should be a perfect copy of the output. The IR should therefore show a single spike and the FR/phase should be perfectly flat.

If that is working as expected then the next thing to confirm would be that the driver is multiclient capable. Is it? A quick google says it is so this bit should be ok.

So did you try with a 2 channel input rather than 6?
Title: Re: JRiver/ASIO/REW
Post by: Wull on February 03, 2019, 02:20:35 pm
Thanks.

Yes i've tried channel 2, still no luck. There is no single spike either. I'm going to contact Lynx again just to check a setting.


Title: Re: JRiver/ASIO/REW
Post by: mattkhan on February 03, 2019, 02:35:33 pm
What do you see in REW?
Title: Re: JRiver/ASIO/REW
Post by: Wull on February 03, 2019, 02:48:56 pm
In REW preferences I have an input and ouput signal. When I 'make a measurement' I get 2 horizontal lines, no spike .
Title: Re: JRiver/ASIO/REW
Post by: mattkhan on February 03, 2019, 03:06:27 pm
A flat FR is correct, what does it look like full range without the mic cal? And what does the impulse response view show?
Title: Re: JRiver/ASIO/REW
Post by: Wull on February 04, 2019, 12:06:23 am
Removed mic cal, and Impulse.
Title: Re: JRiver/ASIO/REW
Post by: mattkhan on February 04, 2019, 02:37:58 am
Ok so that seems to be working, btw use the % view in the impulse view to read it more easily and zoom right in on the impulse itself too

What does JRiver do if you open on 2 channels?
If it fails, what does the JRiver log say?
Title: Re: JRiver/ASIO/REW
Post by: Wull on February 04, 2019, 10:30:16 am
OK. Thanks.

With REW/preferences/check levels - I left this running. I then set JR/help/logging/enable logging. Then JR/open live/configure ASIO - 'Channels 2/channel offset 0'-OK-"something went wrong with playback".

I've attached a log file.
Title: Re: JRiver/ASIO/REW
Post by: mattkhan on February 04, 2019, 10:34:50 am
Previously you were listening on channels 7-12 but now you are listening on channels 1-2

Is this what you intended to do or are you misunderstanding the meaning of these 2 values?
Title: Re: JRiver/ASIO/REW
Post by: Wull on February 04, 2019, 11:11:52 am
Misunderstanding of these two values?. I've put it back to how it was.

Title: Re: JRiver/ASIO/REW
Post by: mattkhan on February 04, 2019, 11:51:56 am
In either case your log says

Code: [Select]
0005694: 2516: Playback: CASIOLivePlugin::Open: ASIOInit(...) failed with code -1000 and message "LynxTWO already in use!"
0005694: 2516: Playback: CASIOLivePlugin::Open: Failed to start ASIO
0005694: 2516: Playback: CASIOLivePlugin::Open: ASIO result (0 is success): -1

So the problem appears to be with your device/driver
Title: Re: JRiver/ASIO/REW
Post by: Wull on February 04, 2019, 11:57:00 am
OK, thanks. I will look into this....
Title: Re: JRiver/ASIO/REW
Post by: Wull on February 05, 2019, 05:55:37 am
In either case your log says

Code: [Select]
0005694: 2516: Playback: CASIOLivePlugin::Open: ASIOInit(...) failed with code -1000 and message "LynxTWO already in use!"
0005694: 2516: Playback: CASIOLivePlugin::Open: Failed to start ASIO
0005694: 2516: Playback: CASIOLivePlugin::Open: ASIO result (0 is success): -1

So the problem appears to be with your device/driver

Is there an easier way to find the information your looking for within JRiver's 'log' without having to search through the whole log list?
Title: Re: JRiver/ASIO/REW
Post by: mattkhan on February 05, 2019, 06:24:24 am
Is there an easier way to find the information your looking for within JRiver's 'log' without having to search through the whole log list?
No, all you can do is reset the log just before doing whatever it is you want to look at and then copy the log file as soon as possible after you complete that operation.
Title: Re: JRiver/ASIO/REW
Post by: Wull on February 05, 2019, 06:42:04 am
Thanks Matt  :)
Title: Re: JRiver/ASIO/REW
Post by: Wull on February 05, 2019, 10:19:32 am
I think I may have got it working Matt. I followed this guide and now seem to have loopback  :)

https://yabb.jriver.com/interact/index.php?topic=77800.0
Title: Re: JRiver/ASIO/REW
Post by: Wull on February 05, 2019, 02:14:31 pm
I will probably have to take this over to the REW forum now. But in case i'm missing something obvious. I can now use 'Open Live'. However I cannot get my USB Pre/Mic to take any measurements. It appears all I'm doing is looping through REW/Lynx/JRiver/REW. When running REW/measure, its as if I can hear a REW sweep on top of another sweep. Any help here?
Title: Re: JRiver/ASIO/REW
Post by: mattkhan on February 05, 2019, 02:33:41 pm
I was about to say +1 for perseverance :)

This suggests a mixer config issue making for a loopback looping back on itself. Sketch out your full signal chain to make sure you know what you intend to do then break it down step by step to verify it is doing what you expect (measuring as you go via whichever app tells you what that stage in the signal chain is doing)
Title: Re: JRiver/ASIO/REW
Post by: Wull on February 06, 2019, 02:17:11 pm
Good news, I've got it working 'in a fashion' :). Bad news, REW sweeps aren't consistent  ?

Time for more investigating......