Skip to content
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

New MIDI file for midi opcode examples (and replace FLTK examples) #560

Open
AsterixMusic opened this issue Jul 11, 2021 · 4 comments
Open

Comments

@AsterixMusic
Copy link

most of the examples that use FLTK are midi opcodes.
I suggest to have 1 standard midi-file with "all" kind of message, with related list.
Ex:
channel 1: 4 notes with different velocity
channel 2: 1 note with control change
channel 3: 2 control change
channel 4: 2 notes - 1 program change - 2 notes
channel 5: .....
........
........

This file could be useful to test also all the MIDI opcodes.
midi_Csound.mid.zip

@csounder
Copy link

csounder commented Jul 12, 2021 via email

@AsterixMusic
Copy link
Author

AsterixMusic commented Jul 12, 2021 via email

@csounder
Copy link

csounder commented Jul 12, 2021 via email

@tjingboem
Copy link
Member

tjingboem commented Jul 13, 2021

the idea of having 1 'big' Midi file that should cover the replacement of all FLTK Midi instruments has yet another advantage; if we find, along the way, that a new CC or sysex should be added because an example requires this due to the particular Midi opcode, we can simply make this addition to an existing Midi channel or create a new Midi channel for it. And then save it under the same name, so older new Midi examples continue to work.
If we re-use one and the same Midi file name for such changes, we do not need to get back to already existing Midi FLTK replaced examples.

Each new Midi example should be able to extract its useful information from a certain channel. I believe Midi Out can have 64 channels, Midi In has 16? Not sure...

Ex:
channel 1: 4 notes with different velocity
channel 2: a few chords with different velocity
channel 3: 1 note with control change
channel 4: 1 chord with control change
channel 5: 2 notes - 1 program change - 2 notes
channel 6: a known melody
channel 7: lots of CCs and sysex
........
........
lots CCs and sysex could be added to channel 7 for example, so it can play the notes from midi channel 1 or 2, and get its CCs from midi channel 7? Or use the 'preset' from channel 1 or 2 or 6...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants