scratch team mailing list archive
-
scratch team
-
Mailing list archive
-
Message #00104
Re: Scratch Java applet plays back midi on Linux?
Unfortunately it is not working for me :(
On Mon, Mar 29, 2010 at 3:50 PM, John Maloney <jmaloney@xxxxxxxxxxxxx> wrote:
> Hi, Amos.
>
> The Scratch Player is supposed to be able to download the soundbank from the
> website if it doesn't have a local copy. But it's possible that:
>
> a. the soundbank file was not in the right directory on the website (that
> would affect non-Linux users, too)
> b. Linux Java was failing to download the soundbank before, but now it
> works (no idea why that would happen)
> c. you recently installed a local copy of the soundbank on your Linux
> machine, or perhaps it came along with some upgrade
> d. you've recently gotten a new version of Java that fixes some problem
> with soundbank loading
>
> It might be interesting to try to figure out why it suddenly started
> working. We'd need to so some experiments on your computer to figure out
> where it's getting the soundbank (i.e. does it have a local copy or is it
> downloading it).
>
> In any case, it's cool that it's working now!
>
> -- John
>
>
>
> On Mar 29, 2010, at 2:52 PM, Amos Blanton wrote:
>
>> Hmmm.... I always used to get an error message in the applet saying
>> something like "Failed to load soundbank"... it's been a while. I always
>> figured it was b/c of lack of good midi libraries in Linux, but maybe it was
>> just temporary problem with my applet or Java config. Hrm...
>>
>> On Mon, Mar 29, 2010 at 2:46 PM, John Maloney <jmaloney@xxxxxxxxxxxxx>
>> wrote:
>> Hi, Amos.
>>
>> Wow, that's very cool! (And a nifty random-music project featuring the old
>> I - IV - V - I chord sequence).
>>
>> But are you sure MIDI has not always worked in the Java player? Java has
>> it's own MIDI synthesizer, so I would have expected MIDI to work even on
>> Linux. Unfortunately, that doesn't help with playing MIDI from within the
>> Scratch application.
>>
>> -- John
>>
>>
>>
>> On Mar 29, 2010, at 2:13 PM, Amos Blanton wrote:
>>
>> Recently I noticed that when I view this project in my FF browser, I can
>> hear the midi music:
>>
>> http://scratch.mit.edu/projects/zxz1661/947956
>>
>> That means something in the browser or java applet is processing midi and
>> playing it back on my _Linux_ system. Andres, does it work for you too?
>>
>> The only piece of software installed on my system that's midi related
>> appears to be: libwildmidi0
>>
>> "MIDI streaming library designed to process a midi file and stream the
>> results
>> as stereo audio data through a buffer which an external program can then
>> process further."
>>
>> So - I'm not sure that's it, and if so how it's working... but it's
>> working!
>>
>> Amos
>>
>>
>> --
>> _____
>> Amos
>>
>>
>>
>>
>>
>> --
>> _____
>> Amos
>>
>
>
--
Andrés
References