24 May '13 - 21:59 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: BASSMIDI - Playback using hardware or software-emulated synthesizer  (Read 849 times)
std66
Posts: 20


« on: 23 Jun '12 - 22:54 »
Reply with quoteQuote

Hi!

I want to implement MIDI playback in my audio player software. As I know, I need a SoundFont file to playback MIDI. Is there any way to use a hardware (eg. a synthesizer connected to MPU-401 MIDI port on a soundcard) or software-emulated (eg. Microsoft GS WaveTable Synthesizer) synthesizer as a playback device?

Thank you in advance.
Logged
Ian @ un4seen
Administrator
Posts: 15276


« Reply #1 on: 25 Jun '12 - 16:26 »
Reply with quoteQuote

I'm afraid that isn't possible with BASSMIDI, but you could try Window's MCI stuff instead. Something like this...

mciSendString("open mymidifile.mid alias mymidi",0,0,0);
mciSendString("play mymidi",0,0,0);
...
mciSendString("close mymidi",0,0,0);
Logged
std66
Posts: 20


« Reply #2 on: 25 Jun '12 - 22:19 »
Reply with quoteQuote

Thanks for your reply. I need more than Windows MCI, because I want high-level MIDI manipulation in my software, e.g. displaying beat, modifying tempo, changing MIDI channels' volume, chord recognization, displaying notes on a virtual piano etc. Do you know any other MIDI libraries that can help me to do these?
Logged
gnag
Posts: 160


« Reply #3 on: 25 Jun '12 - 23:08 »
Reply with quoteQuote

@std66: There is the midi-dot-net Library for C# .NET which allows you to directly access MIDI Functions, you can for example simulate playing Notes on a Piano with a fixed BPM Speed, so you could build a "virtual Piano" easily. It also can play chords but I have tried Chords yet.

I think this would be the better choice for you than dealing with MIDI via Low Level Windows Functions.
Logged
mudlord
Guest
« Reply #4 on: 27 Jun '12 - 03:33 »
Reply with quoteQuote

I hate to self promote but:
http://mudlord.info/bassmididrv

BASSMIDI implemented as a usermode driver for Windows Vista/7/XP. BASSMIDI powers all the synthesis.
Logged
Emil Weiss
Posts: 107


« Reply #5 on: 5 Jul '12 - 03:59 »
Reply with quoteQuote

i have no idea which Developer language you are using..
for the delphi i think the best is MidiFile2 and MidiPlayer2 written by silhwan hjun

see shot what i have do with it...

greets

* 05.07.png (515.36 KB - downloaded 41 times.)
Logged
beanbear6
Posts: 3


« Reply #6 on: 6 Feb '13 - 09:08 »
Reply with quoteQuote

Hi Emil,
wir haben vor langer Zeit schon mal in einem anderen Forum gepostet. Es geht um den MidiPlayer2 und Midifile2. Ich hab nun auch einen kleinen Player gebaut, aber bei mir funktioniert das Pitching nicht. Manche Spuren werden nicht verändert. Hast Du auch sowas bemerkt?

Dann hab ich vom Autor ein paar Zeilen Delphi Quellcode erhalten, um die Lautstärke der einzelnen Spuren verändern zu können, aber beim Compilieren erhalte ich nur Fehlermeldungen. Ich bitte Dich um Hilfe...
Gruß Reiner
(beanbear6)
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines