|
From: Mark K. <mar...@co...> - 2003-11-20 02:08:58
|
On Tue, 2003-11-18 at 15:28, Christian Schoenebeck wrote: > > Christian any idea why on Mark's box the current CVS does not work ? > > Nope, I don't really think it has to do something with my changes. Mark, have > you removed the sources and tried a clean new checkout? Perhaps you just > messed up something accidently. Apparently I did mess something up. As I said, I was using my USB devices over the weekend to test my dad's new machine, so I had unplugged by MidiSport. When I was done I plugged it back in, but apparently plugged it into a different USB port. For whatever reason, the device was 'recognized' as a USB device, and using usbview I could see all the config data inside of it, but for some reason it doesn't get linked to the usb-audio driver when plugged into that port. I eventually noticed that the usb-audio driver, while loaded, said it was unused, so I plugged the MidiSport into a different USB port and then the MidiSport linked itself to usb-audio and started working again. Why should this be? Why doesn't Linux treat this stuff the same? I do not see much difference in terms of segfaults from the previous rev. It still dies after one or two notes as it did before. (Get up to a high voice count, let the voices die away so it all goes back to zero, then play a few notes and it crashes.) Anyway, with the MIDI input working again I played a bit with the new code. I don't have much good to report really. It does work now, in the sense that I get audio, but my sense (just from playing) was that somehow the sample choices it's making from a multi-sample/note library are not right. I got some very strange effects playing hard and soft. To study this a bit I ran the Bardstown piano through the MIDI velocity tests I had done earlier. This was the MIDI file supplied by Warren Trachtman. What I found was that volume is not varied at all over the complete range of MIDI velocities, while there seemed to be only 3 samples chosen out of the 4 in the library. This would seem to be a bug to me, but possibly not... I do not know if you are even attempting to chose samples based on velocity, nor do I know if you are trying to control volume at all based on velocity, so I won't call these results a bug until you report back what I should be getting. I hope this data helps. |