Exporting envelope of damped sinusoidal wave
Posted: Fri Aug 14, 2020 3:58 pm
I'm looking to export data points with time and linear amplitude of a damped sinusoidal wave (struck instrument string). I'm only interested in analyzing the (assumed) exponential decay of the vibration's amplitude, so the envelope of the sinusoidal is really all I'm looking to export into Logger Pro/Excel. (not the wave patterning inside, just the peaks)
I found in another post here a Nyquist prompt to find the absolute peak amplitude in the time interval of one second, and it seemed very promising as I tried it out. Unfortunately, I can't yet understand code (working on it!) and, therefore, I don't know how to modify it to my purposes. I'm looking to export something along the lines of an average/peak amplitude of the sound wave in a time interval of 50-100ms. My samples are approximately 2 seconds long, and I'd need sufficient data points to be able to analyze the decay further.
So far my plans of attack have been 1) reading the amplitude and time manually and logging it into a data sheet (aLOT of grunt work) and 2) using sample data export and weeding out all but the peaks, only to find thousands of data points (more grunt work).
I don't know if what I'm trying to do makes any sense/is possible at all. Any tips or differing ideas on how to examine the decay of a sound wave? All help very welcome.
I found in another post here a Nyquist prompt to find the absolute peak amplitude in the time interval of one second, and it seemed very promising as I tried it out. Unfortunately, I can't yet understand code (working on it!) and, therefore, I don't know how to modify it to my purposes. I'm looking to export something along the lines of an average/peak amplitude of the sound wave in a time interval of 50-100ms. My samples are approximately 2 seconds long, and I'd need sufficient data points to be able to analyze the decay further.
So far my plans of attack have been 1) reading the amplitude and time manually and logging it into a data sheet (aLOT of grunt work) and 2) using sample data export and weeding out all but the peaks, only to find thousands of data points (more grunt work).
I don't know if what I'm trying to do makes any sense/is possible at all. Any tips or differing ideas on how to examine the decay of a sound wave? All help very welcome.