John Mulcahy
REW Author
Thread Starter
- Joined
- Apr 3, 2017
- Posts
- 8,111
Thanks, I have fixed that for the next build.in Overlays window you cannot select tab with keyboard shortcut (Ctrl + "number").
Thanks, I have fixed that for the next build.in Overlays window you cannot select tab with keyboard shortcut (Ctrl + "number").
Nice!Added: The SPL & Phase graph has an option to show the musical note corresponding to the cursor frequency
Sweep measurements via the API requires a Pro upgrade. It's mainly used by manufacturers for automated test.Is it possible to perform measurements in the standard version of REW via API? Or is this feature only available in the Pro version?
No idea, sorry.Would it be possible to run multiple REW instances in AWS as is and or would it require major changes to install?
A very rough idea. It would require some manual startup.Would it be possible to run multiple REW instances in AWS as is and or would it require major changes to install?
I am totally lost in multiple AWS methods and documentation regarding something like this.
AWS seem to be more than capable to do this but the methods seem to have changed regularly with different and confusing instructions for each. It would be nice to access REW API features remotely from a mobile phone however even if John permits this and we can achieve to run it smoothly, I guess there would still be significant CPU time charges from AWS.A very rough idea. It would require some manual startup.
- spin up a Linux distro
- setups multiple users
- install rew for each user locally
- start rew api server for each user session on a different port
- call rew api from the server
In this setup each rew instance is insulated in its own user space with individual rew settings.
I have no experience with AWS so I’m not sure how you can call it from anywhere. If you can get a unique server url it will solve the problem.
REW's API is only accessible locally on the machine to avoid security issues. To access it remotely you would need to install some intermediate application of your own which provides external access.It would be nice to access REW API features remotely from a mobile phone
One more little question - how to acquire corresponding frequency besides the magnitude and the phase?Array encoding
Arrays are transferred as Base64-encoded strings generated from the raw bytes of the 32-bit float sample values. Base64 decoding is well supported in programming languages, here is how to recover the arrays in Java:
public static float[] decodeArray(String base64Encoded) {
return byteToFloatArray(Base64.getDecoder().decode(base64Encoded));
}
private static float[] byteToFloatArray(byte[] bytes) {
FloatBuffer buf = ByteBuffer.wrap(bytes).asFloatBuffer();
float[] floatArray = new float[buf.limit()];
buf.get(floatArray);
return floatArray;
}
The FrequencyResponse object returned has a start frequency (the frequency of the first point in the array) and either a points per octave figure for log spaced data or a frequency step figure for linearly spaced data to determine the frequency for subsequent points. For log data the frequency at any index (starting from index 0) isOne more little question - how to acquire corresponding frequency besides the magnitude and the phase?
double freq = startFreq*Math.exp(index*Math.log(2)/PPO)
Just to avoid repetition, the option is independent of which graph is displayed.Is there a reason why the Make group from filenames option isn't available in All SPL?
No, but I can add one in the next build.Is there a way to toggle the black, phase response graph on or off within the Alignment Tool?
Thanks JohnNo, but I can add one in the next build.
Can you also add the new "Better delay" metric shown in Alignment tool to alignment-tool/result API?No, but I can add one in the next build.
I will return it as part of the "delay too large" error message.Can you also add the new "Better delay" metric shown in Alignment tool to alignment-tool/result API?
Seems to work fine for me. Which graph are you viewing? Have you selected just one measurement to move or are other measurements in the group selected?Dragging a measurement to rearrange the order doesn't seem to work when it's in a group; is that intentional?