Hello pm2 community —
I’m having trouble calling pm2 at the command line and referencing precise SDIF output file specifications, trying to simulate how AddAn once produced a harmonic partial tracking analysis that output 1TRC frames to an SDIF file.
In short, how can I reproduce 1TRC frame output in AudioSculpt while running a similar harmonic partial tracking analysis (in which an f0 temp file is referenced by pm2 to generate the partials, like AddAn)? AS insists on writing HRM frames with its pm2 data, but I see no way to specify an alternative in the shell. I’d like to keep using AddAn but there are continual problems that make it unfeasible.
Having examined the output of my old AddAn files (via SDIFtoText droplets included with AS), I can tell that AddAn was writing 1TRC frames. These files read seamlessly into CNMAT’s SDIF-buffer, SDIF-tuples, threefates, etc., for resynthesis in Max.
AS only produces 1TRC frames when the analysis is “inharmonic,” but for my purposes I need a harmonic analysis. AS’s harmonic analysis only seems to allow HRM, and these don’t seem to read into the CNMAT SDIF tools for resynth, regardless of stream number, etc.
Besides writing a path to the output SDIF file, I see no way to specify the SDIF frame or matrix type in a pm2 call at the command prompt. AddAn only wrote this output path as well; no specifics about SDIF, and the frames were always 1TRC.
Here is the command AddAn would run, captured in the SDIF file:
pm2 -v -Apar -P[path] -S[path] -R48000.0 -Wblackman -N2048 -M1920 -I480.0 -a0.01 -r0.01 -c0.5 [path to output file]
This produced 1NVT with 1TRC frames. The same command in AS produces a file with HRM.
Does the application (AS or AddAn) somehow determine specifications for the SDIF output file apart from the pm2 call that runs the analysis?
I’m not sure exactly what determines this behavior, but it seems closely related to pm2 and I don’t see a specific SDIF thread on the forum where I could share these questions.
Thanks in advance for any guidance on how to resolve this!
All my best —
Louis