-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to play different instruments at the same time using a composition? #90
Comments
I made another example, using only tracks.
I set the gunshot sound to play on channel 1, but both channels are playing this sound. What am I doing wrong? |
Hi. This is a bug. Essentially, all output goes to channel 1 and a channel only allows one instrument. It's fixed in my fork (https://github.com/cwurld/python-mingus). In fact I am making some major changes. I am not maintaining python 2 compatibility. I have changed how the sequencer works. I am working on percussion. Also there is some code structure that seems odd to me. While I very much appreciate all the work others have done on this project, I am not sure they will even want my contributions merged. So my fork might turn into a separate project. We will see. python-mingus-big-band? Chuck |
Thanks, Chuck. |
Thanks @cwurld ! I spent hours trying to find the cause in the sequencer without success. Long life to you. |
I've been trying to play different tracks using different instruments, but all tracks play the same instrument.
When I execute the example below, the only thing I can hear is the Acoustic Grand Piano playing both tracks.
If I switch the
composition.add_track
methods, as in the example below, the Oboe becomes the only audible instrument.If I pass the
channels
parameter to thefluidsynth.play_Composition
method, nothing changes.What is wrong with my codes? A composition should be able to play multiple instruments, right?
The text was updated successfully, but these errors were encountered: