mirror of
https://github.com/thestk/stk
synced 2026-01-17 14:41:53 +00:00
Release 4.1.1 tarball
This commit is contained in:
committed by
Stephen Sinclair
parent
b39c0bb101
commit
ffce5357c6
@@ -19,11 +19,17 @@
|
||||
|
||||
<p>
|
||||
<b>Macintosh OS X (specific):</b> <ul>
|
||||
<li>A C++ compiler does not ship by default with OS X. It is necessary to download the Developer Kit from the Apple WWW site in order to compile STK. <li>The tcl/tk interpreter does not ship by default with OS X, but must be downloaded from the internet. Once installed, it is suggested that a link be made to the executable from a standard search path (/usr/bin/wish). In any event, it will not be possible to use the supplied startup scripts in the demo directory (i.e. StkDemo.bat) because the tcl/tk script startup sequence is slightly different than for all the other systems. Assuming you have made the link mentioned above, the STK demo program and tcl/tk script can be started by typing:
|
||||
<li>A C++ compiler does not ship by default with OS X. It is necessary to download the Developer Kit from the Apple WWW site in order to compile STK. <li>The internal Macintosh audio hardware typically supports a sample rate of 44100 Hz only. Therefore, it is necessary to either specify this rate as a command-line option to the STK example programs or to change the default sample rate inside the Stk.h file before compilation. In addition, the RT_BUFFER_SIZE, specified in Stk.h, could be increased (to a higher power of two) for more robust performance. <li>The tcl/tk interpreter does not ship by default with OS X, but must be downloaded from the internet. Binary distributions exist but it is instead recommended that you download recent tcl and tk source distributions (<a href="http://dev.scriptics.com/software/tcltk/downloadnow84.tml">http://dev.scriptics.com/software/tcltk/downloadnow84.tml</a>) and compile them as follows:
|
||||
<p>
|
||||
<div class="fragment"><pre> wish tcl/Demo.tcl | demo <a class="code" href="classClarinet.html">Clarinet</a> -or -ip</pre></div>
|
||||
make -C tcl/macosx deploy<br>
|
||||
make -C tk/macosx deploy<br>
|
||||
sudo make -C tcl/macosx install-deploy<br>
|
||||
sudo make -C tk/macosx install-deploy<br>
|
||||
|
||||
<p>
|
||||
Initial tests have shown somewhat poor response between changes made in the tcl/tk script and the resulting audio updates.
|
||||
(Note: the tcl and tk directories specified in the above lines will more likely be appended with version numbers) The default installation will place a link to the wish interpretor at /usr/bin/wish. The latest 8.4.1 release of tcl/tk has been tested on a 10.2 system and found to work correctly. In particular, redirection of a tcl/tk script to the interpreter (e.g., wish < test.tcl) works normally (which is not the case with binary distributions tested thus far).
|
||||
<p>
|
||||
Initial tests have shown somewhat poor response between changes made in the tcl/tk script and the resulting audio updates. Also, it is not recommended to connect by socket from a tcl/tk script to an STK program because the tcl/tk interpreter does not appear to properly close the socket connection, leaving the STK program in a "hung" state.
|
||||
<p>
|
||||
</ul>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user