Author Topic: Posible MIDI Out ???  (Read 124 times)

Circe

  • Posts: 17
Posible MIDI Out ???
« on: 7 Feb '19 - 14:52 »
Hi at all. Time ago I made a program to Play MIDI files and other to Play piano chords.
Then i had to use sf2 fonts to sound The files and The notes.
My question its easy... Is It posible to send The MIDI notes to a diferent MIDI port ?.
I dont want to use sf2 . Just send The notes to another output.

THANKS a lot !!!!!

Circe

  • Posts: 17
Re: Posible MIDI Out ???
« Reply #1 on: 8 Feb '19 - 11:08 »
PLEASE PLEASE  ??? ??? ??? ???

Do I understand that its posible send MIDI notes using midiout port ??

http://www.bass.radio42.com/help/html/03c1fe6a-585d-d5ab-dbab-92cc69aa86e3.htm
 :'( :'( :'( :-\ :-[ ::) ??? :o

Circe

  • Posts: 17
Re: Posible MIDI Out ???
« Reply #2 on: 8 Feb '19 - 11:24 »
A post I found You said.....

....."Never say never, but there are no plans for that at the moment. I don't think it's a crucial requirement for BASSMIDI as the OS already provides functions to send MIDI data to MIDI hardware. If you would like to load MIDI files via BASSMIDI and then be able to play them via MIDI hardware, what you could try is using BASS_MIDI_StreamGetEvents to get the events, and then translate that to MIDI data (see the BASS_MIDI_StreamEvent documentation for event details), which you can pass to midiStreamOut..."

Code: [Select]
DWORD eventc=BASS_MIDI_StreamGetEvents(handle, -1, 0, NULL); // get number of events
BASS_MIDI_EVENT *events=new BASS_MIDI_EVENT[eventc]; // allocate event array
BASS_MIDI_StreamGetEvents(handle, -1, 0, events); // get the events
// convert the event array to MIDI data and pass to midiStreamOut here
delete[] events;


Im using bass.dll with to trigger 384 Yamaha MIDI files, they contain Marks, after I read The MIDI file Style.. I find The Marks  and play them with sf2 soundfonts, but Id like to send The notes to a different MIDI outport !!! Not soundfonts !!!
BUAHHHHH.

Any simple aclaration woulbe greatfull..

Im using (still..vb6).
« Last Edit: 8 Feb '19 - 11:28 by Circe »

Ian @ un4seen

  • Administrator
  • Posts: 21533
Re: Posible MIDI Out ???
« Reply #3 on: 8 Feb '19 - 15:48 »
I'm afraid there is still no plans for MIDI output support in BASSMIDI.

If you just want to play a MIDI file, you could use MCI to do it:

   https://docs.microsoft.com/en-us/windows/desktop/multimedia/playing-a-midi-file

Circe

  • Posts: 17
Re: Posible MIDI Out ???
« Reply #4 on: 8 Feb '19 - 17:01 »
What a pitty !!!!! :-[ :-[ :-[ :-[

I Will have to wait for more time...

My proyect its finished, but using GM soundfonts

Tons of vsti like kontakt Will have to wait !!!

Please, have in count. I think Many people want to use that feature.