I'm not a coder just a musician, but I know that is not possible capture the original audio-waves from our yamaha 2149f meanwhile it sounds, but I've thought an idea.
Will be possible capture the waveforms in an ascii table with an actual computer and after show them in the atari meanwhile the music is played?
I do not know if I explain myself very well. The objective will be play the atari YM music in a windows/mac/linux player that can show the Oscilloscope waveforms and capture them in text. Next make a musicdisk/player or whatever you want and try to transcode that table in graphics for show a "fake-wave animation" but that looks like real-time.
Example:
https://www.youtube.com/watch?v=blvTpHlSaTo
This youtuber wrote in description that a software called ymscope can show the atari waves, but I cant find it.
https://www.youtube.com/watch?v=Hn-a1TfaS7Y
Anyone can tell me if will be possible do it?

P.D If you ask why the hell I ask this stupidity, is coz I'd like make a musicdisk that it show the Oscilloscope-waveforms and all coders that I ask told me that it is impossible. (like in C64) PCM audio yes, but impossible in PSG sounds coz are generated in realtime by 2149 and they don't pass by any dma and cannot be captured the waveform in a real machine.