Format of the schedule.gnaural (for Gnaural version 0.4 or greater) file

The the schedule.gnaural file is in XML format. Below is the default schedule built-in to Gnaural. Editing should be relatively self-explanatory (since the XML tags indicate the parameters they control). Each file starts with general overview parameters, then branching in to individual <voice> subcategories. All voices run simultaneously, which is why special care should be given to ensure each voice (regardless of the number of entries) actually runs the same length of time. Also, of the overview parameters, special care should be given to the value entered for <entrycount> -- it should be exactly then total number of entries from all voices added together. To have any more or less could render the file unplayable. Similar care should be given to overview parameter <voicecount> and the actual number of voices. Note that Gnaural as of May 2007 can't play more than two voices, and even those two are always voice1: binaural beat, voice2: pink noise. Gnaural Java Applet (having the more advanced Gnaural2 engine in it available only in CVS) can play more than two voices, and allows the user to alter their types.


<!-- See http://gnaural.sourceforge.net -->
<schedule>
<gnauralfile_version>1.20070301</gnauralfile_version>
<gnaural_version>OLDGNAURAL1</gnaural_version>
<date>Thu Mar 29 08:45:03 2007
</date>
<title>YeOldGnauralFile</title>
<schedule_description>OldGnaural1Schedule</schedule_description>
<author>BinauralBeat.cpp</author>
<totaltime>4410</totaltime>
<voicecount>2</voicecount>
<totalentrycount>46</totalentrycount>
<loops>1</loops>
<overallvolume_left>1</overallvolume_left>
<overallvolume_right>1</overallvolume_right>
<stereoswap>0</stereoswap>
<voice>
<description>BinauralBeat Tone Voice</description>
<id>0</id>
<type>0</type>
<voice_state>1</voice_state>
<entrycount>45</entrycount>
<entries>
<entry parent="0" duration="9" volume_left="0.85" volume_right="0.85" beatfreq="0" basefreq="140" state="1"/>
<entry parent="0" duration="45" volume_left="0.85" volume_right="0.85" beatfreq="12" basefreq="140" state="1"/>
<entry parent="0" duration="60" volume_left="0.85" volume_right="0.85" beatfreq="8" basefreq="140" state="1"/>
<entry parent="0" duration="60" volume_left="0.85" volume_right="0.85" beatfreq="6" basefreq="140" state="1"/>
<entry parent="0" duration="120" volume_left="0.85" volume_right="0.85" beatfreq="5" basefreq="140" state="1"/>
<entry parent="0" duration="180" volume_left="0.85" volume_right="0.85" beatfreq="4.3" basefreq="140" state="1"/>
<entry parent="0" duration="180" volume_left="0.85" volume_right="0.85" beatfreq="4" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="3.9" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="7" basefreq="140" state="1"/>
<entry parent="0" duration="360" volume_left="0.85" volume_right="0.85" beatfreq="3.9" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="4.2" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="7" basefreq="140" state="1"/>
<entry parent="0" duration="180" volume_left="0.85" volume_right="0.85" beatfreq="3.9" basefreq="140" state="1"/>
<entry parent="0" duration="180" volume_left="0.85" volume_right="0.85" beatfreq="4" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="3.9" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="7" basefreq="140" state="1"/>
<entry parent="0" duration="340" volume_left="0.85" volume_right="0.85" beatfreq="3.9" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="4.2" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="7" basefreq="140" state="1"/>
<entry parent="0" duration="180" volume_left="0.85" volume_right="0.85" beatfreq="4" basefreq="140" state="1"/>
<entry parent="0" duration="180" volume_left="0.85" volume_right="0.85" beatfreq="4.2" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="3.8" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="7" basefreq="140" state="1"/>
<entry parent="0" duration="400" volume_left="0.85" volume_right="0.85" beatfreq="3.9" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="4.2" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="7" basefreq="140" state="1"/>
<entry parent="0" duration="180" volume_left="0.85" volume_right="0.85" beatfreq="4.2" basefreq="140" state="1"/>
<entry parent="0" duration="180" volume_left="0.85" volume_right="0.85" beatfreq="3.9" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="4" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="7" basefreq="140" state="1"/>
<entry parent="0" duration="300" volume_left="0.85" volume_right="0.85" beatfreq="4" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="3.8" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="7" basefreq="140" state="1"/>
<entry parent="0" duration="180" volume_left="0.85" volume_right="0.85" beatfreq="3.9" basefreq="140" state="1"/>
<entry parent="0" duration="180" volume_left="0.85" volume_right="0.85" beatfreq="4.1" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="3.9" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="7" basefreq="140" state="1"/>
<entry parent="0" duration="360" volume_left="0.85" volume_right="0.85" beatfreq="3.9" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="4.1" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="7" basefreq="140" state="1"/>
<entry parent="0" duration="180" volume_left="0.85" volume_right="0.85" beatfreq="3.9" basefreq="140" state="1"/>
<entry parent="0" duration="180" volume_left="0.85" volume_right="0.85" beatfreq="3.6" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="4" basefreq="140" state="1"/>
<entry parent="0" duration="6" volume_left="0.85" volume_right="0.85" beatfreq="7" basefreq="140" state="1"/>
<entry parent="0" duration="64" volume_left="0.85" volume_right="0.85" beatfreq="4.3" basefreq="140" state="1"/>
</entries>
</voice>
<voice>
<description>Pink Noise Voice</description>
<id>1</id>
<type>1</type>
<voice_state>0</voice_state>
<entrycount>1</entrycount>
<entries>
<entry parent="1" duration="4410" volume_left="0.2" volume_right="0.2" beatfreq="0" basefreq="1" state="0"/>
</entries>
</voice>
</schedule>


SourceForge.net Logo