SPIRITUS SANCTUS alt (2013) for realtime Android Csound Arthur B. Hunkins - arthunkins.com - abhunkin@uncg.edu including ADDENDUM for SPIRITUS OSC (2015) with custom TouchOSC GUI In the beginning God created the heaven and the earth. And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters. And the Lord God formed man of the dust of the ground, and breathed into his nostrils the breath of life; and man became a living soul. Gen 1:1-2, 2:7 SPIRITUS SANCTUS alt is a Csound file (.csd) designed to be performed by the alternative Android Csound apps. These apps are known as Csound5a.apk (Csound5.19), or Csound6a.apk, Csound6b.apk and Csound6c.apk (Csound6.01). All require Android OS 2.3 or higher. These alternatives are downloadable from http://arthunkins.com/Android_Csound_Apps.htm . (An *alternative* Android .apk is required, since its user interface includes a greater number of sliders and buttons; 9 sliders and 12 buttons are needed in this case. Due to the expanded user interface, tablets 7" or larger are most appropriate for SPIRITUS SANCTUS alt.) Spiritus Sanctus alt is a meditative sonic environment - a slightly simplified two-"voice" version of the composer's SPIRITUS SANCTUS for Csound5 (2013). (The latter work can also be found at http://www.arthunkins.com, accompanied by an explanatory .htm file. Its "Spiritus2" is the template for this Android edition.) There are two ways of preparing for performance, depending on whether or not a computer is available. (Preparation is simpler if you have a computer.) With a computer: 1) Either download and install one of the alternative Csound.apk's mentioned above to your Android device, or download it to your computer, copy it via thumb drive or USB cable to your device (Download folder) and install it. 2) Download SpiritusSanctusaltAndroid.zip to your computer (if you haven't already) and unzip it, then copy SpiritusSanctusaltAndroid.csd via thumb drive or USB cable to a folder (perhaps the Music folder or a new Csound folder) on your device. Without a computer: 1) Download and install an alternative Csound.apk to your Android device. 2) Unless already installed, download and install the AndroZip File Manager app from play.google.com . (Note: the WinZip app does not extract zip archives!) 3) Directly download SpiritusaltAndroid.zip to your device and use AndroZip to extract the archive to a folder of your choice (perhaps the Music folder or a new Csound folder). After installing the app and copying SpiritusaltAndroid.csd to your device, run your selected alternative app, and Browse to (Open) this .csd and select it. WHAT THE SLIDERS DO: Slider 1 controls the volume of tone 1 (but see below). Slider 2 controls the basic harmonic content (timbre) of tone 1. Slider 3 is the amplitude control for a random harmonic control that modifies the effect of the preceding slider. Slider 4 modifies the *speed* of the previous slider's random "tonal modulation." Sliders 5-8 duplicate the functions of sliders 1-4, but for *tone 2*. Slider 9 determines the beat frequency. WHAT THE BUTTONS DO: Buttons 1-6 select among the 6 TONESETs (a TONESET is two identical tones or "notes" [tones 1 and 2] that are slightly detuned to beat against one another). Default = TONESET/button 1. Buttons 7-11 select multiplication factor (from 0 to 1) for a random variation of beat frequency. Default = 0. Button 12 toggles between tone 2 tracking with tone 1 (slider1 controls both amplitudes) and the two tones (sliders 1 and 5) acting independently (default = independent). The two tones tracking together creates a rudimentary overall volume control. GENERAL ADVICE: Note that only one control can be operated at a time. Prior to START, leave all controls at zero or default. After START, make different initial button and/or slider selections if desired. Important: Sliders 1 and 5 should only be moved after any other selections have been activated. In case of audio glitches, reduce the value of sr (Sample Rate) in any text editor (it is toward the top of SpiritusaltAndroid.csd, which is a simple text file). Set sr progressively to 32000, 22050, 11025 or 8000 until glitching disappears. When left to run unabated, performance will expire in one hour. ADDENDUM for SPIRITUS SANCTUS OSC (2015) with custom TouchOSC GUI SPIRITUS OSC is a modified version of SpiritusSanctusaltAndroid that substitutes a custom TouchOSC GUI for the generic Csound6 performance interface (including those of the alternative Csound .apk's). It requires: 1) the stock Android Csound6.apk *built with Csound 6.05 or later* (rather than an alternative Csound app); 2) the TouchOSC app from the Google Play Store. #1 is available at: http://csound.github.io/download.html or https://play.google.com/store/apps/details?id=com.csounds.Csound6 (the latter requires Android OS 5.0 or later) #2 from: https://play.google.com/store/apps/details?id=net.hexler.touchosc_a&hl=en The two apps run simultaneously on your device, communicating via Open Sound Control (OSC). They run on any size Android smartphone or tablet. IMPORTANT NOTE: This arrangement only works on Android OS versions 4.4.2 and above (for example, it will not work on 4.2.2). TouchOSC costs $4.99 and must be installed directly to your device. The required custom GUI (called a Layout) is included in this distribution. Only setup is different. In all other respects this version is identical to SpiritusSanctusaltAndroid. SETUP 1) Download and install the particular Android Csound6.apk referenced above. (This may be done either via direct download from Sourceforge to your device, or to a computer - then via USB cable to your device.) 2) Install TouchOSC from the Google Play Store directly to your device (see above). Note that you can install TouchOSC to multiple devices for a single purchase price. (Also, with the free Editor, you can create/modify your own custom GUIs.) 3) Copy both SpiritusOSC.csd and SpiritusOSC.touchosc via USB cable to your device (suggestion: to a "Music" folder). 4) Run Csound6 and Open SpiritusOSC.csd (in your "Music" folder). Don't START yet. 5) Run TouchOSC, and in Settings click OSC. Here set Host to: 127.0.0.1 and make sure the outgoing Port is 8000. 6) Back in Settings, click Layout. Select Add from File, browse to your "Music" folder and choose SpiritusOSC.csd. Select it again in Layout, and (back in Settings), click Done. 7) Make sure all sliders are set to zero. 8) In Csound6, click START. (Note: it is important to load the touchosc layout before starting Csound.) 9) Back in TouchOSC, change any button presets you like. (Buttons may be selected at any time during performance; but this is not recommended - it is intended only for exploratory purposes.) Defaults are buttons 1 (Basic tone select) and 7 (Random beat frequency). Button 12 (Amp1 Master?) defaults to off, so slider 5 (Amplitude2) is initially operational. 10) Perform on TouchOSC's custom GUI. 11) When finished, return to Csound6 to STOP.