diff options
Diffstat (limited to 'cvs/cvsweb.cgi/code/nel/samples/sound_sources')
4 files changed, 478 insertions, 0 deletions
diff --git a/cvs/cvsweb.cgi/code/nel/samples/sound_sources/?sortby=date/index.html b/cvs/cvsweb.cgi/code/nel/samples/sound_sources/?sortby=date/index.html new file mode 100644 index 00000000..94b1b1da --- /dev/null +++ b/cvs/cvsweb.cgi/code/nel/samples/sound_sources/?sortby=date/index.html @@ -0,0 +1,110 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : cvs</TITLE> + <META name="keywords" content="freesoftware,nel,newt,snowballs,richard stallman,GNU,Multi-User Online World"> + + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/free/" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-free.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/free/" TITLE="Free Software">Free software</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/cvs/"><img src="http://www.nevrax.org/inc/img/t_cvs.gif" ALT="cvs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- title --> +<table width=100%><tr><td align=left><b> <a href="/cvs/cvsweb.cgi/?sortby=date">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?sortby=date">code</a> / <a href="/cvs/cvsweb.cgi/code/nel/?sortby=date">nel</a> / <a href="/cvs/cvsweb.cgi/code/nel/samples/?sortby=date">samples</a> / sound_sources</b></td><td align=right><b></b></td></TR></TABLE> +<table width="100%" border=0 cellspacing=1 cellpadding=2> +<tr><th align=left bgcolor="#000000"><a class=title href="./"><font color=white>File</font></a></th><th align=left bgcolor="#000000"><a class=title href="./?sortby=rev"><font color=white>Rev.</font></a></th><th align=left bgcolor="#222222"><font color=white>Age</font></th><th align=left bgcolor="#000000"><a class=title href="./?sortby=author"><font color=white>Author</font></a></th><th align=left bgcolor="#000000"><a class=title href="./?sortby=log"><font color=white>Last log entry</font></a></th></tr> +<tr bgcolor="#dddddd"><td><A HREF="../?sortby=date"><IMG SRC="http://www.nevrax.org/inc/img/picto-up.gif" ALT="[BACK]" BORDER="0" WIDTH="14" HEIGHT="13"></A> + <A HREF="../?sortby=date">Previous Directory</A> +</td><td> </td><td> </td><td> </td><td> </td></tr> + +<tr bgcolor="#cccccc"><td><A NAME="CVS"></A><A HREF="CVS/?sortby=date"><IMG SRC="http://www.nevrax.org/inc/img/picto-dir.gif" ALT="[DIR]" BORDER="0" WIDTH="15" HEIGHT="13"></A> + <A HREF="CVS/?sortby=date">CVS/</A> +</td><td> </td><td> </td><td> </td><td> </td></tr> + +<tr bgcolor="#dddddd"><td><A NAME="main.cpp"></A><A HREF="main.cpp?sortby=date"><IMG SRC="http://www.nevrax.org/inc/img/picto-news.gif" ALT="[TXT]" BORDER="0" WIDTH="13" HEIGHT="15"></A> + <A HREF="main.cpp?sortby=date">main.cpp</A> +</td><td> <A HREF="main.cpp?rev=1.6&content-type=text/x-cvsweb-markup&sortby=date"><b>1.6</b></A></td><td> <i>4 months</i></td><td> lecroart</td><td> <font size=-1>#FIXED: doxygen warning +</font></td></tr> +<tr bgcolor="#cccccc"><td><A NAME="sample_sounds.nss"></A><A HREF="sample_sounds.nss?sortby=date"><IMG SRC="http://www.nevrax.org/inc/img/picto-news.gif" ALT="[TXT]" BORDER="0" WIDTH="13" HEIGHT="15"></A> + <A HREF="sample_sounds.nss?sortby=date">sample_sounds.nss</A> +</td><td> <A HREF="sample_sounds.nss?rev=1.3&content-type=text/x-cvsweb-markup&sortby=date"><b>1.3</b></A></td><td> <i>10 months</i></td><td> cado</td><td> <font size=-1>ADDED looping as a static sound property +</font></td></tr> +<tr bgcolor="#dddddd"><td><A NAME="beep.wav"></A><A HREF="beep.wav?sortby=date"><IMG SRC="http://www.nevrax.org/inc/img/picto-news.gif" ALT="[TXT]" BORDER="0" WIDTH="13" HEIGHT="15"></A> + <A HREF="beep.wav?sortby=date">beep.wav</A> +</td><td> <A HREF="beep.wav?rev=1.1&content-type=text/x-cvsweb-markup&sortby=date"><b>1.1</b></A></td><td> <i>11 months</i></td><td> cado</td><td> <font size=-1>Initial import of the NeL sound engine usage sample +</font></td></tr> +<tr bgcolor="#cccccc"><td><A NAME="sound_sources.dsp"></A><A HREF="sound_sources.dsp?sortby=date"><IMG SRC="http://www.nevrax.org/inc/img/picto-news.gif" ALT="[TXT]" BORDER="0" WIDTH="13" HEIGHT="15"></A> + <A HREF="sound_sources.dsp?sortby=date">sound_sources.dsp</A> +</td><td> <A HREF="sound_sources.dsp?rev=1.1&content-type=text/x-cvsweb-markup&sortby=date"><b>1.1</b></A></td><td> <i>11 months</i></td><td> cado</td><td> <font size=-1>Initial import of the NeL sound engine usage sample +</font></td></tr> +<tr bgcolor="#dddddd"><td><A NAME="tuut.wav"></A><A HREF="tuut.wav?sortby=date"><IMG SRC="http://www.nevrax.org/inc/img/picto-news.gif" ALT="[TXT]" BORDER="0" WIDTH="13" HEIGHT="15"></A> + <A HREF="tuut.wav?sortby=date">tuut.wav</A> +</td><td> <A HREF="tuut.wav?rev=1.1&content-type=text/x-cvsweb-markup&sortby=date"><b>1.1</b></A></td><td> <i>11 months</i></td><td> cado</td><td> <font size=-1>Initial import of the NeL sound engine usage sample +</font></td></tr> +</table><hr size=1 NOSHADE><FORM METHOD="GET" ACTION="./"> +<INPUT TYPE=HIDDEN NAME="sortby" VALUE="date"> +Show only files with tag: +<SELECT NAME=only_with_tag onchange="submit()"><OPTION VALUE="">All tags / default branch +<OPTION>nel_0_4 +<OPTION>MAIN +<OPTION>HEAD +<OPTION>georges_v2 +<OPTION>demo_0_1 +</SELECT> +<INPUT TYPE=SUBMIT VALUE="Go"> +</FORM> + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML></BODY></HTML> diff --git a/cvs/cvsweb.cgi/code/nel/samples/sound_sources/beep.wav?rev=1.1&content-type=text/x-cvsweb-markup&sortby=rev/index.html b/cvs/cvsweb.cgi/code/nel/samples/sound_sources/beep.wav?rev=1.1&content-type=text/x-cvsweb-markup&sortby=rev/index.html Binary files differnew file mode 100644 index 00000000..6c8a78e8 --- /dev/null +++ b/cvs/cvsweb.cgi/code/nel/samples/sound_sources/beep.wav?rev=1.1&content-type=text/x-cvsweb-markup&sortby=rev/index.html diff --git a/cvs/cvsweb.cgi/code/nel/samples/sound_sources/main.cpp?rev=1.6&content-type=text/x-cvsweb-markup&sortby=rev/index.html b/cvs/cvsweb.cgi/code/nel/samples/sound_sources/main.cpp?rev=1.6&content-type=text/x-cvsweb-markup&sortby=rev/index.html new file mode 100644 index 00000000..244b1138 --- /dev/null +++ b/cvs/cvsweb.cgi/code/nel/samples/sound_sources/main.cpp?rev=1.6&content-type=text/x-cvsweb-markup&sortby=rev/index.html @@ -0,0 +1,222 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> +<HEAD><style> A { color:black }</style> +<!-- hennerik CVSweb $Revision: 1.93 $ --> +<TITLE>code/nel/samples/sound_sources/main.cpp - view - 1.6</TITLE></HEAD> +<BODY BGCOLOR="#eeeeee"> +<table width="100%" border=0 cellspacing=0 cellpadding=1 bgcolor="#aaaaaa"><tr valign=bottom><td><a href="main.cpp?sortby=rev"><IMG SRC="http://www.nevrax.org/inc/img/picto-up.gif" ALT="[BACK]" BORDER="0" WIDTH="14" HEIGHT="13"></a> <b>Return to <A HREF="main.cpp?sortby=rev">main.cpp</A> + CVS log</b> <IMG SRC="http://www.nevrax.org/inc/img/picto-news.gif" ALT="[TXT]" BORDER="0" WIDTH="13" HEIGHT="15"></td><td align=right><IMG SRC="http://www.nevrax.org/inc/img/picto-dir.gif" ALT="[DIR]" BORDER="0" WIDTH="15" HEIGHT="13"> <b>Up to <a href="/cvs/cvsweb.cgi/?sortby=rev">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?sortby=rev">code</a> / <a href="/cvs/cvsweb.cgi/code/nel/?sortby=rev">nel</a> / <a href="/cvs/cvsweb.cgi/code/nel/samples/?sortby=rev">samples</a> / <a href="/cvs/cvsweb.cgi/code/nel/samples/sound_sources/?sortby=rev">sound_sources</a></b></td></tr></table><HR noshade><table width="100%"><tr><td bgcolor="#ffffff">File: <a href="/cvs/cvsweb.cgi/?sortby=rev">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?sortby=rev">code</a> / <a href="/cvs/cvsweb.cgi/code/nel/?sortby=rev">nel</a> / <a href="/cvs/cvsweb.cgi/code/nel/samples/?sortby=rev">samples</a> / <a href="/cvs/cvsweb.cgi/code/nel/samples/sound_sources/?sortby=rev">sound_sources</a> / <a href="/cvs/cvsweb.cgi/code/nel/samples/sound_sources/main.cpp?sortby=rev">main.cpp</a> (<A HREF="/cvs/cvsweb.cgi/~checkout~/code/nel/samples/sound_sources/main.cpp?rev=1.6&sortby=rev" target="cvs_checkout" onClick="window.open('/cvs/cvsweb.cgi/~checkout~/code/nel/samples/sound_sources/main.cpp?rev=1.6','cvs_checkout','resizeable,scrollbars');"><b>download</b></A>)<BR> +Revision <B>1.6</B>, <i>Wed Feb 20 18:07:22 2002 UTC</i> (5 months ago) by <i>lecroart</i> +<BR>Branch: <b>MAIN</b> +<BR>CVS Tags: <b>georges_v2, HEAD</b><BR>Changes since <b>1.5: +2 -2 + lines</b><PRE> +#FIXED: doxygen warning +</PRE> +</td></tr></table><HR noshade><PRE>/** \file sound_sources/main.cpp + * Simple example of NeL sound engine usage + * + * $Id: main.cpp,v 1.6 2002/02/20 18:07:22 lecroart Exp $ + */ + +/* Copyright, 2001 Nevrax Ltd. + * + * This file is part of NEVRAX NEL. + * NEVRAX NEL is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + + * NEVRAX NEL is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with NEVRAX NEL; see the file COPYING. If not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, + * MA 02111-1307, USA. + */ + + +/* + * This sample shows how to initialize the audio mixer (UAudioMixer), + * how to create a source (USource), and how to move the listener + * (UListener). + */ + + +#include "nel/misc/debug.h" +#include "nel/misc/time_nl.h" +#include "nel/misc/vector.h" +using namespace NLMISC; + +#include "nel/sound/u_audio_mixer.h" +#include "nel/sound/u_listener.h" +using namespace NLSOUND; + +#include <stdio.h> + + +// Pointer to the audio mixer object +UAudioMixer *AudioMixer = NULL; + + +/* + * Initialization + */ +void Init() +{ + try + { + /* + * 1. Create the audio mixer object and init it. + * If the sound driver cannot be loaded, an exception is thrown. + */ + AudioMixer = UAudioMixer::createAudioMixer(); + AudioMixer->init(); + + /* + * 2. Load a "sources sounds file" (.nss), its sound properties and + * its attached wave data files (.wav) + */ + AudioMixer->loadSoundBuffers( "sample_sounds.nss" ); + + /* + * In this small example, we don't have any environmental effects or + * environment sounds. If so we would load an "environmental effects + * file" (.nef) and an "environment sounds file" (.nes): + * + * AudioMixer->loadEnvEffects( "effects.nef" ); + * + * UEnvSound *root; + * AudioMixer->loadEnvSounds( "envsounds.nes", &root ); + */ + + /* + * 3. Initialize listener's position and orientation (in NeL coordinate system). + */ + CVector initpos ( 0.0f, 0.0f, 0.0f ); + CVector frontvec( 0.0f, 1.0f, 0.0f ); + CVector upvec( 0.0f, 0.0f, 1.0f ); + AudioMixer->getListener()->setPos( initpos ); + AudioMixer->getListener()->setOrientation( frontvec, upvec ); + + } + catch( Exception& e ) + { + nlerror( "Error: %s", e.what() ); + } +} + + +/* + * Adding a source + */ +USource *OnAddSource( const char *name, float x, float y, float z ) +{ + /* + * Create a source with sound 'name', and set some of its initial properties, if successful + */ + USource *source = AudioMixer->createSource( name ); + if ( source != NULL ) + { + source->setPos( CVector(x,y,z) ); + + /* The initial gain, pitch and looping state are stored + * in the "source sounds file". + */ + + source->play(); // start playing immediately + } + else + { + nlwarning( "Sound '%s' not found", name ); + } + return source; +} + + +/* + * When moving the listener, wait for a short delay + */ +void OnMove( const CVector& listenerpos ) +{ + // Move forward + AudioMixer->getListener()->setPos( listenerpos ); + + // Wait 20 ms + TTime time = CTime::getLocalTime(); + while ( CTime::getLocalTime() < time+20 ); + + /* If we used spawned sources or "envsounds" or if we had + * a large number of sources, we should call: + * AudioMixer->update(); + */ +} + + +/* + * main + * + * Note: The NeL vector coordinate system is described as follows: + * \verbatim + * (top) + * z + * | y (front) + * | / + * -----x (right) + * \endverbatim + */ +void main() +{ + // Initialization + Init(); + + // First step: we create two sources + printf( "Press ENTER to start playing the two sources\n" ); + printf( "One is 20 meters ahead, on the right\n" ); + printf( "The other is 5 meters ahead, on the left\n" ); + getchar(); + USource *src1 = OnAddSource( "Beep", 1.0f, 20.0f, 0.0f ); // Beep on the right, 20 meters ahead + USource *src2 = OnAddSource( "Tuut", -2.0f, 5.0f, 0.0f ); // Tuut on the left, 5 meters ahead + + // Second step: we will move the listener ahead + printf( "Press ENTER again to start moving the listener\n" ); + getchar(); + + // Listener orientation is constant in this example (see initialization) + + // Move forward, then backward, twice + CVector listenervel; + CVector listenerpos ( 0.0f, 0.0f, 0.0f ); + for ( uint i=0; i!=2; i++ ) + { + printf( "%u of 2\n", i+1 ); + + // Forward velocity + listenervel.set( 0.0f, 0.5f, 0.0f ); + AudioMixer->getListener()->setVelocity( listenervel ); + + // Move forward: set position every frame + printf( "Moving forward, going past the sources...\n" ); + for ( listenerpos.y=0.0f; listenerpos.y<30.0f; listenerpos.y+=0.1f ) + { + OnMove( listenerpos ); + } + + // Backward velocity + listenervel.set( 0.0f, -0.5f, 0.0f ); + AudioMixer->getListener()->setVelocity( listenervel ); + + // Move backward: set position every frame + printf( "Moving backward, going back to the start position...\n" ); + for ( listenerpos.y=30.0f; listenerpos.y>0.0f; listenerpos.y-=0.1f ) + { + OnMove( listenerpos ); + } + } + + // Finalization + printf( "Press ENTER again to exit\n" ); + getchar(); + delete AudioMixer; +}</PRE>
\ No newline at end of file diff --git a/cvs/cvsweb.cgi/code/nel/samples/sound_sources/tuut.wav?sortby=rev b/cvs/cvsweb.cgi/code/nel/samples/sound_sources/tuut.wav?sortby=rev new file mode 100644 index 00000000..9f111d90 --- /dev/null +++ b/cvs/cvsweb.cgi/code/nel/samples/sound_sources/tuut.wav?sortby=rev @@ -0,0 +1,146 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : cvs</TITLE> + <META name="keywords" content="freesoftware,nel,newt,snowballs,richard stallman,GNU,Multi-User Online World"> + + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/free/" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-free.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/free/" TITLE="Free Software">Free software</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/cvs/"><img src="http://www.nevrax.org/inc/img/t_cvs.gif" ALT="cvs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + +<!-- title --> +<table width=100%><tr><td align=left><b> <a href="/cvs/cvsweb.cgi/?sortby=rev">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?sortby=rev">code</a> / <a href="/cvs/cvsweb.cgi/code/nel/?sortby=rev">nel</a> / <a href="/cvs/cvsweb.cgi/code/nel/samples/?sortby=rev">samples</a> / <a href="/cvs/cvsweb.cgi/code/nel/samples/sound_sources/?sortby=rev">sound_sources</a> / tuut.wav</b></td><td align=right><b></b></td></TR></TABLE> + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>tuut.wav</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<P> +<p>Default branch: MAIN<BR> +<HR size=1 NOSHADE><P><a NAME="rev1.1"></a><a NAME="nel_0_4"></a><a NAME="georges_v2"></a><a NAME="demo_0_1"></a><a NAME="HEAD"></a><a NAME="MAIN"></a> + Revision <A HREF="tuut.wav?rev=1.1&content-type=text/x-cvsweb-markup&sortby=rev"><b>1.1</b></A> / (<A HREF="/cvs/cvsweb.cgi/~checkout~/code/nel/samples/sound_sources/tuut.wav?rev=1.1&content-type=text/plain&sortby=rev" target="cvs_checkout" onClick="window.open('/cvs/cvsweb.cgi/~checkout~/code/nel/samples/sound_sources/tuut.wav?rev=1.1&content-type=text/plain','cvs_checkout','resizeable,scrollbars');"><b>download</b></A>) - <a href="/cvs/cvsweb.cgi/code/nel/samples/sound_sources/tuut.wav?annotate=1.1&sortby=rev">annotate</a> - <A HREF="/cvs/cvsweb.cgi/code/nel/samples/sound_sources/tuut.wav?r1=1.1&sortby=rev">[select for diffs]</A> +, <i>Mon Jul 23 15:41:52 2001 UTC</i> (12 months ago) by <i>cado</i> +<BR>Branch: <b><A HREF="tuut.wav?sortby=rev&only_with_tag=MAIN">MAIN</A> +</b> +<BR>CVS Tags: <b><A HREF="tuut.wav?sortby=rev&only_with_tag=nel_0_4">nel_0_4</A>, +<A HREF="tuut.wav?sortby=rev&only_with_tag=georges_v2">georges_v2</A>, +<A HREF="tuut.wav?sortby=rev&only_with_tag=demo_0_1">demo_0_1</A>, +<A HREF="tuut.wav?sortby=rev&only_with_tag=HEAD">HEAD</A> +</b><BR>Diff<PRE> +Initial import of the NeL sound engine usage sample +</PRE> + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Request Diffs</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<P> +<P> +<FORM METHOD="GET" ACTION="/cvs/cvsweb.cgi/code/nel/samples/sound_sources/tuut.wav.diff" NAME="diff_select"> +<INPUT TYPE=HIDDEN NAME="sortby" VALUE="rev"> +Diffs between +<SELECT NAME="r1"> +<OPTION VALUE="text" SELECTED>Use Text Field +<OPTION VALUE="1.1:nel_0_4">nel_0_4 +<OPTION VALUE="1.1:georges_v2">georges_v2 +<OPTION VALUE="1.1:demo_0_1">demo_0_1 +<OPTION VALUE="1:MAIN">MAIN +<OPTION VALUE="1.1:HEAD">HEAD +</SELECT> +<INPUT TYPE="TEXT" SIZE="12" NAME="tr1" VALUE="1.1" onChange='document.diff_select.r1.selectedIndex=0'> + and +<SELECT NAME="r2"> +<OPTION VALUE="text" SELECTED>Use Text Field +<OPTION VALUE="1.1:nel_0_4">nel_0_4 +<OPTION VALUE="1.1:georges_v2">georges_v2 +<OPTION VALUE="1.1:demo_0_1">demo_0_1 +<OPTION VALUE="1:MAIN">MAIN +<OPTION VALUE="1.1:HEAD">HEAD +</SELECT> +<INPUT TYPE="TEXT" SIZE="12" NAME="tr2" VALUE="1.1" onChange='docuement.diff_select.r2.selectedIndex=0'> +<BR>Type of Diff should be a <SELECT NAME="f"> +<OPTION VALUE=h SELECTED>Colored Diff<OPTION VALUE=H>Long Colored Diff<OPTION VALUE=u>Unidiff<OPTION VALUE=c>Context Diff<OPTION VALUE=s>Side by Side</SELECT><INPUT TYPE=SUBMIT VALUE=" Get Diffs "> +</FORM> + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Select branch</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<P> +<P> +<A name=branch></A> +<FORM METHOD="GET" ACTION="/cvs/cvsweb.cgi/code/nel/samples/sound_sources/tuut.wav"> +<INPUT TYPE=HIDDEN NAME="sortby" VALUE="rev"> +View only Branch: +<SELECT NAME="only_with_tag" onchange="submit()"> +<OPTION VALUE="">Show all branches +<OPTION>MAIN +</SELECT> +<INPUT TYPE=SUBMIT VALUE=" View Branch "> +</FORM> +<A name=logsort></A> +<FORM METHOD="GET" ACTION="/cvs/cvsweb.cgi/code/nel/samples/sound_sources/tuut.wav"> +<INPUT TYPE=HIDDEN NAME="sortby" VALUE="rev"> +Sort log by: +<SELECT NAME="logsort" onchange="submit()"> +<OPTION VALUE=cvs>Not sorted<OPTION VALUE=date SELECTED>Commit date<OPTION VALUE=rev>Revision</SELECT> +<INPUT TYPE=SUBMIT VALUE=" Sort "> +</FORM> + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML></BODY></HTML> |