[squeak-dev] Squeak and the SoundPlugin in cog VM

Tobias Pape Das.Linux at gmx.de
Fri Dec 6 10:11:28 UTC 2019


Hi Eliot, Christian,

> On 05.12.2019, at 19:33, Eliot Miranda <eliot.miranda at gmail.com> wrote:
> 
> Hi Christian, please consider contributing your code to open Smalltalk vm (if you haven’t already).  We can happily add a platforms/openbsd if required.

I at one point considered that,
but up until now, it has worked quite ok with the Unix-flavoured builds in linuxXX.xxx.

Indeed, it should be as simple as adding a folder
	vm-sound-sndio to platforms/unix
and adding a file for autoconf, and maybe cmake, as well as your plugin source.
Examples can be found in vm-sound-Sun, vm-sound-NAS and so on.

Then, someone should regenerate the configure file in platforms/unix/config
and the linux builds will happily pick up the new plugins.

Best regards
	-Tobias



> 
> _,,,^..^,,,_ (phone)
> 
>> On Dec 4, 2019, at 11:40 PM, Christian Kellermann <ckeen at pestilenz.org> wrote:
>> 
>> Dear Lists!
>> 
>> I have written a VM SoundPlugin for OpenBSD's native sound system
>> sndio. Which means that now I have sound in Squeak on this platform.
>> However I am a bit struggling with the sound quality of SampledSound's
>> like in the eToys SoundLibrary. Those produce an echo effect when
>> played and I have been unable to determine the cause. However the
>> Bach fugue Tests sound perfect so I am suspecting some miscalculations
>> in sample data somewhere on the way.
>> 
>> As I have been trying to confirm the 'normal' behaviour on Linux I
>> stumbled over issues with the sound plugins on my ArchLinux box:
>> None of them work.
>> 
>> ALSA, OSS or Pulse Audio plugins error out in different stages of
>> the drivers.
>> 
>> Am I the only one? What's the last known good state of those?  What's
>> the last known good state of sound output for the SoundLibrary
>> SampledSounds?
>> 
>> I have tried with latest master and trunk of both opensmalltalk-vm
>> and Squeak.
>> 
>> I am grateful for any hints. Once that works I will propose patches
>> to the opensmalltalk-vm code base.
>> 
>> Thanks,
>> 
>> Christian
>> 
>> 
>> -- 
>> May you be peaceful, may you live in safety, may you be free from
>> suffering, and may you live with ease.
>> 
> 




More information about the Squeak-dev mailing list