[squeak-dev] MIDI plugin [was: Google Summer Of Code 2010 news!!!]

Bert Freudenberg bert at freudenbergs.de
Sun Mar 7 17:00:04 UTC 2010


On 07.03.2010, at 17:41, Stéphane Rollandin wrote:
> 
> actually I have not made myself clear about the MIDI support:
> 
> currently I'm developing a musical composition framework on Windows, where the MIDIplugin works fine. on linux, there is no MIDIplugin built in the VM
> 
> so I have this test:
> 
> 
> 	| plugins |
> 
> 	plugins _ (SmalltalkImage current listBuiltinModules, SmalltalkImage current listLoadedModules) collect: [:pn | (pn findTokens: ' ') first asSymbol].
> 
> 	self assert: (plugins identityIncludes: #MIDIPlugin).
> 
> 
> ... which fails in linux, and I would like to have it green, and use the MIDIplugin exactly as in Windows.
> 
> is this possible now ? is it possible from the code you gave me ?
> 
> 
> best,
> 
> Stef

Maybe. But be aware that your test is faulty. #listLoadedModules only lists loaded plugins and does not find available external plugins. You should remove #listBuiltinModules from your test, and ensure the plugin was loaded before (by calling any primitive in that module).

- Bert -




More information about the Squeak-dev mailing list