Help - Search - Members - Calendar
Full Version: foo_midi external wrapper mode
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
kode54
I added an input wrapper to foo_midi so you can use foo_emidi for all of the formats that foo_midi supports, as well as looping.

Looping isn't perfect, and tends to cause a rather large CPU usage spike, so you'll need to increase your output buffer to somewhere around 5 seconds, depending on how slow foo_emidi's seeking is on your system.

Also, this feature bumps all of the DXi plug-ins down the list, so you'll need to amend your configuration.

Maybe if the author of foo_emidi shares his source code with me, I can implement his synthesizer without hackish methods like this.
witt
FYI, foo_emidi is based on emidi (EMU de MIDI).
And emidi's source code is here.
http://www102.sakura.ne.jp/~ok/dsa/arc/test/emidi_alpha.zip
http://www102.sakura.ne.jp/~ok/dsa/bbs/wfo...d&no=163&page=0
kode54
It figures, I couldn't really find anything useful when I searched for "emu de midi", but then, I didn't spend much time searching. Thanks.
kode54
Uploaded v1.2 with native Emu de MIDI mode instead of an external wrapper, so you don't need foo_emidi for the full format and looping support. I will probably release my modifications to emidi_alpha:
  • Dirty hack to rewind the MIDI file without resetting the emulated chip modules, only used for loops which don't start on the first tick of the file.
  • Dirty hack to skip X ticks in the MIDI file. Ditto.
  • Slight modifications to the rendering loop so it can accurately render short blocks of samples.
kode54
Uploaded v1.2.1.
  • Renamed internal synth to hopefully prevent confusion with the EMIDI setting, which is a general setting that has nothing to do with which synthesizer is operating.
  • Implemented Data Increment and Decrement controller change commands.
  • Changed the FM synthesizer's default pitch bend range from 12 semitones to 2.
Silverbolt
Testing it out and noticed that ITRK gets mapped to 'UNKNOWN' instead of the tracknumber.

Internal midi playback is most welcome. Much thanks, kode. <3
kode54
ITRK was not documented in either of the pages I found. Neither was IALB before I noticed that in_midi had applied it to one of my old files. I will add ITRK.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.