0

I am desperately looking for a way to control the balance of a sound (left-right) with Pyglet. I am aware of the 3D positioning system, but what I really want is just control the panning (something like -1:left <--> 1:right), and the 3D system is quite counter-productive in that context (or maybe I am missing something).

If not with Pyglet, could you suggest any other python library allowing this? (I've been looking at many, but without success).

It seems like a pretty straightforward tast to ask to a sound engine, but I am not able to figure it out...

Thanks!

4

1 回答 1

0

我发现可以pygame处理。

中的声音引擎pygame基于sdl_mixer,它允许使用通道,您可以分别控制左右音量。

它不是pyglet……而是……pygame似乎包含在Cocos2D其中是建立在pyglet……之上的。

于 2012-01-15T18:47:52.817 回答