r - 如何在 Warbler 中使用数据类型 wav
问题描述
抱歉,这可能是一个新手问题..
在此示例中删除波形文件中的频道: https ://marce10.github.io/warbleR/reference/remove_channels.html
没有关于诸如“filename.wav”之类的 wav 文件的信息。
如果我像这样用我的 wav 文件“ambiance_destailleurs.wav”更改示例是否正确?
{
# save sound file examples
ambiance_destailleurs <- file('ambiance_destailleurs.wav')
data(ambiance_destailleurs)
ambiance_destailleurs.1.2 <- stereo(ambiance_destailleurs, ambiance_destailleurs)
writeWave(ambiance_destailleurs.1.2, file.path(tempdir(), "ambiance_destailleurs.1.2.wav"))
rm_channels(channels = 1, path = tempdir())
#check this floder
tempdir()
}
但它不起作用...
谢谢你的帮助。
解决方案
推荐阅读
- c# - 目标进程退出但未引发 CoreCLR 启动事件 - 尝试在 Visual Studio 中运行基于硒的测试时输出错误
- javascript - Rust wasm:返回两个 `Uint8Array`
- neo4j - 如何遍历特定标签的节点并显示有多少不同的节点连接到它(Neo4j)
- python - 使用 DASH 在一页上显示两个数据框
- azure - Azure Durable Function Activity 似乎运行多次且未完成
- math - 在给定相机位置和向前、向上和向右单位向量的情况下计算地平线的显示坐标
- android - 如何正确处理 FirebaseAuth 异步结果?
- rest - 如何在测试 API Go 时模拟一个 enpoint?
- java - 增加 JAVA 正方形大小
- python - 为什么变量“client”不能正常工作?