|
| 1 | +<chapter id="STKTop"> |
| 2 | + <title>Opcodes STK</title> |
| 3 | + <note> |
| 4 | + <para> |
| 5 | + Ces opcodes sont un composant facultatif de Csound5. On peut tester s'ils |
| 6 | + sont installés avec la commande "csound -z" qui donne la liste de tous les |
| 7 | + opcodes disponibles. |
| 8 | + </para> |
| 9 | + </note> |
| 10 | + |
| 11 | + <para> |
| 12 | + On peut compiler les opcodes STK de différentes manières. Si l'on compile |
| 13 | + tout Csound, il suffit de suivre les instructions au début du fichier |
| 14 | + Opcodes/stk/stkOpcodes.cpp. |
| 15 | + </para> |
| 16 | + <para> |
| 17 | + Si l'on ne veut pas compiler la totalité de Csound, on peut compiler les |
| 18 | + opcodes STK comme un greffon d'opcode (bibliothèque partagée). On peut |
| 19 | + adapter l'exemple du répertoire pluginSDK de l'entrepôt GIT de Csound. |
| 20 | + Remplacer le fichier pluginSDK/examplePlugin.c par le fichier |
| 21 | + opcodes/stk/stkOpcodes.cpp et changer le nom de ce fichier dans le fichier |
| 22 | + SConstruct. Utiliser ensuite scons pour compiler les opcodes. Il faut faire |
| 23 | + attention à utiliser l'option de ligne de commande de scons useDouble=0 si |
| 24 | + Csound est en simple précision (32 bit), et useDouble=1 si Csound est en |
| 25 | + double précision (64 bit). |
| 26 | + </para> |
| 27 | + <para> |
| 28 | + Il faut aussi ajouter le chemin de tous les fichiers sources STK et des |
| 29 | + fichiers à inclure dans le fichier SConstruct, ou bien ajouter le chemin |
| 30 | + d'une bibliothèque STK déjà compilée et des fichiers d'inclusion dans le |
| 31 | + fichier SConstruct. Les fichiers sources STK seront renseignés vers la |
| 32 | + ligne 296 du fichier SConstruct : |
| 33 | + |
| 34 | +<programlisting>makePlugin(pluginEnvironment, 'stkOpcodes', Split(''' |
| 35 | + stkOpcodes.cpp |
| 36 | + ... STK source files ... |
| 37 | +'''))</programlisting> |
| 38 | + </para> |
| 39 | + |
| 40 | + <para>La famille des opcodes STK comprend : |
| 41 | + <itemizedlist> |
| 42 | + <listitem><link linkend="STKBandedWG"><citetitle>STKBandedWG</citetitle></link></listitem> |
| 43 | + <listitem><link linkend="STKBeeThree"><citetitle>STKBeeThree</citetitle></link></listitem> |
| 44 | + <listitem><link linkend="STKBlowBotl"><citetitle>STKBlowBotl</citetitle></link></listitem> |
| 45 | + <listitem><link linkend="STKBlowHole"><citetitle>STKBlowHole</citetitle></link></listitem> |
| 46 | + <listitem><link linkend="STKBowed"><citetitle>STKBowed</citetitle></link></listitem> |
| 47 | + <listitem><link linkend="STKBrass"><citetitle>STKBrass</citetitle></link></listitem> |
| 48 | + <listitem><link linkend="STKClarinet"><citetitle>STKClarinet</citetitle></link></listitem> |
| 49 | + <listitem><link linkend="STKDrummer"><citetitle>STKDrummer</citetitle></link></listitem> |
| 50 | + <listitem><link linkend="STKFlute"><citetitle>STKFlute</citetitle></link></listitem> |
| 51 | + <listitem><link linkend="STKFMVoices"><citetitle>STKFMVoices</citetitle></link></listitem> |
| 52 | + <listitem><link linkend="STKHevyMetl"><citetitle>STKHevyMetl</citetitle></link></listitem> |
| 53 | + <listitem><link linkend="STKMandolin"><citetitle>STKMandolin</citetitle></link></listitem> |
| 54 | + <listitem><link linkend="STKModalBar"><citetitle>STKModalBar</citetitle></link></listitem> |
| 55 | + <listitem><link linkend="STKMoog"><citetitle>STKMoog</citetitle></link></listitem> |
| 56 | + <listitem><link linkend="STKPercFlut"><citetitle>STKPercFlut</citetitle></link></listitem> |
| 57 | + <listitem><link linkend="STKPlucked"><citetitle>STKPlucked</citetitle></link></listitem> |
| 58 | + <listitem><link linkend="STKResonate"><citetitle>STKResonate</citetitle></link></listitem> |
| 59 | + <listitem><link linkend="STKRhodey"><citetitle>STKRhodey</citetitle></link></listitem> |
| 60 | + <listitem><link linkend="STKSaxofony"><citetitle>STKSaxofony</citetitle></link></listitem> |
| 61 | + <listitem><link linkend="STKShakers"><citetitle>STKShakers</citetitle></link></listitem> |
| 62 | + <listitem><link linkend="STKSimple"><citetitle>STKSimple</citetitle></link></listitem> |
| 63 | + <listitem><link linkend="STKSitar"><citetitle>STKSitar</citetitle></link></listitem> |
| 64 | + <listitem><link linkend="STKStifKarp"><citetitle>STKStifKarp</citetitle></link></listitem> |
| 65 | + <listitem><link linkend="STKTubeBell"><citetitle>STKTubeBell</citetitle></link></listitem> |
| 66 | + <listitem><link linkend="STKVoicForm"><citetitle>STKVoicForm</citetitle></link></listitem> |
| 67 | + <listitem><link linkend="STKWhistle"><citetitle>STKWhistle</citetitle></link></listitem> |
| 68 | + <listitem><link linkend="STKWurley"><citetitle>STKWurley</citetitle></link></listitem> |
| 69 | + </itemizedlist> |
| 70 | + </para> |
| 71 | + |
| 72 | + <para> |
| 73 | + Pour plus d'information sur les opcodes STK, consulter le site web du |
| 74 | + Synthesis ToolKit en C++ à <ulink |
| 75 | + url="https://ccrma.stanford.edu/software/stk">https://ccrma.stanford.edu/software/stk</ulink>. |
| 76 | + </para> |
| 77 | + |
| 78 | + <bridgehead>Crédits</bridgehead> |
| 79 | + <para> |
| 80 | + Cette implémentation des générateurs unitaires STK a été écrite par Perry R. Cook |
| 81 | + et Gary P. Scavone. |
| 82 | + </para> |
| 83 | + <para> |
| 84 | + Les opcodes ont été ensuite adaptés comme greffon de Csound5 par Michael Gogins. |
| 85 | + </para> |
| 86 | +</chapter> |
0 commit comments