- Thread Starter
- #1,561
Hmm, what do you mean by "both files"? In the "advanced" section I see an option for a second file but it's not clear what will be done with it. I tried using trimmed L and R there but it gave a garbage output. I don't see any option to turn off auto extraction.
Familiarize yourself with the script options, the majority of which are surfaced on the Advanced tab: https://sjplot.com. And yes, the "Sweep Extraction" control is on the Advanced tab, in the "Sweep Extraction" section.
Your specific issue was caused by the HF noise in your recording. In the ~35ms of "silence" between the end of the pilot tone and the start of the sweep the script picked up the ~37kHz noise in the ordersignal function, which is higher than the ~20kHz sweep end, so the function assumed the sweep was running backwards. The correction was misapplied due to a transposition. That's been fixed.
You didn't see the HF garbage in the plot because the Standard configuration automatically applies end_f depending on the record, so no data beyond 20kHz was plotted. If you use Advanced this parameter is not automatically applied. I shifted the start sweep index by 35ms and shifted the end detect filter to not be centered which gives a tighter trim on the extraction.
I made these changes as there are legitimate use cases where better noise immunity is beneficial, however the downside is that it masks setups that aren't fit for purpose. You really need to spend time on your setup and validating your chain.