1104{
1105 wxString clips;
1106 const auto wt =
dynamic_cast<const WaveTrack*
>(t);
1107 if (!wt)
1108 return clips;
1110
1111
1112
1113 for (size_t i = 0, n = ca.size(); i < n; ++i)
1114 {
1115 if (i < 1000)
1116 {
1117 clips += wxString::Format(
1118 wxT(
"(list (float %s) (float %s))"),
1121 }
1122 else if (i == 1000)
1123 {
1124
1125
1126 clips += "NIL";
1127 }
1128 else if (i > 1000)
1129 {
1130 break;
1131 }
1132 }
1133 return clips;
1134};
static wxString ToString(double numberToConvert, int digitsAfterDecimalPoint=-1)
Convert a number to a string, always uses the dot as decimal separator.
A Track that contains audio waveform data.
IntervalHolders SortedIntervalArray()
Return all WaveClips sorted by clip play start time.