Help - Search - Members - Calendar
Full Version: foo_midi
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
vasya_pupkin
I cannot get foo_midi running well with foobar2000 0.9 release. I'm using latest version from http://static.morbo.org/kode54/ with Edirol Hyper Canvas VSTI 1.53. Playback starts with no errors and the synthesizer seems to work, according to CPU load, but I get no sound at all. sad.gif
mil3s
This plugin doesn't work correctly. I tried it a few days ago and the midi sound is bad compared to Media Player. I guess it uses it's own midi rendering instead of the one provided by the system. sad.gif
kjoonlee
vasya_pupkin, are you using kernel streaming?

mil3s, did you change the MIDI output pluin from Emu de MIDI to a proper VST instrument?
vasya_pupkin
kjoonlee, I tried both KS and DirectSound. I have no problems with mpc's or mp3's. Only with midi.
vasya_pupkin
By the way, I have just switched foo_midi to use 'Emu de midi' instead of Edirol HyperCanvas VSTi and I got the sound. I guess there is a problem with VSTi handling... The same version of this HyperCanvas worked perfectly on foobar2000 0.9 beta14 about 4 months ago.
kode54
Edirol HyperCanvas VSTi v1.53 is working with X-Fi KS output here.
mil3s
QUOTE(kjoonlee @ Mar 20 2006, 06:35 PM)
mil3s, did you change the MIDI output pluin from Emu de MIDI to a proper VST instrument?
*


Why should I have to change anything to get the proper sound? dry.gif There are no problems like this in Winamp.

My soundcard is a Soundblaster Audigy 4. Where do you sugguest I look for the VST?
kjoonlee
foo_midi is for VST instruments; it's been designed that way.

BTW, I get crashes when MIDI playback ends. I'm using Roland Virtual Sound Canvas 3.2.

CODE
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 02041507h
Access violation, operation: read, address: 02041507h
Call path:

This is the first crash logged by this instance.
Access violation, operation: read, address: 02041507h
Access violation, operation: read, address: 02041507h
Registers:
EAX: 00000001, EBX: 77DE58B4, ECX: 00000101, EDX: FFFFFFFF
ESI: 000002F4, EDI: 00000001, EBP: 77E6ABE4, ESP: 021EFFA4
Unable to identify crash location

Loaded modules:
foobar2000 loaded at 00400000h - 004DC000h
ntdll loaded at 77F80000h - 77FFB000h
COMCTL32 loaded at 71710000h - 71794000h
GDI32 loaded at 77F40000h - 77F7C000h
KERNEL32 loaded at 77E50000h - 77F37000h
USER32 loaded at 77DE0000h - 77E45000h
ADVAPI32 loaded at 796D0000h - 79732000h
RPCRT4 loaded at 786F0000h - 78761000h
SHLWAPI loaded at 70BD0000h - 70C35000h
msvcrt loaded at 78000000h - 78045000h
SHELL32 loaded at 78F90000h - 791D8000h
ole32 loaded at 77A20000h - 77B17000h
shared loaded at 10000000h - 1002A000h
comdlg32 loaded at 76AE0000h - 76B1E000h
IMM32 loaded at 75DF0000h - 75E0A000h
SAENARU loaded at 00970000h - 00987000h
OLEAUT32 loaded at 77980000h - 77A1B000h
foo_input_std loaded at 00DA0000h - 00EAC000h
foo_ui_std loaded at 00EC0000h - 00F17000h
foo_midi loaded at 00F30000h - 00FD8000h
DSOUND loaded at 51080000h - 510E1000h
WINMM loaded at 77520000h - 77550000h
VERSION loaded at 777D0000h - 777D7000h
LZ32 loaded at 75940000h - 75946000h
vscapi loaded at 69F00000h - 69F1C000h
wdmaud loaded at 77510000h - 77518000h
msacm32 loaded at 773B0000h - 773B8000h
MSACM32 loaded at 773C0000h - 773D3000h
KsUser loaded at 5EF80000h - 5EF84000h
imagehlp loaded at 778F0000h - 77913000h
DBGHELP loaded at 72920000h - 7294D000h

Stack dump analysis:
Address: 00480048h, location: "foobar2000", loaded at 00400000h - 004DC000h
Address: 00480048h, location: "foobar2000", loaded at 00400000h - 004DC000h
Address: 77E5987Ch, location: "KERNEL32", loaded at 77E50000h - 77F37000h
Address: 00480048h, location: "foobar2000", loaded at 00400000h - 004DC000h
Address: 00480048h, location: "foobar2000", loaded at 00400000h - 004DC000h
Address: 77E6F0B4h, location: "KERNEL32", loaded at 77E50000h - 77F37000h
Address: 77E5D360h, location: "KERNEL32", loaded at 77E50000h - 77F37000h

Version info:
foobar2000 v0.9
UNICODE

Additional info:
FLAC decoder 1.1.0 (foo_input_std)
Standard input array 1.0 (foo_input_std)
Default User Interface 0.9acc (foo_ui_std)
MPEG-4 AAC decoder 2.1 (foo_input_std)
MIDI synthesizer host 1.6 (foo_midi)
vasya_pupkin
QUOTE(kode54 @ Mar 21 2006, 12:45 PM)
Edirol HyperCanvas VSTi v1.53 is working with X-Fi KS output here.
*


Do you have an idea why could it not work for me? What can I do wrong? maybe it is possible to debug it?

When I try to play midi, I see HyperCanvas window with progress bar showing for a while (it was like this always), then playback starts but I get only silence..
vasya_pupkin
I tried to use same HyperCanvas and foobar2000 installations on another computer and it worked. Funny thing. Foobar2000 0.8.3 and foo_midi with DXi interface woked on this machine. 0.9 and VSTi don't.

Also I found another problem with foo_midi: sapmplerate setting is ignored. It always 44100 regardless of what I set it to.
kode54
Is that 44100 output, or 44100 reporting in file info? The problem with reporting sample rates in file info is that they won't be updated on configuration changes unless you reload info.

The only case where sample rate really cannot be changed is if you are already playing files with the built-in "Emu de MIDI" synthesizer, in which case you are locked until you stop all playing instances.
vasya_pupkin
Oh, I see.
vasya_pupkin
I enabled visualization and it shows there is a signal. But I don't hear the sound.

I tried to calculate replaygain values for midi file and got an error 'Unsupported channel configuration'. I switched to Emu de midi and this time I could calculate replaygain with no problems.

Now I can guess why I can't hear the sound. Maybe it's because my system cannot play multichannel data (any surround format, etc), only mono or stereo. I removed surround mixer module in kX router.

Easy to check. I added 'Downmix channels to mono' DSP and got the sound.
Leolo
Hi everyone,

I'm sorry to usurp this thread, but I have a little question that is somehow related to this discussion:

I've been listening to a few MIDI files (mainly from old DOS games) with foobar2000 0.9 and the foo_midi plugin.

They all sound very well with HyperCanvas VST v1.53 and Virtual Sound Canvas VST v1.01, but each of these virtual synths produce slightly different sounds.

Now I don't know which one should I use to listen to MIDI files!

My question is: which one is closer to the original sound intended by the composer? How can I tell that?

Many thanks.
Regards.
vasya_pupkin
Use the one you like best. All composers use completely different instruments so you'll never find a synth which will play all midi files exactly how they sounded to composer.
Deewiant
QUOTE(kjoonlee @ Mar 21 2006, 03:09 PM)
BTW, I get crashes when MIDI playback ends. I'm using Roland Virtual Sound Canvas

Same here, using the latest, March 23rd's, foo_midi. I can post a bunch of failure reports if anyone's interested.
vasya_pupkin
kode54, is it possible to get 2 channel output from VST plugin?
Pardon my annoyance.. smile.gif
popatr
I also get no sound with foo midi- unlike someone else here, downmixing to mono didn't make the sound come.

I have tried two free vst plugins, one called crystal, and the other called 3s. I found both on
http://www.espace-cubase.org/anglais/page.php?page=freevsti
both seem to be recognized by foo_midi, but they are silent.

Is there some free vsti that foo_midi has been verified to work with?

I use the 0.9 final and the latest foo_midi. I use just the plain primary sound driver for output, with only the equalizer in the dsp chain. I have tried resampling to 44100 just to make sure, but turned that off when it didn't help.
vasya_pupkin
Why won't you get a good synth like Edirol HyperCanvas?
mil3s
^Duh. Maybe because you have to pay for it. dry.gif
vasya_pupkin
More news. smile.gif Today I tried to convert midi to wav and it worked. I opened result wav file and looked it's info.
CODE
bitrate = 6144
samplerate = 48000
channels = 8
codec =
encoding = lossy
bitspersample = 16
----------
7248000 samples @ 48000Hz
File size: 115 968 068 bytes

8 channels! LOL! smile.gif

Update:
Analized this waveform in wave editor and found out it contains 2 channels with sound and 6 empty channels (silence).
Rasi
*solved*
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.