Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法通过从立体声或多通道文件中读取单个通道来加载单声道缓冲区?谢谢!
【替别人问】
是的:Buffer 有一个“readChannel”方法,可以完全按照您的要求进行操作。
例如加载通道 3:
b = Buffer.readChannel(s, pathToAudioFile, channels: [3]);