[squeak-dev] Sound mixing makes nasty noises

tim Rowledge tim at rowledge.org
Sat Jan 2 22:14:03 UTC 2021



> On 2021-01-01, at 9:38 PM, tim Rowledge <tim at rowledge.org> wrote:
> 
> The Great Saga marches onward...

Attached is a changeset that has the hacked playLoop and a rather long preamble that *should* explain it.

Basically, make a global BigBuffer, change playLoop to write samples to BigBuffer if it is not nil and not full.
Inspect the SampledSound that owns a big buffer and use the included code snippets (that magically appear in the inspector, woo-hoo!) to point BigBuffer at a .. buffer... make some noises and the set BigBuffer to nil to stop recording.

Save the processed samples as a WAV file and try them on other machines and setups. You can load WAV files 'as sound' from the Squeak FileList, or play them with iTunes, VLC, whatever.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: SoundTestingPulseAudio.1.cs
Type: application/octet-stream
Size: 3063 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210102/bc84cc78/attachment.obj>
-------------- next part --------------


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
"How many Motie Mediators does it take to chage a lightbulb?” 
"Are you insane? Only Crazy Eddie would want to change *anything*!"





More information about the Squeak-dev mailing list