Write same note to multiple waves
Sat, 07/24/2021 - 02:39 pm
It would be nice if there was a way to write the same note to multiple waves in one line, either by explicitly listing the names or passing a string list of names, rather than having to write the note to each wave individually. I am often filtering waves by certain parameters, and I use the notes as a handy way to keep track of the filter criteria. For example, I might extract data where the RMS is below a certain threshold, and I then write that value to the note for all the waves filtered that way. I can sometimes put the filtering and note writing into a loop, but other times this isn't possible, and I have to hardcode it. For large numbers of waves, having to repeat the "Note wavename, notestring" command is rather tedious. I'm not sure if and how a multiple wave note command would work with the current syntax. If the wave names are required, then maybe something like the current Sort syntax, where the sortkey is either a wave name or a bracketed list of wave names would work?