Skip to content

Commit 69fcbc3

Browse files
committed
Misc. Docs update for Reference and Tutorials
1 parent 84453d5 commit 69fcbc3

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

content/api_en/hint.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ Fixes a problem with shapes that have a stroke and are rendered using small step
2020
<br />
2121
<strong>Hints for use with P2D and P3D:</strong>
2222
<br /><br />
23+
<b>DISABLE_ASYNC_SAVEFRAME</b><br />
24+
save() and saveFrame() will not use separate threads for saving and will block until the image is written to the drive. This was the default behavior in 3.0b7 and before. To enable, call hint(ENABLE_ASYNC_SAVEFRAME).
25+
<br /><br />
2326
<b>DISABLE_OPENGL_ERRORS</b><br />
2427
Speeds up the P3D renderer setting by not checking for errors while running.
2528
<br /><br />

content/api_en/include/ArrayList.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ println(particles.size()); // Now one less!
5050
// then you cannot use the enhanced loop syntax.
5151
// In addition, when deleting in order to hit all elements,
5252
// you should loop through it backwards, as shown here:
53-
for (int i = particles.size - 1; i >= 0; i--) {
53+
for (int i = particles.size() - 1; i >= 0; i--) {
5454
Particle part = particles.get(i);
5555
if (part.finished()) {
5656
particles.remove(i);

content/static/tutorials/sound/index.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@ <h3>Sound and musical informatics</h3>
8080
This representation of sound, as a discrete &#8220;frame&#8221; of frequencies and amplitudes independent of time, is more akin to the way in which we perceive our sonic environment than the raw pressure wave of the time domain. Jean-Baptiste-Joseph Fourier, a nineteenth-century French mathematician, developed the equations that allow us to translate a sound pressure wave (no matter how complex) into its constituent frequencies and amplitudes. This <em>Fourier transform</em> is an important tool in working with sound in the computer.
8181
</p>
8282

83-
<p class="txt">
84-
This representation of sound, as a discrete &#8220;frame&#8221; of frequencies and amplitudes independent of time, is more akin to the way in which we perceive our sonic environment than the raw pressure wave of the time domain. Jean-Baptiste-Joseph Fourier, a nineteenth-century French mathematician, developed the equations that allow us to translate a sound pressure wave (no matter how complex) into its constituent frequencies and amplitudes. This Fourier transform is an important tool in working with sound in the computer.
85-
</p>
86-
8783
<p class="txt">
8884
Our auditory system takes these streams of frequency and amplitude information from our two ears and uses them to construct an auditory &#8220;scene,&#8221; akin to the visual scene derived from the light reaching our retinas.6 Our brain analyzes the acoustic information based on a number of parameters such as onset time, stereo correlation, harmonic ratio, and complexity to parse out a number of acoustic sources that are then placed in a three-dimensional image representing what we hear. Many of the parameters that psychoacousticians believe we use to comprehend our sonic environment are similar to the grouping principles defined in Gestalt psychology.
8985
</p>

0 commit comments

Comments
 (0)