[Csnd] 2 Midi Files in one project
Date | 2019-12-11 18:35 |
From | Mahubis |
Subject | [Csnd] 2 Midi Files in one project |
I'm trying to play two separate midi files in one project. Bronson2 I have working fine. How should I approach bass.mid to get it to work alongside the other file. I have a feeling it's something about Midi numbers however I'm new to csound and unsure. I've posted the code below. I'm receiving an error message that the midi file won't load however I've made sure it's in the project file. Any help is appreciated, thanks. |
Date | 2019-12-11 18:52 |
From | Rory Walsh |
Subject | Re: [Csnd] 2 Midi Files in one project |
Others will no better, but I didn't think this was possible. I've only ever seen examples of a single MIDI file loaded, but that doesn't mean it's not possible. Others, what say ye? On Wed, 11 Dec 2019 at 18:29, Mahubis <mark63888@gmail.com> wrote: I'm trying to play two separate midi files in one project. Bronson2 I have |
Date | 2019-12-11 19:06 |
From | Victor Lazzarini |
Subject | Re: [Csnd] 2 Midi Files in one project |
yes, you can only read one midifile per instance of Csound. Prof. Victor Lazzarini
Maynooth University
Ireland
|
Date | 2019-12-11 19:15 |
From | pete.goodeve@COMPUTER.ORG |
Subject | Re: [Csnd] 2 Midi Files in one project |
Attachments | None |
Date | 2019-12-11 19:27 |
From | Rory Walsh |
Subject | Re: [Csnd] 2 Midi Files in one project |
I'm guessing the fact that we don't already have one is indicative of it not being that straightforward? But I'm not really a MIDI guy.. On Wed, 11 Dec 2019 at 19:15, <pete.goodeve@computer.org> wrote: On Wed, Dec 11, 2019 at 07:06:28PM +0000, Victor Lazzarini wrote: |
Date | 2019-12-11 20:10 |
From | Victor Lazzarini |
Subject | Re: [Csnd] 2 Midi Files in one project |
yes, not straightforward at all. The midifile data is played like a score, so it works a bit like the standard numeric score (where you can't have more than one in memory).
Of course you can stream rt midi data in, so an external midifile player or sequencer would do the job.
Prof. Victor Lazzarini
Maynooth University
Ireland
|
Date | 2019-12-11 20:51 |
From | Richard |
Subject | Re: [Csnd] 2 Midi Files in one project |
I would recommend mido, a Python midi library. Richard On 11/12/2019 21:10, Victor Lazzarini
wrote:
yes, not straightforward at all. The midifile data is played like a score, so it works a bit like the standard numeric score (where you can't have more than one in memory). |