📄 dec-ep.sh
字号:
#!/bin/bash #--------------------------------------------------------------------# This is an example of how to decimate an FER pattern by a factor# of 2. In this case, FER patterns designed for 20ms frames are# converted into EPs for 40ms frames. Utilities bin2asc, asc2bin,# and sh2chr are available in the unsup directory.## Simao#--------------------------------------------------------------------for f in *-20ms.ep do bin2asc -h $f | \ gawk '{print ($1=="2021"||$1=="2120"||$1=="2020")?"6B20":"6B21"}' | \ asc2bin -h - ${f%-20ms.ep}-40ms.ep.g192donefor f in *40ms*.g192 do sh2chr $f ${f%.g192} done
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -