Ivan DelSol wrote:
There doesn't seem to be a way to get pygame to pass
channels by ID so that I could alter their volumes individually,

According to the docs, pygame.mixer.Channel(id) returns
a channel object corresponding to the given id. So you
could loop over range(pygame.mixer.get_num_channels())
to get channel objects for all the channels and call
set_volume() on all of them.

I agree there ought to be an easier way, though.

--
Greg

Reply via email to