Getting around the limitations of JavaSound on OS X - Page 6 - Home Theater Forum and Systems - HomeTheaterShack.com

Reply
 
Thread Tools
post #51 of 171 Old 02-06-14, 10:23 AM
Shackster
DD
 
Join Date: Jun 2006
Location: CORK
Posts: 29
NG

Umik-1 OSX Mavericks. Previously I posted that I had achieved a workable situation by tweaking many of the settings. I was able to force reasonable SPL readings and get Waterfalls etc. without warnings. However the measurements are faulty. They have weird HF oscillations in them.
I have to conclude the REW does not work with the UMIK-1 on OSX.
DD
DanDan is offline  
Sponsored Links
Advertisement
 
post #52 of 171 Old 02-06-14, 01:25 PM Thread Starter
REW Author
 
JohnM's Avatar
John
 
Join Date: Apr 2006
Location: UK
Posts: 6,707
Re: Getting around the limitations of JavaSound on OS X

Quote:
eTwin wrote: View Post
Ok, I did and attached it, name is "Amp_At_-10dB.mdat".

The sweep was through both front speakers.
To my ears it was quite loud but I understand the message "Low signal level" should be ignored in this setup.

Does the mdat file seem like a valid measurement?
Yes, measurement looks good. Worth measuring each speaker on its own (disconnect the other if necessary, but can probably also disable either channel in soundflower by setting it to 'none'). Some quite large early reflections, a bit of work to do to even out the response - probably best moving any further discussion on that to a separate thread though.
JohnM is offline  
post #53 of 171 Old 02-06-14, 01:42 PM
Shackster
 
Join Date: Dec 2013
Posts: 8
Re: Getting around the limitations of JavaSound on OS X

Quote:
JohnM wrote: View Post
Yes, measurement looks good. Worth measuring each speaker on its own (disconnect the other if necessary, but can probably also disable either channel in soundflower by setting it to 'none'). Some quite large early reflections, a bit of work to do to even out the response - probably best moving any further discussion on that to a separate thread though.
Thanks John, then it's time to start reading a bit more to understand the measurement.

Is there still a section of the forum dedicated to the Tag McLaren AV32R and setting it up (I know it's old but I still have mine) ?
I think you're familiar with the McLaren, is this still an OK device or really outdated?
eTwin is offline  
 
post #54 of 171 Old 02-06-14, 01:53 PM Thread Starter
REW Author
 
JohnM's Avatar
John
 
Join Date: Apr 2006
Location: UK
Posts: 6,707
Re: Getting around the limitations of JavaSound on OS X

There's no forum section for the AV32R but a search should turn up any relevant posts. I still use my AV192R, nothing wrong with the AV32R unless you need some format decoded it doesn't support.
JohnM is offline  
post #55 of 171 Old 02-21-14, 12:54 PM
Shackster
Esprit
 
Join Date: Mar 2008
Location: Italy
Posts: 17
Re: NG

Quote:
DanDan wrote: View Post
I have to conclude the REW does not work with the UMIK-1 on OSX
Esprit is offline  
post #56 of 171 Old 02-22-14, 07:05 AM
Senior Shackster
Bob
 
Join Date: Mar 2009
Location: Orlando, FL
Posts: 129
A new solution: OSXJack. Works great!

I've conquered the loopback and OSX limitation issues and solved some Mavericks issues. I think this solution is actually fun. It's certainly more elegant in my mind than the previous workarounds. It doesn't even feel like a workaround. Now that I've caught your attention, here are

Instructions for using REW with loopback with OSX Mavericks, using JackOSX.

This method makes the ergonomics easier. Adapt this to your needs as you wish. JackOSX is very versatile. You can feed multiple outputs at once if desired. Jack replaces and surpasses the power of both Soundflower and Line In. The interface I'm using is the Motu Audio Express. Any interface which has combo mike/line inputs and which has two analog inputs as its first pair will work easily. Make a 1/4" to 1/4" analog patch cord for the analog loopback.

My goal: To feed REW's test signal to the digital input of a DAC, and selectively feed either the left or right channel so we can test either the left or right loudspeaker. AND, to have analog loopback from the interface so we can measure time-of-flight latency and center the microphone between left and right loudspeakers. If you are using an analog feed to your loudspeakers it's just a little less patching, but still you will need JackOSX.

UPDATE: I made this test with the MOTU interface's USB connection. When I tried Firewire I could not get it to work on my Retina/Mavericks or my MacPro/Snow Leopard. It would not appear as a device in OSX Sound Preferences. Perhaps the Motu driver is too new and will only work with Mavericks on a Mac which has native firewire, but I do not have Mavericks installed on the MacPro. If you have a Firewire interface and a Mac with native firewire (as opposed to a Thunderbolt adapter) perhaps this procedure will work.

1) Install JackOSX. http://sourceforge.net/projects/jackosx/?source=dlp. It's also free. Thank heaven for the developers! I found JackOSX 0.89 is completely stable in Mavericks. It's even more stable than Audio MIDI setup, which crashed for me all the time when I was trying the other workarounds. You won't even have to touch Audio MIDI setup for this procedure! JackOSX has thorough and easy-to-understand documentation. Jack allows you to patch any audio application (in fact multiple applications at once if desired). Read the JackOSX documentation. If some parts are a little obscure, they will become clear as soon as you use it. You will have to restart your computer after the install as JackOSX becomes part of the underlying operating system and becomes a device for sound input and output.

2) Run JackPilot, which has been installed in applications. Put the application in your dock for regular use. In Jack Preferences, set Press Start in JackPilot. This will enable JackRouter as an available output and input device.

3) In JackPilot Preferences, set JackPilot as pictured in the attached image. If your interface has fewer input or output channels, you can set it for less. Leave the Auto-connect off, it adds unnecessary patches for our purposes that you will have to unpatch. Leave System port monitoring off, it doesn't harm to turn it on, but it adds unnecessary inputs/outputs to Jack's patching matrix.

4) In OSX Sound preferences, set JackRouter as the Default output device, as pictured in the attached image. There is no need to set anything as your default input device, but you could set the Motu as the device so you can see the Motu mike signal on OSX's meter as a test. This is because REW has to use the default device as its output, but REW can choose your interface directly as its input device. REW defaults to the first two inputs of the interface for its main and reference inputs. (This procedure could be done with JackRouter as the default input device but it is unnecessary and would add extra patching within Jack.)

5) Connect your microphone to Motu input 2. For some reason the main input of REW defaults to input 2 and the Reference input to input 1. Who knows... UPDATE: This was true on my Macbook Pro/Mavericks. On the MacPro/Snow Leopard, Mike 1 is the input and Line input 2 is the reference. I have no idea at this point how consistent this will be, so check it. See where the mike comes up and if it comes up on the wrong input of REW, reverse things. Remember to switch off phantom power before unplugging a condensor mike!!! Connect an analog 1/4" patch cord from Motu Main out 1 to Line in 1 (or line in 2 if appropriate) for the loopback.

6) Launch REW. Go to Preferences/Analysis. Turn on Use Loopback as timing reference. Go to Soundcard. Set the output to the default device. Set the input to the Motu interface. Choose Use Main Speaker to Check/Set Levels. Press Check Levels. Press Next.

7) Switch to JackPilot. Press Routing. This opens the Connections manager. In a moment, JavaApplications will appear at the bottom of the connections manager. Now we will route REW's outputs to the Motu's SPDIF output(s) AND simultaneously to the Motu's main analog outputs. As pictured in the attached image.

Triangle open the system and the JavaApplications send and receive ports to reveal all the available patch points. Since REW is directly accessing the MOTU on its input, JavaApplications Receive ports will NOT appear in JackRouter. You only have to configure the SEND from REW in Jackrouter. REW itself takes care of the input and return audio. Click on JavaApplications out1 in the left hand column. Click on system playback_1 in the right hand column. Double click on playback_1. It becomes red which means that out1 is routed to playback_1. You should see output on Main 1 on the Motu. AND, presto ---- you will see the mike signal on REW In and the reference signal on REW Ref In!

NB: If you make a mistake in patching in JackOSX, just double click on any node and it will unpatch. Quite elegant for a non-gui application!

Test your work: Pull patch cords to see what happens. Turn the phantom power on the mike on and off and observe that things are patched correctly. This proves the loopback and the Input are working properly. If you are using analog out to loudspeakers, route out1 to playback_2 and this will allow you to feed your analog speakers with an analog cable without a Y cord. But you will have to move cables around to select speakers. With my method you can be a couch potato.

NB: REW feeds both output 1 and output 2 simultaneously so it really doesn't matter if you use output 1 or output 2. Or, you can use this as your virtual "y cord" if you are doing analog speakers.

8) If you are using speakers with digital inputs, like me, use (or add) one more route. Route REW's out1 to playback 5 (which in my interface is SPDIF out Left). Or to playback 6 (which is SPDIF out Right). In this way, Jack is your switcher which selects either left or right loudspeaker. You can be a couch potato, not move a single cable or human being during the measurement. To make things "foolproof", save a pair of Jack Studio setup documents, one for left speaker and one for right and load them to switch loudspeakers. This makes sure your nimble mouse fingers won't accidentally select the wrong patch once you have got things working.

Attached is a picture of a jack route, showing REW routed simultaneously to playback 1 and playback 5 in the Motu.

9) Have fun! Yes. Did I say "Have fun"! This procedure works so well that I am having fun. I must say that the Soundflower/Line Input thing gave me a headache, but Jack just makes me feel real good and real powerful.


Best wishes,


Bob Katz
2/22/14


-------------
Noto bene:

a) With this method, Soundflower and LineIn are NOT NEEDED. Aggregate Devices are NOT NEEDED. MULTIPLE OUTPUT DEVICES ARE NOT NEEDED. In fact, Linein currently is broken on OSX 10.9 Mavericks, it crashes during the install. And I also discovered that Soundflower will not feed any sound to the Motu SPDIF output although it can route to it on screen, no sound makes it to the MOTU SPDIF output. Since I am using SPDIF output AND I want to have analog loopback I have to use this method.

b) You may be able to pull this off with Soundflower alone and not need JackOSX if you are doing an analog feed to loudspeakers only, but I have not tested it. In that case you would use an analog loopback cable from the other analog channel into a combo mike/line input. Or, if you are adventurous, make a 60 dB attenuator, but I won't go there :-) And assign REW's input to the Motu interface so you don't need LineIn.

c) Initially I tried to use JackRouter to route the input signals to REW. But for some reason, REW or Java or something parallels the left and right inputs to REW so that both the In and Ref inputs get the same signal. This could be a bug in Java or a bug in REW or something else. Fortunately, if you can use the first two inputs of your interface for in and ref then you do not have to use JackRouter for the input routing. UPDATE: I tried this with my Metric Halo ULN-8 interface (firewire), which has full internal routing facilities and so we would not need JackRouter, and got the same behavior. No matter what channel I routed the mike and loopback to, REW continues to receive information on BOTH the input and loopback. So it appears that REW's input, when set to default device, will not work properly for loopback purposes with routing software.
Attached Thumbnails
Getting around the limitations of JavaSound on OS X-jackrouter-preferences.png  

Getting around the limitations of JavaSound on OS X-jackrouter-default-sound-output.png  

Getting around the limitations of JavaSound on OS X-rew-routed-motu-1-spdif-simultaneously.png  


Bob Katz DIGITAL DOMAIN |
To view links or images in signatures your post count must be 10 or greater. You currently have 0 signatures.

Mastering Engineer, Recording Engineer, Author, Audiophile
No trees were killed in the sending of this message. However a large number
of electrons were terribly inconvenienced.

Last edited by bobkatz; 02-22-14 at 10:20 AM.
bobkatz is offline  
post #57 of 171 Old 02-22-14, 11:41 AM
Senior Shackster
Bob
 
Join Date: Mar 2009
Location: Orlando, FL
Posts: 129
Re: A new solution: OSXJack. Works great!

Update and confession:

When I made the previous post I had not taken a measurement. I only tested all the functionality of REW and the interface and observed REW's metering on two different computers. Now I tried my first measurement with the MacPro/Snow Leopard and the recording terminates before the sweep is finished. It ends around 300 Hz and I get this error: "Impulse peak is not where it should be. The measurement may have been corrupted." It doesn't matter if I'm in loopback mode or not. I tried different buffers, no luck. I'm hoping this MacPro is just the problem and I'm setting up my Macbook Pro Retina display in Studio B to try again and we shall see. Wish me luck.

Bob Katz DIGITAL DOMAIN |
To view links or images in signatures your post count must be 10 or greater. You currently have 0 signatures.

Mastering Engineer, Recording Engineer, Author, Audiophile
No trees were killed in the sending of this message. However a large number
of electrons were terribly inconvenienced.
bobkatz is offline  
post #58 of 171 Old 02-22-14, 01:08 PM
Senior Shackster
Bob
 
Join Date: Mar 2009
Location: Orlando, FL
Posts: 129
Re: A new solution: OSXJack. Works great!

Unfortunately, the same symptom "Impulse response is not where it should be..." occurred with my Macbook Pro Retina display/Mavericks. So I'm dead in the water. I apologize for the premature elation of my post. Everything looked like it was going to be good, except for the actual measurement failure

I hope that someone out there can solve this issue because as you know from this thread, I had other problems on the PC side.


Back to the Mac: I tried different buffers. I tried non-loopback mode. I tried mike routing into REW from Jack on the theory that the latency has to be the same for the generator and the input. Jack definitely is feeding BOTH inputs of REW even though it sees two input ports on REW. In1 and In2 read on both meters of REW :-(.

I'll play around with a few more ideas, but so far we're dead in the water. If it means anything to you, I was successful using Acourate to analyze this room with the identical interface on the PC and with ASIO. So you might ask why should I bother to use REW if I have Acourate? Good question. Answer: Because REW has a few analysis features that Acourate does not have. And I'm an analysis addict ;-)

Bob Katz DIGITAL DOMAIN |
To view links or images in signatures your post count must be 10 or greater. You currently have 0 signatures.

Mastering Engineer, Recording Engineer, Author, Audiophile
No trees were killed in the sending of this message. However a large number
of electrons were terribly inconvenienced.
bobkatz is offline  
post #59 of 171 Old 02-22-14, 01:17 PM
Senior Shackster
Bob
 
Join Date: Mar 2009
Location: Orlando, FL
Posts: 129
Re: A new solution: OSXJack. Works great!

Well, I was able to use Fuzz Measure on this interface and it works fine. So the problems are Java-related. It's a pity that LineInput has broken in Mavericks. I might never have restarted this thread :-(. I'm going back to the PC and try to debug that. It worked once and then failed from that point on (REW was not seeing the interface).

Bob Katz DIGITAL DOMAIN |
To view links or images in signatures your post count must be 10 or greater. You currently have 0 signatures.

Mastering Engineer, Recording Engineer, Author, Audiophile
No trees were killed in the sending of this message. However a large number
of electrons were terribly inconvenienced.

Last edited by bobkatz; 02-22-14 at 01:50 PM.
bobkatz is offline  
post #60 of 171 Old 02-22-14, 04:27 PM
Shackster
DD
 
Join Date: Jun 2006
Location: CORK
Posts: 29
Re: Getting around the limitations of JavaSound on OS X

Hi Bob. Thanks for your staunch efforts. I have been there....... although the complexities of Jack were beyond me.
Is Line In really broken in Mavericks? I have a new boot SSD in my studio computer. afaik I have successfully used LineIn on Mavericks. ( I use Line In to access Dirac Live as a virtual piece of HW) Long story.
All readers plse note the onboard Line Input and Output both Analogue and Digital Optical on the Mac work fine with REW.
FuzzMeasure works fine with Macs and the IR's can be exported for Import into REW which has more and better analysis features.
DD
DanDan is offline  
Reply

Bookmarks

Tags
javasound , limitations , os

Quick Reply
Message:
Options

Register Now




PLEASE COMPLETE ALL REQUIRED FIELDS BELOW... THANKS!

REQUIRED FIELDS ON THIS PAGE
YOU MUST COMPLETE ALL OF THESE

Username
Password
Confirm Password
Email Address
Confirm Email Address
Random Question
Random Question #2




User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
PLEASE READ BELOW PRIOR TO ENTERING AN EMAIL ADDRESS!

ATTENTION!

YOU MUST ACTIVATE YOUR ACCOUNT!

Activation requires you reply to an email we will send you after you register... if you do not reply to this email, you will not be able to view certain areas of the forum or certain images... nor will you be able download software.

AN INVALID EMAIL ADDRESS WILL CAUSE YOUR ACCOUNT TO BE DELETED!

See our banned email list here: Banned Email List

We DO NOT respond to spamcop, boxtrapper and spamblocker emails... please add @hometheatershack DOT com to your whitelist prior to registering or you will get nowhere on your registration.


Email Address:
OR

Log-in










Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page



Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML is not allowed!
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

 


For the best viewing experience please update your browser to Google Chrome