Exporting Spectral Envelope Info

Hello,

I’m wondering whether someone could advise on the best method to export a list of peak frequencies as frequency and amplitude pairs for a given marker of a sound file after a simple FFT analysis.

I want to export the spectrum of a sound (e.g. gong) so I can see and process the pitch data in either OpenMusic and/or bach in Max.

I see the info on the user guide about exporting SDIF files but I’m not certain whether I can specify frequency and amplitude to export, and then I’m also not certain how to use SDIF with other applications. But, I think many other composers already do this as a compositional workflow (e.g. Murail), so I’m hoping someone can point out what’s best practice.

Many thanks
Nicholas