Updated Playlist (markdown)

zxkmm 2023-06-11 17:10:38 +08:00
parent e524b4faef
commit c45991b66d

@ -6,7 +6,7 @@ The file with PPL extension is just text file, you could edit it with any of the
Playlist files are comma delimited and have the following structure: Playlist files are comma delimited and have the following structure:
FREQ,File_PATH,SAMPLE_RATE,PULSE_TIME FREQ,File_PATH,SAMPLE_RATE,PULSE_TIME
The unit of PULSE is `ms`, and it's for the pulse before the file at same line. The unit of PULSE is `ms`, and it's for the pulse before the file at same line.
For example, a valid playlist file could contain: For example, a valid playlist file could contain:
@ -15,13 +15,17 @@ For example, a valid playlist file could contain:
433920000,SAMPLES/TeslaChargePort_EU_AU.C16,500000,50 433920000,SAMPLES/TeslaChargePort_EU_AU.C16,500000,50
``` ```
It will do: It will do:
Play SAMPLES/TeslaChargePort_US.C16 at 315000000 Hz freq, with 500000 rate 1. Play SAMPLES/TeslaChargePort_US.C16 at 315000000 Hz freq, with 500000 rate
pulse 50 ms 2. pulse 50 ms
Play SAMPLES/TeslaChargePort_EU_AU.C16 at 433920000 Hz freq, with 500000 rate 3. Play SAMPLES/TeslaChargePort_EU_AU.C16 at 433920000 Hz freq, with 500000 rate
over. 4. over.
The LOOP check box is for entire PPL file. The LOOP check box is for the entire PPL file.
Once you interrupted the replay, it would start over since the beginning of the list.
We apologize that we changed the grammar of PPL probably several times, even though we did some compatibility work, for example you actually don't need to specify the delay/pulse timing if you don't need that, still, pls try to use the standard grammar, because it would be hard to take care of all the possible case in limited code in a very old CPLD. And limited storage.
[Video demonstration of playlist app](https://user-images.githubusercontent.com/164560/191515258-36621648-3827-4eed-b77b-e8dbaf9be63e.mov) [Video demonstration of playlist app](https://user-images.githubusercontent.com/164560/191515258-36621648-3827-4eed-b77b-e8dbaf9be63e.mov)