压缩和无损的文件?
无损 (lossless,uncompressed): wav, , aiff 压缩 (lossy, compressed): mp3, aac, opuse
比特率
采样率:每秒钟采集声音样本的次数,
44.1 kHz: 这是CD质量音频的标准采样率。
48 kHz: 常用于专业音频录制和电影制作。
96 kHz 和 192 kHz: 这些更高的采样率通常用于高分辨率音频和某些专业音频应用。
128 kbps: 这是MP3文件的常见低质量比特率。
192 kbps 和 256 kbps: 这些比特率在MP3格式中提供更好的音质。
320 kbps: 这是MP3格式的最高标准比特率,提供很好的音质。
what’s context;
how the gin implement
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 class GinContext { // Represents the HTTP request. Request HTTPRequest // Represents the HTTP response writer. Response HTTPResponseWriter // A map to store values specific to this context. Map[string]any Values // Status code to be sent in the response. int StatusCode // Handlers are the list of middleware + main handler that will be executed.
SSML: speech sysnthesis markup language,如何合成语音
1 2 3 4 <speak> <voice name="en-GB-Wavenet-A">Hello, I am a British English voice.</voice> <voice name="fr-FR-Wavenet-A">Bonjour, je suis une voix en français.</voice> </speak>
websocket how:
how to create connect 计费 那个
是什么;
如何使用;
函数; 类型 interface 和 any 的关系
类型约束
是什么 可以包含intercace methods 吗 union ; 常用的 interface ~ 类型推断;
Generics type in go
类型的泛化,允许函数存在一种以上的类型:
如何实现:类型参数;
1 2 func [T any]() 目的: 减少重复代买提高代码的复用;
类型 的约束: type constraint; type parameters 类型的类型,类型的集合
类型的本质就是约束;
how :
1 2 3 4 5 6 // 类型的类型 type A interface { type1 | type2 | type3 } func go[A AType](b) 可以包含interface methods吗? 目前不能,因为类型集合如果有 interface 又有 type , 你最终还是要通过反射来推断他的类型
gitlab: not a program , a combine fo mutiple program
gitlab runner: which program run the ci/cd work;
docker, all command will run in docker shell: run in host machine and using host machien’s script;