⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ascii-bs.awk

📁 Reference Implementation of G.711 standard and other voice codecs
💻 AWK
字号:
#!/bin/awk# --------------------------------------------------------# AWK script to produce an ASCII printout of a "bogus"# G.192-compliant encoded frame. It will take frame # sizes from the command line and print the sync header, # frame length, and softbits, alternating 1's and 0's.## NOTE: the ascii output can be converted to bynary using # the unsupported demo program ascii2bin.c## Simao -- February 2001# --------------------------------------------------------{  print "0x6B21"  printf("0x%00x\n", $1)  for (i=0;i<$1;i++)     print i%2? "0x007F":"0x0081"}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -