当前位置:网站首页>Golang Beep包 播放mp3 无法获取总长度 streamer.Len()为0 其他格式却可以
Golang Beep包 播放mp3 无法获取总长度 streamer.Len()为0 其他格式却可以
2022-06-10 14:36:00 【Deng_Xian_Sheng】

可以将[]byte转为File使用,效果和os.Open()一样。
我尝试了
os.NewFile(0, "").Write()
但是控制台输出乱码,声音也无法播放
于是参考embed实现了一个
https://blog.csdn.net/Deng_Xian_Sheng/article/details/125126127
边栏推荐
- [solution] each time the trained model is loaded, the generated vector will be different
- 【LogoDetection 数据集处理】(4)提取每张图片的logo区域
- js获取数组中最大值
- How to build Haojing technology when the computing power network is brought into reality?
- 2022山东省安全员C证复训题库及在线模拟考试
- .NET C#基础(7):接口 - 人如何和猫互动
- [Discrete Mathematical period Review Series] Second and first order Logic (precate Logic)
- LeetCode_21(合并两个有序链表)
- 几种方式可以实现 JMeter 参数化?
- 作为程序员,对于底层原理真的有那么重要吗?
猜你喜欢

2022 Shandong Province safety officer C certificate retraining question bank and online simulation examination

The interview at the big factory was held at 10:00 a.m. and came out at 10:09 a.m. the question was really too

大厂面试上午10:00面试,10:09就出来了 ,问的实在是太...

2022年危险化学品生产单位安全生产管理人员考试模拟100题及在线模拟考试

Primary master-slave table integration process development process
![[logodetection data set processing] (2) draw the label box of the training set picture](/img/66/6c19b80b99d1e3ce50bac439e0e903.jpg)
[logodetection data set processing] (2) draw the label box of the training set picture

KAtex problem - the style of equal sign alignment in CSDN editing

NC | Wang Jun / song Mozhi combined with third-generation sequencing to analyze the structural variation and function of intestinal flora

C multithreading learning note 3

【离散数学期复习系列】六、树
随机推荐
Gin blog summary 1
2022第十五届南京国际工业自动化展览会
焱融看|混合云环境下,如何实现数据湖最优存储解决方案
C multithreading learning note 3
如何写一个全局的 Notice 组件?
How to implement the association between interfaces in JMeter?
Basic concept of data warehouse
Consumption mode of Message Oriented Middleware
利用 GDB 快速阅读 postgresql 的内核代码
2022 Shandong Province safety officer C certificate retraining question bank and online simulation examination
Even some people say that ArrayList is twice as large. Today, I will take you to tear up the ArrayList source code
洞见科技入选「爱分析· 隐私计算厂商全景报告」,获评金融解决方案代表厂商
【云原生 | Kubernetes篇】深入RC、RS、DaemonSet、StatefulSet(七)
Euclidean algorithm for finding the greatest common factor
Ue5 Comment convertir les coordonnées de l'écran en coordonnées du monde et en direction du monde
互联网公司研发效能团队为啥必须独立?何时独立?
Is it safe to open an account in qiniu
2022第十四届南京国际人工智能产品展会
KAtex problem - the style of equal sign alignment in CSDN editing
Yanrong looks at how to realize the optimal storage solution of data Lake in a hybrid cloud environment