<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        > <span style="font-family: Calibri, Arial, Helvetica, sans-serif;font-size: 16px">I think that rather might be the compiler. "</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif;font-size: 16px">[2 + 2] timeToRun" is "0" for me. :-)</span><div><span style="font-family: Calibri, Arial, Helvetica, sans-serif;font-size: 16px"><br></span></div><div><span style="font-family: Calibri, Arial, Helvetica, sans-serif;font-size: 16px">I think that the print-it lag is caused by some UI updating logic. And GC, depending on what you do in your print-it.</span></div><div><span style="font-family: Calibri, Arial, Helvetica, sans-serif;font-size: 16px"><br></span></div><div><span style="font-family: Calibri, Arial, Helvetica, sans-serif;font-size: 16px">Best,</span></div><div><span style="font-family: Calibri, Arial, Helvetica, sans-serif;font-size: 16px">Marcel</span></div><div class="mb_sig"></div><blockquote class='history_container' type='cite' style='border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;'>
                        <p style='color: #AAAAAA; margin-top: 10px;'>Am 28.06.2021 15:28:06 schrieb Thiede, Christoph <christoph.thiede@student.hpi.uni-potsdam.de>:</p><div style='font-family:Arial,Helvetica,sans-serif'>

<div id="divtagdefaultwrapper" style="font-size: 12pt;color: #000000;font-family: Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hi Herbert,</p>
<p><br>
</p>
<p>> <span style="font-size: 12pt">did you enable the preference to quick start sounds?</span></p>
<div><br>
</div>
<p></p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt;color: rgb(0, 0, 0);font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols">
<div name="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif;font-size: ;margin: 0">
<div>
<div class="_rp_T4" id="Item.MessagePartBody">Thank you, that reduced my startup time by nearly 50%!</div>
<div class="_rp_T4" id="Item.MessagePartBody"><br>
</div>
<div class="_rp_T4" id="Item.MessagePartBody">> <span style="font-size: 12pt">Although there seems to be a delay before the sound starts but it seems faster than 2 + 2 print it.</span>
<div><br>
</div>
<div>I think that rather might be the compiler. "<span>[2 + 2] timeToRun" is "0" for me. :-)</span></div>
<div><span><br>
</span></div>
<div>Best,</div>
<div>Christoph</div>
</div>
</div>
<div><span style="font-size: 10pt;color: #808080"></span></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><span style="font-family: Calibri, sans-serif;color: #000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Herbert König <herbertkoenig@gmx.net><br>
<b>Gesendet:</b> Montag, 28. Juni 2021 13:15:01<br>
<b>An:</b> squeak-dev@lists.squeakfoundation.org<br>
<b>Betreff:</b> Re: [squeak-dev] Many questions about sounds :-)</span>
<div> </div>
</div>
<div>Hi Christopph,<br>
<br>
did you enable the preference to quick start sounds?<br>
<br>
Although there seems to be a delay before the sound starts but it seems faster than 2 + 2 print it.<br>
<br>
And [[AbstractSound scaleTest play] timeProfile] fork. is faster than your example (79 vs. 92ms vs 139 w/o quick start)<br>
 <br>
Cheers, <br>
<br>
Herbert<br>
<br>
<br>
<div class="moz-cite-prefix">Am 27.06.2021 um 20:22 schrieb Thiede, Christoph:<br>
</div>
<blockquote type="cite" cite="mid:24a584c815674d96a768500c4fade753@student.hpi.uni-potsdam.de">

<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt;color: rgb(0, 0, 0);font-family: Calibri, Helvetica,
        sans-serif, EmojiFont, "Apple Color Emoji",
        "Segoe UI Emoji", NotoColorEmoji, "Segoe UI
        Symbol", "Android Emoji", EmojiSymbols">
<p>Hi all!</p>
<p><br>
</p>
<p>As I'm currently developing a small project that uses sounds in Squeak, I have collected a number of questions about the Sound package and am hoping to find some answers here. Even if you are able to answer one or two questions only, I will appreciate your
 help! :-)</p>
<p><br>
</p>
<div>1. What is the difference between QueueSound and SequentialSound? Roughly speaking, they both appear to do the same. AbstractSound >> #, uses SequentialSound whereas QueueSound might be thread-safe. Is there any reason why the two are not unioned into
 a single class?<br>
</div>
<div><br>
</div>
<div><span style="font-size: 12pt">2. Why could</span><span style="font-size: 12pt"> my coffeeCupClink be broken? It's already the second image in which I, after playing around a bit with sounds, managed to break that sound by accident. In both affected images,
 Beeper beep just does not beep any more. However, all other SampledSounds still sound fine. <span>SampledSound initialize and VM restart didn't help. I even tried to find out what's going wrong with the help of comparative debugging of #play, but I did not
 discover any meaningful difference ...</span></span></div>
<div><span style="font-size: 12pt"><span><br>
</span></span></div>
<div><span style="font-size: 12pt"><span>3. SoundService/<span>SoundPlayer/SoundSystem are not thread-safe, are they?</span></span></span></div>
<div><span style="font-size: 12pt"><span><span><br>
</span></span></span></div>
<div>4. Why does it take so much time to start the SoundPlayer? I could reproduce this in two images using:
<span>[[PluckedSound default play] timeProfile] fork. In both cases, the image was busy for ~150ms. If another sound is already playing, #play is fast. According to the TimeProfileBrowser, #newProcess eats up all the time (see attachment), but can this really
 be true? Can you reproduce this on your machines or could this be a Windows-specific thing?</span></div>
<div><span><br>
</span></div>
<div><span>5. Is there any built-in way for loudness normalization (as opposed to "normal" volume)?</span></div>
<div><span><br>
</span></div>
<div>6. Can you recommend any further resources in Squeak for other sound concepts such as ring modulation, sawtooth/triangle/square waves, or also other musical instruments? For example, there are flutes and oboes, but I did not find a piano sound. Would it
 be possible to build one as a combination of FMSounds or are these instruments more sophisticated to program?</div>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt;color: rgb(0,0,0);font-family: Calibri,Helvetica,sans-serif,EmojiFont,"Apple
            Color Emoji","Segoe UI
            Emoji",NotoColorEmoji,"Segoe UI
            Symbol","Android Emoji",EmojiSymbols">
<div name="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif;font-size: ;margin: 0">
<div>
<div class="_rp_T4" id="Item.MessagePartBody"><br>
</div>
<div class="_rp_T4" id="Item.MessagePartBody">Thanks in advance and have a happy weekend!</div>
<div class="_rp_T4" id="Item.MessagePartBody"><br>
</div>
<div class="_rp_T4" id="Item.MessagePartBody">Best,</div>
<div class="_rp_T4" id="Item.MessagePartBody">Christoph</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">
</pre>
</blockquote>
<br>
</div>
</div></blockquote>
                                        </div></body>