08.04.2014 Views

JWS Reference Manual - of Roland Stigge

JWS Reference Manual - of Roland Stigge

JWS Reference Manual - of Roland Stigge

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>JWS</strong> <strong>Reference</strong> <strong>Manual</strong><br />

Generated by Doxygen 1.3.9.1<br />

Mon Oct 25 10:08:47 2004


Contents<br />

1 <strong>JWS</strong> Directory Hierarchy 1<br />

1.1 <strong>JWS</strong> Directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1<br />

2 <strong>JWS</strong> Namespace Index 3<br />

2.1 <strong>JWS</strong> Namespace List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3<br />

3 <strong>JWS</strong> Hierarchical Index 5<br />

3.1 <strong>JWS</strong> Class Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5<br />

4 <strong>JWS</strong> Class Index 7<br />

4.1 <strong>JWS</strong> Class List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7<br />

5 <strong>JWS</strong> File Index 9<br />

5.1 <strong>JWS</strong> File List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9<br />

6 <strong>JWS</strong> Directory Documentation 13<br />

6.1 src/ Directory <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13<br />

7 <strong>JWS</strong> Namespace Documentation 17<br />

7.1 <strong>JWS</strong> Namespace <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17<br />

7.2 std Namespace <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21<br />

8 <strong>JWS</strong> Class Documentation 23<br />

8.1 <strong>JWS</strong>::Accentuation Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23<br />

8.2 <strong>JWS</strong>::AMT Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24<br />

8.3 <strong>JWS</strong>::AMTView Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27<br />

8.4 <strong>JWS</strong>::Application Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30<br />

8.5 <strong>JWS</strong>::Bar Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31<br />

8.6 <strong>JWS</strong>::BWColorRGB Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32<br />

8.7 <strong>JWS</strong>::ChirpSoundGenerator Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . 33<br />

8.8 <strong>JWS</strong>::Clef Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35


ii<br />

CONTENTS<br />

8.9 <strong>JWS</strong>::ColorLegend Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37<br />

8.10 <strong>JWS</strong>::Computation Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39<br />

8.11 <strong>JWS</strong>::ComputationView Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . 43<br />

8.12 <strong>JWS</strong>::CosWindow< T > Class Template <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . 45<br />

8.13 <strong>JWS</strong>::CQT Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47<br />

8.14 <strong>JWS</strong>::DoubleBar Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49<br />

8.15 <strong>JWS</strong>::EndBar Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50<br />

8.16 <strong>JWS</strong>::Exception Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51<br />

8.17 <strong>JWS</strong>::FFT Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52<br />

8.18 <strong>JWS</strong>::GenerateDialog Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54<br />

8.19 <strong>JWS</strong>::GeoColorRGB Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56<br />

8.20 <strong>JWS</strong>::GtkRuler Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57<br />

8.21 <strong>JWS</strong>::HammingWindow< T > Class Template <strong>Reference</strong> . . . . . . . . . . . . . . . . . . 61<br />

8.22 <strong>JWS</strong>::HannWindow< T > Class Template <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . 62<br />

8.23 <strong>JWS</strong>::InstrumentSoundGenerator Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . 63<br />

8.24 <strong>JWS</strong>::InvisibleRest Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65<br />

8.25 <strong>JWS</strong>::KeySignature Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66<br />

8.26 <strong>JWS</strong>::LegatoEnd Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68<br />

8.27 <strong>JWS</strong>::LegatoStart Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69<br />

8.28 <strong>JWS</strong>::Measure Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70<br />

8.29 <strong>JWS</strong>::MixedSource Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71<br />

8.30 <strong>JWS</strong>::Note Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75<br />

8.31 <strong>JWS</strong>::NoteDetector Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77<br />

8.32 <strong>JWS</strong>::Onset Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80<br />

8.33 <strong>JWS</strong>::OnsetDetector Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82<br />

8.34 <strong>JWS</strong>::Pitch Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84<br />

8.35 <strong>JWS</strong>::PitchDetector Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87<br />

8.36 <strong>JWS</strong>::Portato Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91<br />

8.37 <strong>JWS</strong>::PseudoColorRGB Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . 92<br />

8.38 <strong>JWS</strong>::Rest Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93<br />

8.39 <strong>JWS</strong>::Ruler Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94<br />

8.40 <strong>JWS</strong>::Ruler::Bottom Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100<br />

8.41 <strong>JWS</strong>::Ruler::Left Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102<br />

8.42 <strong>JWS</strong>::Ruler::Linear Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104<br />

8.43 <strong>JWS</strong>::Ruler::Logarithmic Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . 106<br />

8.44 <strong>JWS</strong>::Ruler::Mark Struct <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


CONTENTS<br />

iii<br />

8.45 <strong>JWS</strong>::Ruler::PositionStrategy Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . 109<br />

8.46 <strong>JWS</strong>::Ruler::Right Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111<br />

8.47 <strong>JWS</strong>::Ruler::ScaleStrategy Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . 113<br />

8.48 <strong>JWS</strong>::Ruler::Top Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115<br />

8.49 <strong>JWS</strong>::SavePlotDialog Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117<br />

8.50 <strong>JWS</strong>::SavePlotDialog1D Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . 120<br />

8.51 <strong>JWS</strong>::SavePlotDialog2D Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . 123<br />

8.52 <strong>JWS</strong>::ScoreElement Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126<br />

8.53 <strong>JWS</strong>::ScoreElementList Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . 127<br />

8.54 <strong>JWS</strong>::ScoreGenerator Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128<br />

8.55 <strong>JWS</strong>::SineSoundGenerator Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . 130<br />

8.56 <strong>JWS</strong>::SndfileSource Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132<br />

8.57 <strong>JWS</strong>::SoundGenerator Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . 136<br />

8.58 <strong>JWS</strong>::SoundSource Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140<br />

8.59 <strong>JWS</strong>::SoundSourceException Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . 144<br />

8.60 <strong>JWS</strong>::SourceView Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145<br />

8.61 <strong>JWS</strong>::SpectrumView Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146<br />

8.62 <strong>JWS</strong>::Staccato Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149<br />

8.63 <strong>JWS</strong>::STACQT Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150<br />

8.64 <strong>JWS</strong>::STACQTView Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154<br />

8.65 <strong>JWS</strong>::STCQT Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155<br />

8.66 <strong>JWS</strong>::STCQTView Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159<br />

8.67 <strong>JWS</strong>::STFCQT Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160<br />

8.68 <strong>JWS</strong>::STFCQTView Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164<br />

8.69 <strong>JWS</strong>::STFFT Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165<br />

8.70 <strong>JWS</strong>::STFFTView Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169<br />

8.71 <strong>JWS</strong>::STTransform Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170<br />

8.72 <strong>JWS</strong>::STTransformView Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . 175<br />

8.73 <strong>JWS</strong>::TemporalScoreElement Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . 179<br />

8.74 <strong>JWS</strong>::TimeSignature Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181<br />

8.75 <strong>JWS</strong>::View Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183<br />

8.76 <strong>JWS</strong>::View1D Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186<br />

8.77 <strong>JWS</strong>::View2D Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191<br />

8.78 <strong>JWS</strong>::VoiceAttribute Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196<br />

8.79 <strong>JWS</strong>::VoiceList Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197<br />

8.80 <strong>JWS</strong>::WaveformView Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


iv<br />

CONTENTS<br />

8.81 <strong>JWS</strong>::Window< T > Class Template <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . 201<br />

8.82 <strong>JWS</strong>::XmlResultDialog Class <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . 202<br />

9 <strong>JWS</strong> File Documentation 205<br />

9.1 AMT.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205<br />

9.2 AMT.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206<br />

9.3 AMTView.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207<br />

9.4 AMTView.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208<br />

9.5 Application.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209<br />

9.6 Application.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210<br />

9.7 BWColorRGB.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211<br />

9.8 BWColorRGB.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212<br />

9.9 ColorLegend.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213<br />

9.10 ColorLegend.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214<br />

9.11 Computation.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215<br />

9.12 Computation.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216<br />

9.13 ComputationView.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217<br />

9.14 ComputationView.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218<br />

9.15 CQT.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219<br />

9.16 CQT.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220<br />

9.17 FFT.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221<br />

9.18 FFT.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222<br />

9.19 GenerateDialog.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223<br />

9.20 GenerateDialog.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224<br />

9.21 GeoColorRGB.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225<br />

9.22 GeoColorRGB.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226<br />

9.23 gettext.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227<br />

9.24 globals.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229<br />

9.25 GtkRuler.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231<br />

9.26 GtkRuler.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232<br />

9.27 jws.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233<br />

9.28 MixedSource.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234<br />

9.29 MixedSource.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235<br />

9.30 Note.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236<br />

9.31 Note.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237<br />

9.32 NoteDetector.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238<br />

9.33 NoteDetector.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


CONTENTS<br />

v<br />

9.34 Onset.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240<br />

9.35 Onset.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241<br />

9.36 OnsetDetector.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242<br />

9.37 OnsetDetector.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243<br />

9.38 Pitch.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244<br />

9.39 Pitch.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245<br />

9.40 PitchDetector.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246<br />

9.41 PitchDetector.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247<br />

9.42 PseudoColorRGB.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248<br />

9.43 Ruler.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249<br />

9.44 Ruler.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250<br />

9.45 SavePlotDialog.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251<br />

9.46 SavePlotDialog.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252<br />

9.47 SavePlotDialog1D.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253<br />

9.48 SavePlotDialog1D.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254<br />

9.49 SavePlotDialog2D.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255<br />

9.50 SavePlotDialog2D.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256<br />

9.51 ScoreGenerator.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257<br />

9.52 ScoreGenerator.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258<br />

9.53 SndfileSource.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259<br />

9.54 SndfileSource.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260<br />

9.55 SoundGenerator.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261<br />

9.56 SoundGenerator.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262<br />

9.57 SoundSource.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263<br />

9.58 SourceView.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264<br />

9.59 SourceView.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265<br />

9.60 SpectrumView.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266<br />

9.61 SpectrumView.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267<br />

9.62 STACQT.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268<br />

9.63 STACQT.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269<br />

9.64 STACQTView.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270<br />

9.65 STACQTView.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271<br />

9.66 STCQT.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272<br />

9.67 STCQT.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273<br />

9.68 STCQTView.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274<br />

9.69 STCQTView.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


vi<br />

CONTENTS<br />

9.70 STFCQT.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276<br />

9.71 STFCQT.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277<br />

9.72 STFCQTView.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278<br />

9.73 STFCQTView.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279<br />

9.74 STFFT.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280<br />

9.75 STFFT.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281<br />

9.76 STFFTView.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282<br />

9.77 STFFTView.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283<br />

9.78 STTransform.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284<br />

9.79 STTransform.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285<br />

9.80 STTransformView.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286<br />

9.81 STTransformView.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287<br />

9.82 util.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288<br />

9.83 util.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289<br />

9.84 View.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291<br />

9.85 View.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292<br />

9.86 View1D.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293<br />

9.87 View1D.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294<br />

9.88 View2D.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295<br />

9.89 View2D.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296<br />

9.90 WaveformView.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297<br />

9.91 WaveformView.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298<br />

9.92 Window.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299<br />

9.93 Window.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300<br />

9.94 XmlResultDialog.cc File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301<br />

9.95 XmlResultDialog.h File <strong>Reference</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


Chapter 1<br />

<strong>JWS</strong> Directory Hierarchy<br />

1.1 <strong>JWS</strong> Directories<br />

This directory hierarchy is sorted roughly, but not completely, alphabetically:<br />

src . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13


2 <strong>JWS</strong> Directory Hierarchy<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


Chapter 2<br />

<strong>JWS</strong> Namespace Index<br />

2.1 <strong>JWS</strong> Namespace List<br />

Here is a list <strong>of</strong> all namespaces with brief descriptions:<br />

<strong>JWS</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17<br />

std . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21


4 <strong>JWS</strong> Namespace Index<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


Chapter 3<br />

<strong>JWS</strong> Hierarchical Index<br />

3.1 <strong>JWS</strong> Class Hierarchy<br />

This inheritance list is sorted roughly, but not completely, alphabetically:<br />

<strong>JWS</strong>::Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30<br />

<strong>JWS</strong>::ColorLegend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37<br />

<strong>JWS</strong>::Computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39<br />

<strong>JWS</strong>::AMT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24<br />

<strong>JWS</strong>::NoteDetector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77<br />

<strong>JWS</strong>::OnsetDetector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82<br />

<strong>JWS</strong>::PitchDetector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87<br />

<strong>JWS</strong>::ScoreGenerator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128<br />

<strong>JWS</strong>::STTransform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170<br />

<strong>JWS</strong>::STACQT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150<br />

<strong>JWS</strong>::STCQT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155<br />

<strong>JWS</strong>::STFCQT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160<br />

<strong>JWS</strong>::STFFT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165<br />

<strong>JWS</strong>::CQT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47<br />

<strong>JWS</strong>::Exception . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51<br />

<strong>JWS</strong>::SoundSourceException . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144<br />

<strong>JWS</strong>::FFT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52<br />

<strong>JWS</strong>::GenerateDialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54<br />

<strong>JWS</strong>::Onset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80<br />

<strong>JWS</strong>::Pitch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84<br />

<strong>JWS</strong>::PseudoColorRGB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92<br />

<strong>JWS</strong>::BWColorRGB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32<br />

<strong>JWS</strong>::GeoColorRGB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56<br />

<strong>JWS</strong>::Ruler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94<br />

<strong>JWS</strong>::GtkRuler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57<br />

<strong>JWS</strong>::Ruler::Mark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108<br />

<strong>JWS</strong>::Ruler::PositionStrategy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109<br />

<strong>JWS</strong>::Ruler::Bottom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100<br />

<strong>JWS</strong>::Ruler::Left . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102<br />

<strong>JWS</strong>::Ruler::Right . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111<br />

<strong>JWS</strong>::Ruler::Top . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115<br />

<strong>JWS</strong>::Ruler::ScaleStrategy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113


6 <strong>JWS</strong> Hierarchical Index<br />

<strong>JWS</strong>::Ruler::Linear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104<br />

<strong>JWS</strong>::Ruler::Logarithmic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106<br />

<strong>JWS</strong>::SavePlotDialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117<br />

<strong>JWS</strong>::SavePlotDialog1D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120<br />

<strong>JWS</strong>::SavePlotDialog2D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123<br />

<strong>JWS</strong>::ScoreElement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126<br />

<strong>JWS</strong>::Accentuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23<br />

<strong>JWS</strong>::LegatoEnd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68<br />

<strong>JWS</strong>::LegatoStart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69<br />

<strong>JWS</strong>::Portato . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91<br />

<strong>JWS</strong>::Staccato . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149<br />

<strong>JWS</strong>::Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31<br />

<strong>JWS</strong>::DoubleBar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49<br />

<strong>JWS</strong>::EndBar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50<br />

<strong>JWS</strong>::ScoreElementList . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127<br />

<strong>JWS</strong>::Measure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70<br />

<strong>JWS</strong>::VoiceList . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197<br />

<strong>JWS</strong>::TemporalScoreElement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179<br />

<strong>JWS</strong>::InvisibleRest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65<br />

<strong>JWS</strong>::Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75<br />

<strong>JWS</strong>::Rest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93<br />

<strong>JWS</strong>::VoiceAttribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196<br />

<strong>JWS</strong>::Clef . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35<br />

<strong>JWS</strong>::KeySignature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66<br />

<strong>JWS</strong>::TimeSignature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181<br />

<strong>JWS</strong>::SoundSource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140<br />

<strong>JWS</strong>::MixedSource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71<br />

<strong>JWS</strong>::SndfileSource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132<br />

<strong>JWS</strong>::SoundGenerator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136<br />

<strong>JWS</strong>::ChirpSoundGenerator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33<br />

<strong>JWS</strong>::InstrumentSoundGenerator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63<br />

<strong>JWS</strong>::SineSoundGenerator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130<br />

<strong>JWS</strong>::SourceView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145<br />

<strong>JWS</strong>::View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183<br />

<strong>JWS</strong>::View1D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186<br />

<strong>JWS</strong>::SpectrumView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146<br />

<strong>JWS</strong>::WaveformView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198<br />

<strong>JWS</strong>::View2D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191<br />

<strong>JWS</strong>::ComputationView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43<br />

<strong>JWS</strong>::AMTView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27<br />

<strong>JWS</strong>::STTransformView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175<br />

<strong>JWS</strong>::STACQTView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154<br />

<strong>JWS</strong>::STCQTView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159<br />

<strong>JWS</strong>::STFCQTView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164<br />

<strong>JWS</strong>::STFFTView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169<br />

<strong>JWS</strong>::Window< T > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201<br />

<strong>JWS</strong>::CosWindow< T > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45<br />

<strong>JWS</strong>::HammingWindow< T > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61<br />

<strong>JWS</strong>::HannWindow< T > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62<br />

<strong>JWS</strong>::XmlResultDialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


Chapter 4<br />

<strong>JWS</strong> Class Index<br />

4.1 <strong>JWS</strong> Class List<br />

Here are the classes, structs, unions and interfaces with brief descriptions:<br />

<strong>JWS</strong>::Accentuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23<br />

<strong>JWS</strong>::AMT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24<br />

<strong>JWS</strong>::AMTView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27<br />

<strong>JWS</strong>::Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30<br />

<strong>JWS</strong>::Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31<br />

<strong>JWS</strong>::BWColorRGB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32<br />

<strong>JWS</strong>::ChirpSoundGenerator (Chirp Sound Generator ) . . . . . . . . . . . . . . . . . . . . . . 33<br />

<strong>JWS</strong>::Clef . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35<br />

<strong>JWS</strong>::ColorLegend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37<br />

<strong>JWS</strong>::Computation (An abstract computation ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 39<br />

<strong>JWS</strong>::ComputationView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43<br />

<strong>JWS</strong>::CosWindow< T > (Cosine shaped windowing function ) . . . . . . . . . . . . . . . . . . 45<br />

<strong>JWS</strong>::CQT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47<br />

<strong>JWS</strong>::DoubleBar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49<br />

<strong>JWS</strong>::EndBar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50<br />

<strong>JWS</strong>::Exception . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51<br />

<strong>JWS</strong>::FFT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52<br />

<strong>JWS</strong>::GenerateDialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54<br />

<strong>JWS</strong>::GeoColorRGB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56<br />

<strong>JWS</strong>::GtkRuler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57<br />

<strong>JWS</strong>::HammingWindow< T > (A Hamming Window specialization ) . . . . . . . . . . . . . . 61<br />

<strong>JWS</strong>::HannWindow< T > (A Hann Window specialization ) . . . . . . . . . . . . . . . . . . . 62<br />

<strong>JWS</strong>::InstrumentSoundGenerator (Model <strong>of</strong> Instrument with partials ) . . . . . . . . . . . . . . 63<br />

<strong>JWS</strong>::InvisibleRest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65<br />

<strong>JWS</strong>::KeySignature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66<br />

<strong>JWS</strong>::LegatoEnd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68<br />

<strong>JWS</strong>::LegatoStart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69<br />

<strong>JWS</strong>::Measure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70<br />

<strong>JWS</strong>::MixedSource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71<br />

<strong>JWS</strong>::Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75<br />

<strong>JWS</strong>::NoteDetector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77<br />

<strong>JWS</strong>::Onset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80<br />

<strong>JWS</strong>::OnsetDetector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82


8 <strong>JWS</strong> Class Index<br />

<strong>JWS</strong>::Pitch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84<br />

<strong>JWS</strong>::PitchDetector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87<br />

<strong>JWS</strong>::Portato . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91<br />

<strong>JWS</strong>::PseudoColorRGB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92<br />

<strong>JWS</strong>::Rest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93<br />

<strong>JWS</strong>::Ruler (A general ruler ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94<br />

<strong>JWS</strong>::Ruler::Bottom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100<br />

<strong>JWS</strong>::Ruler::Left . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102<br />

<strong>JWS</strong>::Ruler::Linear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104<br />

<strong>JWS</strong>::Ruler::Logarithmic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106<br />

<strong>JWS</strong>::Ruler::Mark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108<br />

<strong>JWS</strong>::Ruler::PositionStrategy (The strategy to represent and implement the position ) . . . . . . 109<br />

<strong>JWS</strong>::Ruler::Right . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111<br />

<strong>JWS</strong>::Ruler::ScaleStrategy (Strategy to generate marks list (Linear / Logarithmic / ...) ) . . . . . 113<br />

<strong>JWS</strong>::Ruler::Top . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115<br />

<strong>JWS</strong>::SavePlotDialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117<br />

<strong>JWS</strong>::SavePlotDialog1D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120<br />

<strong>JWS</strong>::SavePlotDialog2D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123<br />

<strong>JWS</strong>::ScoreElement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126<br />

<strong>JWS</strong>::ScoreElementList . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127<br />

<strong>JWS</strong>::ScoreGenerator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128<br />

<strong>JWS</strong>::SineSoundGenerator (Sine Generator ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130<br />

<strong>JWS</strong>::SndfileSource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132<br />

<strong>JWS</strong>::SoundGenerator (Abstract SoundGenerator Class ) . . . . . . . . . . . . . . . . . . . . . 136<br />

<strong>JWS</strong>::SoundSource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140<br />

<strong>JWS</strong>::SoundSourceException . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144<br />

<strong>JWS</strong>::SourceView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145<br />

<strong>JWS</strong>::SpectrumView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146<br />

<strong>JWS</strong>::Staccato . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149<br />

<strong>JWS</strong>::STACQT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150<br />

<strong>JWS</strong>::STACQTView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154<br />

<strong>JWS</strong>::STCQT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155<br />

<strong>JWS</strong>::STCQTView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159<br />

<strong>JWS</strong>::STFCQT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160<br />

<strong>JWS</strong>::STFCQTView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164<br />

<strong>JWS</strong>::STFFT (STFFT with adjacent windows overlapping 50% Window function: Hann (the<br />

default FFT window) ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165<br />

<strong>JWS</strong>::STFFTView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169<br />

<strong>JWS</strong>::STTransform (A calculation <strong>of</strong> a Short Time transform ) . . . . . . . . . . . . . . . . . . 170<br />

<strong>JWS</strong>::STTransformView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175<br />

<strong>JWS</strong>::TemporalScoreElement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179<br />

<strong>JWS</strong>::TimeSignature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181<br />

<strong>JWS</strong>::View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183<br />

<strong>JWS</strong>::View1D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186<br />

<strong>JWS</strong>::View2D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191<br />

<strong>JWS</strong>::VoiceAttribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196<br />

<strong>JWS</strong>::VoiceList . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197<br />

<strong>JWS</strong>::WaveformView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198<br />

<strong>JWS</strong>::Window< T > (Window function ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201<br />

<strong>JWS</strong>::XmlResultDialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


Chapter 5<br />

<strong>JWS</strong> File Index<br />

5.1 <strong>JWS</strong> File List<br />

Here is a list <strong>of</strong> all files with brief descriptions:<br />

AMT.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205<br />

AMT.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206<br />

AMTView.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207<br />

AMTView.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208<br />

Application.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209<br />

Application.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210<br />

BWColorRGB.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211<br />

BWColorRGB.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212<br />

ColorLegend.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213<br />

ColorLegend.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214<br />

Computation.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215<br />

Computation.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216<br />

ComputationView.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217<br />

ComputationView.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218<br />

CQT.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219<br />

CQT.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220<br />

FFT.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221<br />

FFT.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222<br />

GenerateDialog.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223<br />

GenerateDialog.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224<br />

GeoColorRGB.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225<br />

GeoColorRGB.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226<br />

gettext.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227<br />

globals.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229<br />

GtkRuler.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231<br />

GtkRuler.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232<br />

jws.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233<br />

MixedSource.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234<br />

MixedSource.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235<br />

Note.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236<br />

Note.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237<br />

NoteDetector.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238<br />

NoteDetector.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239


10 <strong>JWS</strong> File Index<br />

Onset.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240<br />

Onset.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241<br />

OnsetDetector.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242<br />

OnsetDetector.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243<br />

Pitch.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244<br />

Pitch.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245<br />

PitchDetector.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246<br />

PitchDetector.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247<br />

PseudoColorRGB.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248<br />

Ruler.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249<br />

Ruler.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250<br />

SavePlotDialog.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251<br />

SavePlotDialog.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252<br />

SavePlotDialog1D.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253<br />

SavePlotDialog1D.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254<br />

SavePlotDialog2D.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255<br />

SavePlotDialog2D.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256<br />

ScoreGenerator.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257<br />

ScoreGenerator.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258<br />

SndfileSource.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259<br />

SndfileSource.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260<br />

SoundGenerator.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261<br />

SoundGenerator.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262<br />

SoundSource.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263<br />

SourceView.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264<br />

SourceView.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265<br />

SpectrumView.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266<br />

SpectrumView.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267<br />

STACQT.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268<br />

STACQT.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269<br />

STACQTView.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270<br />

STACQTView.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271<br />

STCQT.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272<br />

STCQT.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273<br />

STCQTView.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274<br />

STCQTView.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275<br />

STFCQT.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276<br />

STFCQT.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277<br />

STFCQTView.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278<br />

STFCQTView.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279<br />

STFFT.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280<br />

STFFT.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281<br />

STFFTView.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282<br />

STFFTView.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283<br />

STTransform.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284<br />

STTransform.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285<br />

STTransformView.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286<br />

STTransformView.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287<br />

util.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288<br />

util.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289<br />

View.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291<br />

View.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292<br />

View1D.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293<br />

View1D.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


5.1 <strong>JWS</strong> File List 11<br />

View2D.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295<br />

View2D.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296<br />

WaveformView.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297<br />

WaveformView.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298<br />

Window.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299<br />

Window.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300<br />

XmlResultDialog.cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301<br />

XmlResultDialog.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


12 <strong>JWS</strong> File Index<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


Chapter 6<br />

<strong>JWS</strong> Directory Documentation<br />

6.1 src/ Directory <strong>Reference</strong><br />

Files<br />

• file AMT.cc<br />

• file AMT.h<br />

• file AMTView.cc<br />

• file AMTView.h<br />

• file Application.cc<br />

• file Application.h<br />

• file BWColorRGB.cc<br />

• file BWColorRGB.h<br />

• file ColorLegend.cc<br />

• file ColorLegend.h<br />

• file Computation.cc<br />

• file Computation.h<br />

• file ComputationView.cc<br />

• file ComputationView.h<br />

• file CQT.cc<br />

• file CQT.h<br />

• file FFT.cc<br />

• file FFT.h<br />

• file GenerateDialog.cc<br />

• file GenerateDialog.h<br />

• file GeoColorRGB.cc<br />

• file GeoColorRGB.h<br />

• file gettext.h<br />

• file globals.h<br />

• file GtkRuler.cc<br />

• file GtkRuler.h<br />

• file jws.cc<br />

• file MixedSource.cc


14 <strong>JWS</strong> Directory Documentation<br />

• file MixedSource.h<br />

• file Note.cc<br />

• file Note.h<br />

• file NoteDetector.cc<br />

• file NoteDetector.h<br />

• file Onset.cc<br />

• file Onset.h<br />

• file OnsetDetector.cc<br />

• file OnsetDetector.h<br />

• file Pitch.cc<br />

• file Pitch.h<br />

• file PitchDetector.cc<br />

• file PitchDetector.h<br />

• file PseudoColorRGB.h<br />

• file Ruler.cc<br />

• file Ruler.h<br />

• file SavePlotDialog.cc<br />

• file SavePlotDialog.h<br />

• file SavePlotDialog1D.cc<br />

• file SavePlotDialog1D.h<br />

• file SavePlotDialog2D.cc<br />

• file SavePlotDialog2D.h<br />

• file ScoreGenerator.cc<br />

• file ScoreGenerator.h<br />

• file SndfileSource.cc<br />

• file SndfileSource.h<br />

• file SoundGenerator.cc<br />

• file SoundGenerator.h<br />

• file SoundSource.h<br />

• file SourceView.cc<br />

• file SourceView.h<br />

• file SpectrumView.cc<br />

• file SpectrumView.h<br />

• file STACQT.cc<br />

• file STACQT.h<br />

• file STACQTView.cc<br />

• file STACQTView.h<br />

• file STCQT.cc<br />

• file STCQT.h<br />

• file STCQTView.cc<br />

• file STCQTView.h<br />

• file STFCQT.cc<br />

• file STFCQT.h<br />

• file STFCQTView.cc<br />

• file STFCQTView.h<br />

• file STFFT.cc<br />

• file STFFT.h<br />

• file STFFTView.cc<br />

• file STFFTView.h<br />

• file STTransform.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


6.1 src/ Directory <strong>Reference</strong> 15<br />

• file STTransform.h<br />

• file STTransformView.cc<br />

• file STTransformView.h<br />

• file util.cc<br />

• file util.h<br />

• file View.cc<br />

• file View.h<br />

• file View1D.cc<br />

• file View1D.h<br />

• file View2D.cc<br />

• file View2D.h<br />

• file WaveformView.cc<br />

• file WaveformView.h<br />

• file Window.cc<br />

• file Window.h<br />

• file XmlResultDialog.cc<br />

• file XmlResultDialog.h<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


16 <strong>JWS</strong> Directory Documentation<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


Chapter 7<br />

<strong>JWS</strong> Namespace Documentation<br />

7.1 <strong>JWS</strong> Namespace <strong>Reference</strong><br />

Classes<br />

• class <strong>JWS</strong>::AMT<br />

• class <strong>JWS</strong>::AMTView<br />

• class <strong>JWS</strong>::Application<br />

• class <strong>JWS</strong>::BWColorRGB<br />

• class <strong>JWS</strong>::ColorLegend<br />

• class <strong>JWS</strong>::Computation<br />

An abstract computation.<br />

• class <strong>JWS</strong>::ComputationView<br />

• class <strong>JWS</strong>::CQT<br />

• class <strong>JWS</strong>::FFT<br />

• class <strong>JWS</strong>::GenerateDialog<br />

• class <strong>JWS</strong>::GeoColorRGB<br />

• class <strong>JWS</strong>::Exception<br />

• class <strong>JWS</strong>::GtkRuler<br />

• class <strong>JWS</strong>::MixedSource<br />

• class <strong>JWS</strong>::ScoreElement<br />

• class <strong>JWS</strong>::ScoreElementList<br />

• class <strong>JWS</strong>::TemporalScoreElement<br />

• class <strong>JWS</strong>::Note<br />

• class <strong>JWS</strong>::Rest<br />

• class <strong>JWS</strong>::InvisibleRest<br />

• class <strong>JWS</strong>::VoiceAttribute<br />

• class <strong>JWS</strong>::Clef<br />

• class <strong>JWS</strong>::KeySignature<br />

• class <strong>JWS</strong>::TimeSignature<br />

• class <strong>JWS</strong>::Bar<br />

• class <strong>JWS</strong>::DoubleBar


18 <strong>JWS</strong> Namespace Documentation<br />

• class <strong>JWS</strong>::EndBar<br />

• class <strong>JWS</strong>::Accentuation<br />

• class <strong>JWS</strong>::Staccato<br />

• class <strong>JWS</strong>::LegatoStart<br />

• class <strong>JWS</strong>::LegatoEnd<br />

• class <strong>JWS</strong>::Portato<br />

• class <strong>JWS</strong>::VoiceList<br />

• class <strong>JWS</strong>::Measure<br />

• class <strong>JWS</strong>::NoteDetector<br />

• class <strong>JWS</strong>::Onset<br />

• class <strong>JWS</strong>::OnsetDetector<br />

• class <strong>JWS</strong>::Pitch<br />

• class <strong>JWS</strong>::PitchDetector<br />

• class <strong>JWS</strong>::PseudoColorRGB<br />

• class <strong>JWS</strong>::Ruler<br />

A general ruler.<br />

• struct <strong>JWS</strong>::Ruler::Mark<br />

• class <strong>JWS</strong>::Ruler::PositionStrategy<br />

The strategy to represent and implement the position.<br />

• class <strong>JWS</strong>::Ruler::Left<br />

• class <strong>JWS</strong>::Ruler::Right<br />

• class <strong>JWS</strong>::Ruler::Top<br />

• class <strong>JWS</strong>::Ruler::Bottom<br />

• class <strong>JWS</strong>::Ruler::ScaleStrategy<br />

Strategy to generate marks list (Linear / Logarithmic / ...).<br />

• class <strong>JWS</strong>::Ruler::Linear<br />

• class <strong>JWS</strong>::Ruler::Logarithmic<br />

• class <strong>JWS</strong>::SavePlotDialog<br />

• class <strong>JWS</strong>::SavePlotDialog1D<br />

• class <strong>JWS</strong>::SavePlotDialog2D<br />

• class <strong>JWS</strong>::ScoreGenerator<br />

• class <strong>JWS</strong>::SndfileSource<br />

• class <strong>JWS</strong>::SoundGenerator<br />

Abstract SoundGenerator Class.<br />

• class <strong>JWS</strong>::SineSoundGenerator<br />

Sine Generator.<br />

• class <strong>JWS</strong>::ChirpSoundGenerator<br />

Chirp Sound Generator.<br />

• class <strong>JWS</strong>::InstrumentSoundGenerator<br />

Model <strong>of</strong> Instrument with partials.<br />

• class <strong>JWS</strong>::SoundSourceException<br />

• class <strong>JWS</strong>::SoundSource<br />

• class <strong>JWS</strong>::SourceView<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


7.1 <strong>JWS</strong> Namespace <strong>Reference</strong> 19<br />

• class <strong>JWS</strong>::SpectrumView<br />

• class <strong>JWS</strong>::STACQT<br />

• class <strong>JWS</strong>::STACQTView<br />

• class <strong>JWS</strong>::STCQT<br />

• class <strong>JWS</strong>::STCQTView<br />

• class <strong>JWS</strong>::STFCQT<br />

• class <strong>JWS</strong>::STFCQTView<br />

• class <strong>JWS</strong>::STFFT<br />

STFFT with adjacent windows overlapping 50% Window function: Hann (the default FFT window).<br />

• class <strong>JWS</strong>::STFFTView<br />

• class <strong>JWS</strong>::STTransform<br />

A calculation <strong>of</strong> a Short Time transform.<br />

• class <strong>JWS</strong>::STTransformView<br />

• class <strong>JWS</strong>::View<br />

• class <strong>JWS</strong>::View1D<br />

• class <strong>JWS</strong>::View2D<br />

• class <strong>JWS</strong>::WaveformView<br />

• class <strong>JWS</strong>::Window< T ><br />

Window function.<br />

• class <strong>JWS</strong>::CosWindow< T ><br />

Cosine shaped windowing function.<br />

• class <strong>JWS</strong>::HannWindow< T ><br />

A Hann Window specialization.<br />

• class <strong>JWS</strong>::HammingWindow< T ><br />

A Hamming Window specialization.<br />

• class <strong>JWS</strong>::XmlResultDialog<br />

Enumerations<br />

• enum ScaleType { LINEAR, LOGARITHMIC, EXPONENTIAL }<br />

Functions<br />

• int timeval_subtract (struct timeval ∗result, struct timeval ∗x, struct timeval ∗y)<br />

Subtract two ’struct timeval’ values (x - y).<br />

• Glib::ustring str (int x)<br />

Converts integer to string.<br />

• Glib::ustring str (double x)<br />

Converts double to string.<br />

• Glib::ustring str (char x)<br />

Converts char to string.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


20 <strong>JWS</strong> Namespace Documentation<br />

7.1.1 Enumeration Type Documentation<br />

7.1.1.1 enum ScaleType<br />

Enumeration values:<br />

LINEAR<br />

LOGARITHMIC<br />

EXPONENTIAL<br />

7.1.2 Function Documentation<br />

7.1.2.1 Glib::ustring <strong>JWS</strong>::str (char x)<br />

Converts char to string.<br />

7.1.2.2 Glib::ustring <strong>JWS</strong>::str (double x)<br />

Converts double to string.<br />

7.1.2.3 Glib::ustring <strong>JWS</strong>::str (int x)<br />

Converts integer to string.<br />

7.1.2.4 int <strong>JWS</strong>::timeval_subtract (struct timeval ∗ result, struct timeval ∗ x, struct timeval ∗ y)<br />

Subtract two ’struct timeval’ values (x - y).<br />

Stores the result in result.<br />

Returns:<br />

1 if the difference is negative, otherwise 0.<br />

This function comes from the GNU C Library documentation.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


7.2 std Namespace <strong>Reference</strong> 21<br />

7.2 std Namespace <strong>Reference</strong><br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


22 <strong>JWS</strong> Namespace Documentation<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


Chapter 8<br />

<strong>JWS</strong> Class Documentation<br />

8.1 <strong>JWS</strong>::Accentuation Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Accentuation::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::Accentuation<br />

<strong>JWS</strong>::LegatoEnd <strong>JWS</strong>::LegatoStart <strong>JWS</strong>::Portato <strong>JWS</strong>::Staccato<br />

Protected Member Functions<br />

• Accentuation ()<br />

Protected constructor: don’t instantiate directly!<br />

8.1.1 Constructor & Destructor Documentation<br />

8.1.1.1 <strong>JWS</strong>::Accentuation::Accentuation () [inline, protected]<br />

Protected constructor: don’t instantiate directly!<br />

The documentation for this class was generated from the following file:<br />

• Note.h


24 <strong>JWS</strong> Class Documentation<br />

8.2 <strong>JWS</strong>::AMT Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::AMT::<br />

<strong>JWS</strong>::Computation<br />

<strong>JWS</strong>::AMT<br />

Public Member Functions<br />

• AMT (SoundSource ∗source, double frequency_A=440.0)<br />

Constructor.<br />

• ∼AMT ()<br />

• virtual double getProgress ()<br />

Returns the progress <strong>of</strong> the calculation.<br />

• int getNumberOfTimes ()<br />

• int getNumberOfBands ()<br />

• double getCoefficient (int time, int band)<br />

• double getCoefficientMax ()<br />

• double getScaleValueX (int x)<br />

• double getScaleValueY (int y)<br />

• Glib::ustring getSourceFilename ()<br />

• Glib::ustring & getXmlResult ()<br />

Gets final result.<br />

Protected Member Functions<br />

• void doCompute ()<br />

Actual computation.<br />

8.2.1 Constructor & Destructor Documentation<br />

8.2.1.1 <strong>JWS</strong>::AMT::AMT (SoundSource ∗ source, double frequency_A = 440.0)<br />

Constructor.<br />

The source if owned by the AMT object (-> deleted).<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.2 <strong>JWS</strong>::AMT Class <strong>Reference</strong> 25<br />

8.2.1.2 <strong>JWS</strong>::AMT::∼AMT ()<br />

8.2.2 Member Function Documentation<br />

8.2.2.1 void <strong>JWS</strong>::AMT::doCompute () [protected, virtual]<br />

Actual computation.<br />

Overridden by derived implementation classes. Those must call elapseTime() for every partial computation.<br />

At least once.<br />

Implements <strong>JWS</strong>::Computation.<br />

8.2.2.2 double <strong>JWS</strong>::AMT::getCoefficient (int time, int band)<br />

8.2.2.3 double <strong>JWS</strong>::AMT::getCoefficientMax ()<br />

8.2.2.4 int <strong>JWS</strong>::AMT::getNumberOfBands ()<br />

8.2.2.5 int <strong>JWS</strong>::AMT::getNumberOfTimes ()<br />

8.2.2.6 double <strong>JWS</strong>::AMT::getProgress () [virtual]<br />

Returns the progress <strong>of</strong> the calculation.<br />

Returns:<br />

0.0 if calculation is in preparation or after construction when explicit calculation is needed, 1.0 if<br />

calculation is ready, between 0.0 and 1.0 if calculation is in progress<br />

Reimplemented from <strong>JWS</strong>::Computation.<br />

8.2.2.7 double <strong>JWS</strong>::AMT::getScaleValueX (int x)<br />

8.2.2.8 double <strong>JWS</strong>::AMT::getScaleValueY (int y)<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


26 <strong>JWS</strong> Class Documentation<br />

8.2.2.9 Glib::ustring <strong>JWS</strong>::AMT::getSourceFilename ()<br />

8.2.2.10 Glib::ustring & <strong>JWS</strong>::AMT::getXmlResult ()<br />

Gets final result.<br />

Returns:<br />

MusicXML data<br />

The documentation for this class was generated from the following files:<br />

• AMT.h<br />

• AMT.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.3 <strong>JWS</strong>::AMTView Class <strong>Reference</strong> 27<br />

8.3 <strong>JWS</strong>::AMTView Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::AMTView::<br />

<strong>JWS</strong>::View<br />

<strong>JWS</strong>::View2D<br />

<strong>JWS</strong>::ComputationView<br />

<strong>JWS</strong>::AMTView<br />

Public Member Functions<br />

• AMTView (SoundSource ∗source)<br />

• ∼AMTView ()<br />

• virtual Glib::ustring getName ()<br />

• virtual double getCoefficient (int x, int y)<br />

Convenience function.<br />

• virtual void getCoefficientRangeConsidered (double &min, double &max)<br />

Return range to be considered for ruler etc.<br />

• virtual double getScaleValueX (int x)<br />

• virtual double getScaleValueY (int y)<br />

See getScaleValueX().<br />

• virtual Glib::ustring getUnitX ()<br />

• virtual Glib::ustring getUnitY ()<br />

• virtual Glib::ustring getUnitValues ()<br />

• virtual Glib::ustring getScaleNameX ()<br />

• virtual Glib::ustring getScaleNameY ()<br />

• virtual Glib::ustring getScaleNameValues ()<br />

Protected Member Functions<br />

• virtual void getResultSize (int &width, int &height)<br />

Returns result matrix size when computation is over.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


28 <strong>JWS</strong> Class Documentation<br />

8.3.1 Constructor & Destructor Documentation<br />

8.3.1.1 <strong>JWS</strong>::AMTView::AMTView (SoundSource ∗ source)<br />

8.3.1.2 <strong>JWS</strong>::AMTView::∼AMTView ()<br />

8.3.2 Member Function Documentation<br />

8.3.2.1 double <strong>JWS</strong>::AMTView::getCoefficient (int x, int y) [virtual]<br />

Convenience function.<br />

Returns:<br />

a value from underlying transform<br />

Implements <strong>JWS</strong>::View2D.<br />

8.3.2.2 void <strong>JWS</strong>::AMTView::getCoefficientRangeConsidered (double & min, double & max)<br />

[virtual]<br />

Return range to be considered for ruler etc.<br />

Implements <strong>JWS</strong>::View2D.<br />

8.3.2.3 Glib::ustring <strong>JWS</strong>::AMTView::getName () [virtual]<br />

Implements <strong>JWS</strong>::View2D.<br />

8.3.2.4 void <strong>JWS</strong>::AMTView::getResultSize (int & width, int & height) [protected,<br />

virtual]<br />

Returns result matrix size when computation is over.<br />

Implements <strong>JWS</strong>::ComputationView.<br />

8.3.2.5 Glib::ustring <strong>JWS</strong>::AMTView::getScaleNameValues () [virtual]<br />

Implements <strong>JWS</strong>::View2D.<br />

8.3.2.6 Glib::ustring <strong>JWS</strong>::AMTView::getScaleNameX () [virtual]<br />

Implements <strong>JWS</strong>::View2D.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.3 <strong>JWS</strong>::AMTView Class <strong>Reference</strong> 29<br />

8.3.2.7 Glib::ustring <strong>JWS</strong>::AMTView::getScaleNameY () [virtual]<br />

Implements <strong>JWS</strong>::View2D.<br />

8.3.2.8 double <strong>JWS</strong>::AMTView::getScaleValueX (int x) [virtual]<br />

Returns:<br />

the real value <strong>of</strong> the specified coefficient.<br />

The coefficient number is counted in whole transform.<br />

Implements <strong>JWS</strong>::View2D.<br />

8.3.2.9 double <strong>JWS</strong>::AMTView::getScaleValueY (int y) [virtual]<br />

See getScaleValueX().<br />

Implements <strong>JWS</strong>::View2D.<br />

8.3.2.10 Glib::ustring <strong>JWS</strong>::AMTView::getUnitValues () [virtual]<br />

Implements <strong>JWS</strong>::View2D.<br />

8.3.2.11 Glib::ustring <strong>JWS</strong>::AMTView::getUnitX () [virtual]<br />

Implements <strong>JWS</strong>::View2D.<br />

8.3.2.12 Glib::ustring <strong>JWS</strong>::AMTView::getUnitY () [virtual]<br />

Implements <strong>JWS</strong>::View2D.<br />

The documentation for this class was generated from the following files:<br />

• AMTView.h<br />

• AMTView.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


30 <strong>JWS</strong> Class Documentation<br />

8.4 <strong>JWS</strong>::Application Class <strong>Reference</strong><br />

#include <br />

Public Member Functions<br />

• ∼Application ()<br />

• Gtk::Window ∗ getMainWindow ()<br />

Static Public Member Functions<br />

• Application ∗ getInstance ()<br />

Singeton instantiation method.<br />

Protected Member Functions<br />

• Application ()<br />

8.4.1 Constructor & Destructor Documentation<br />

8.4.1.1 <strong>JWS</strong>::Application::∼Application ()<br />

8.4.1.2 <strong>JWS</strong>::Application::Application () [protected]<br />

8.4.2 Member Function Documentation<br />

8.4.2.1 <strong>JWS</strong>::Application ∗ <strong>JWS</strong>::Application::getInstance () [static]<br />

Singeton instantiation method.<br />

8.4.2.2 Gtk::Window ∗ <strong>JWS</strong>::Application::getMainWindow ()<br />

The documentation for this class was generated from the following files:<br />

• Application.h<br />

• Application.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.5 <strong>JWS</strong>::Bar Class <strong>Reference</strong> 31<br />

8.5 <strong>JWS</strong>::Bar Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Bar::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::Bar<br />

<strong>JWS</strong>::DoubleBar<br />

<strong>JWS</strong>::EndBar<br />

Public Member Functions<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

8.5.1 Member Function Documentation<br />

8.5.1.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::Bar::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Implements <strong>JWS</strong>::ScoreElement.<br />

Reimplemented in <strong>JWS</strong>::DoubleBar, and <strong>JWS</strong>::EndBar.<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


32 <strong>JWS</strong> Class Documentation<br />

8.6 <strong>JWS</strong>::BWColorRGB Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::BWColorRGB::<br />

<strong>JWS</strong>::PseudoColorRGB<br />

<strong>JWS</strong>::BWColorRGB<br />

Public Member Functions<br />

• BWColorRGB ()<br />

• ∼BWColorRGB ()<br />

• void lookup (double r, guchar ∗dest)<br />

8.6.1 Constructor & Destructor Documentation<br />

8.6.1.1 <strong>JWS</strong>::BWColorRGB::BWColorRGB ()<br />

8.6.1.2 <strong>JWS</strong>::BWColorRGB::∼BWColorRGB ()<br />

8.6.2 Member Function Documentation<br />

8.6.2.1 void <strong>JWS</strong>::BWColorRGB::lookup (double r, guchar ∗ dest) [virtual]<br />

Parameters:<br />

r The input value between 0.0 .. 1.0 resulting guchar triple<br />

Implements <strong>JWS</strong>::PseudoColorRGB.<br />

The documentation for this class was generated from the following files:<br />

• BWColorRGB.h<br />

• BWColorRGB.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.7 <strong>JWS</strong>::ChirpSoundGenerator Class <strong>Reference</strong> 33<br />

8.7 <strong>JWS</strong>::ChirpSoundGenerator Class <strong>Reference</strong><br />

Chirp Sound Generator.<br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::ChirpSoundGenerator::<br />

<strong>JWS</strong>::SoundSource<br />

<strong>JWS</strong>::SoundGenerator<br />

<strong>JWS</strong>::ChirpSoundGenerator<br />

Public Member Functions<br />

• ChirpSoundGenerator (double size, ScaleType increase, double frequency_start, double frequency_-<br />

end)<br />

Constructor.<br />

• virtual SoundSource ∗ copy ()<br />

A polymorphic copy constructor.<br />

• virtual int read (int max_frames, double ∗samples) throw (SoundSourceException)<br />

Read the specified number <strong>of</strong> frames from this source.<br />

• virtual Glib::ustring getName ()<br />

Returns the name <strong>of</strong> this SoundSource, e.g.<br />

8.7.1 Detailed Description<br />

Chirp Sound Generator.<br />

8.7.2 Constructor & Destructor Documentation<br />

8.7.2.1 <strong>JWS</strong>::ChirpSoundGenerator::ChirpSoundGenerator (double size, ScaleType increase,<br />

double frequency_start, double frequency_end)<br />

Constructor.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


34 <strong>JWS</strong> Class Documentation<br />

Parameters:<br />

size Length in seconds<br />

increase Frequency increase: LINEAR or EXPONENTIAL<br />

frequency_start Start frequency in Hz<br />

frequency_end End frequency in Hz<br />

8.7.3 Member Function Documentation<br />

8.7.3.1 <strong>JWS</strong>::SoundSource ∗ <strong>JWS</strong>::ChirpSoundGenerator::copy () [virtual]<br />

A polymorphic copy constructor.<br />

Implemented easily by providing an appropriate individual copy constructor and returning a new instance<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.7.3.2 Glib::ustring <strong>JWS</strong>::ChirpSoundGenerator::getName () [virtual]<br />

Returns the name <strong>of</strong> this SoundSource, e.g.<br />

a file name<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.7.3.3 int <strong>JWS</strong>::ChirpSoundGenerator::read (int max_frames, double ∗ samples) throw<br />

(SoundSourceException) [virtual]<br />

Read the specified number <strong>of</strong> frames from this source.<br />

Parameters:<br />

max_frames The number <strong>of</strong> samples to read. The number actually read can be smaller and will be<br />

returned by this method<br />

samples The buffer where individual samples should be stored. Needs (max_frames ∗ channels) times<br />

the size <strong>of</strong> a double <strong>of</strong> allocated memory<br />

Returns:<br />

The number <strong>of</strong> frames actually read<br />

Implements <strong>JWS</strong>::SoundSource.<br />

The documentation for this class was generated from the following files:<br />

• SoundGenerator.h<br />

• SoundGenerator.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.8 <strong>JWS</strong>::Clef Class <strong>Reference</strong> 35<br />

8.8 <strong>JWS</strong>::Clef Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Clef::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::VoiceAttribute<br />

<strong>JWS</strong>::Clef<br />

Public Member Functions<br />

• Clef (Glib::ustring sign)<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

• void setSign (Glib::ustring sign)<br />

Set Clef sign.<br />

• Glib::ustring getSign ()<br />

• int getLine ()<br />

8.8.1 Constructor & Destructor Documentation<br />

8.8.1.1 <strong>JWS</strong>::Clef::Clef (Glib::ustring sign)<br />

8.8.2 Member Function Documentation<br />

8.8.2.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::Clef::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Implements <strong>JWS</strong>::ScoreElement.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


36 <strong>JWS</strong> Class Documentation<br />

8.8.2.2 int <strong>JWS</strong>::Clef::getLine ()<br />

Returns:<br />

line numbered from lowest line, e.g. 4 for "F" clef and 2 for "G" clef<br />

8.8.2.3 Glib::ustring <strong>JWS</strong>::Clef::getSign ()<br />

8.8.2.4 void <strong>JWS</strong>::Clef::setSign (Glib::ustring sign)<br />

Set Clef sign.<br />

"F" or "G"<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.9 <strong>JWS</strong>::ColorLegend Class <strong>Reference</strong> 37<br />

8.9 <strong>JWS</strong>::ColorLegend Class <strong>Reference</strong><br />

#include <br />

Public Types<br />

• enum Direction { HORIZONTAL, VERTICAL }<br />

Public Member Functions<br />

• ColorLegend (PseudoColorRGB ∗pc, Direction direction=HORIZONTAL)<br />

Creates ColorLegend instances.<br />

• virtual ∼ColorLegend ()<br />

• void setPseudoColorRGB (PseudoColorRGB ∗pc)<br />

• void setDirection (Direction)<br />

Sets the direction for this Legend.<br />

• void setRange (double min, double max)<br />

8.9.1 Member Enumeration Documentation<br />

8.9.1.1 enum <strong>JWS</strong>::ColorLegend::Direction<br />

Enumeration values:<br />

HORIZONTAL<br />

VERTICAL<br />

8.9.2 Constructor & Destructor Documentation<br />

8.9.2.1 <strong>JWS</strong>::ColorLegend::ColorLegend (PseudoColorRGB ∗ pc, Direction direction =<br />

HORIZONTAL)<br />

Creates ColorLegend instances.<br />

PseudoColorRGB is just referenced, it doesn’t belong to instances <strong>of</strong> this class.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


38 <strong>JWS</strong> Class Documentation<br />

8.9.2.2 <strong>JWS</strong>::ColorLegend::∼ColorLegend () [virtual]<br />

8.9.3 Member Function Documentation<br />

8.9.3.1 void <strong>JWS</strong>::ColorLegend::setDirection (Direction)<br />

Sets the direction for this Legend.<br />

By default, the legend is horizontal<br />

8.9.3.2 void <strong>JWS</strong>::ColorLegend::setPseudoColorRGB (PseudoColorRGB ∗ pc)<br />

8.9.3.3 void <strong>JWS</strong>::ColorLegend::setRange (double min, double max)<br />

The documentation for this class was generated from the following files:<br />

• ColorLegend.h<br />

• ColorLegend.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.10 <strong>JWS</strong>::Computation Class <strong>Reference</strong> 39<br />

8.10 <strong>JWS</strong>::Computation Class <strong>Reference</strong><br />

An abstract computation.<br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Computation::<br />

<strong>JWS</strong>::Computation<br />

<strong>JWS</strong>::AMT <strong>JWS</strong>::NoteDetector <strong>JWS</strong>::OnsetDetector <strong>JWS</strong>::PitchDetector <strong>JWS</strong>::ScoreGenerator <strong>JWS</strong>::STTransform<br />

<strong>JWS</strong>::STACQT <strong>JWS</strong>::STCQT <strong>JWS</strong>::STFCQT <strong>JWS</strong>::STFFT<br />

Public Types<br />

• enum ComputationState { COMPUTATION_INIT, COMPUTATION_CALCULATING,<br />

COMPUTATION_READY }<br />

Public Member Functions<br />

• virtual ∼Computation ()<br />

• void start (bool blocking=false)<br />

Method to start computation.<br />

• virtual double getProgress ()<br />

Returns the progress <strong>of</strong> the calculation.<br />

• void elapseTime ()<br />

Save partial time to list and reset.<br />

• int getNumberOfElapsedTimes ()<br />

• double getElapsedTime (int n)<br />

Get elapsed partial time.<br />

• double getTotalElapsedTime ()<br />

• ComputationState getState ()<br />

Protected Member Functions<br />

• Computation ()<br />

• virtual void doCompute ()=0<br />

Actual computation.<br />

• void setProgress (double progress)<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


40 <strong>JWS</strong> Class Documentation<br />

8.10.1 Detailed Description<br />

An abstract computation.<br />

States:<br />

1. Initial<br />

2. Calculating<br />

3. Ready<br />

A Computation whose progress is 1.0 right from the construction is always Ready<br />

8.10.2 Member Enumeration Documentation<br />

8.10.2.1 enum <strong>JWS</strong>::Computation::ComputationState<br />

Enumeration values:<br />

COMPUTATION_INIT<br />

COMPUTATION_CALCULATING<br />

COMPUTATION_READY<br />

8.10.3 Constructor & Destructor Documentation<br />

8.10.3.1 <strong>JWS</strong>::Computation::∼Computation () [virtual]<br />

8.10.3.2 <strong>JWS</strong>::Computation::Computation () [protected]<br />

8.10.4 Member Function Documentation<br />

8.10.4.1 virtual void <strong>JWS</strong>::Computation::doCompute () [protected, pure virtual]<br />

Actual computation.<br />

Overridden by derived implementation classes. Those must call elapseTime() for every partial computation.<br />

At least once.<br />

Implemented in <strong>JWS</strong>::AMT, <strong>JWS</strong>::NoteDetector, <strong>JWS</strong>::OnsetDetector, <strong>JWS</strong>::PitchDetector,<br />

<strong>JWS</strong>::ScoreGenerator, and <strong>JWS</strong>::STTransform.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.10 <strong>JWS</strong>::Computation Class <strong>Reference</strong> 41<br />

8.10.4.2 void <strong>JWS</strong>::Computation::elapseTime ()<br />

Save partial time to list and reset.<br />

8.10.4.3 double <strong>JWS</strong>::Computation::getElapsedTime (int n)<br />

Get elapsed partial time.<br />

Parameters:<br />

n From [0, getNumberOfTimes() - 1]<br />

Returns:<br />

Partial time in seconds<br />

8.10.4.4 int <strong>JWS</strong>::Computation::getNumberOfElapsedTimes ()<br />

Returns:<br />

Number <strong>of</strong> elapsed partial times.<br />

8.10.4.5 double <strong>JWS</strong>::Computation::getProgress () [virtual]<br />

Returns the progress <strong>of</strong> the calculation.<br />

Returns:<br />

0.0 if calculation is in preparation or after construction when explicit calculation is needed, 1.0 if<br />

calculation is ready, between 0.0 and 1.0 if calculation is in progress<br />

Reimplemented in <strong>JWS</strong>::AMT.<br />

8.10.4.6 <strong>JWS</strong>::Computation::ComputationState <strong>JWS</strong>::Computation::getState ()<br />

8.10.4.7 double <strong>JWS</strong>::Computation::getTotalElapsedTime ()<br />

Returns:<br />

Sum <strong>of</strong> all elapsed partial times.<br />

8.10.4.8 void <strong>JWS</strong>::Computation::setProgress (double progress) [protected]<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


42 <strong>JWS</strong> Class Documentation<br />

8.10.4.9 void <strong>JWS</strong>::Computation::start (bool blocking = false)<br />

Method to start computation.<br />

Can be run only once. Ignored on further invocations.<br />

The calculation is done in a separate thread. During the calculation, the progress can be investigated from<br />

another thread (e.g. the calling thread) by getProgress() which will return 1.0 when ready.<br />

Parameters:<br />

blocking If true, block until READY<br />

The documentation for this class was generated from the following files:<br />

• Computation.h<br />

• Computation.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.11 <strong>JWS</strong>::ComputationView Class <strong>Reference</strong> 43<br />

8.11 <strong>JWS</strong>::ComputationView Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::ComputationView::<br />

<strong>JWS</strong>::View<br />

<strong>JWS</strong>::View2D<br />

<strong>JWS</strong>::ComputationView<br />

<strong>JWS</strong>::AMTView<br />

<strong>JWS</strong>::STTransformView<br />

<strong>JWS</strong>::STACQTView <strong>JWS</strong>::STCQTView <strong>JWS</strong>::STFCQTView <strong>JWS</strong>::STFFTView<br />

Public Member Functions<br />

• bool isDataValid ()<br />

Protected Member Functions<br />

• ComputationView (Computation ∗computation, ScaleType horizontal_scale_type=LINEAR,<br />

ScaleType vertical_scale_type=LINEAR, int width=1, int height=1)<br />

Constructor.<br />

• double getComputationProgress ()<br />

• virtual void getResultSize (int &width, int &height)=0<br />

Returns result matrix size when computation is over.<br />

• void startComputation ()<br />

Starts computation in background and returns immediately.<br />

• virtual void onComputationReady ()<br />

Called after comoputation is ready.<br />

8.11.1 Constructor & Destructor Documentation<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


44 <strong>JWS</strong> Class Documentation<br />

8.11.1.1 <strong>JWS</strong>::ComputationView::ComputationView (Computation ∗ computation, ScaleType<br />

horizontal_scale_type = LINEAR, ScaleType vertical_scale_type = LINEAR, int width = 1,<br />

int height = 1) [protected]<br />

Constructor.<br />

Parameters:<br />

computation Just for reference here. Owned by someone else (derived class).<br />

8.11.2 Member Function Documentation<br />

8.11.2.1 double <strong>JWS</strong>::ComputationView::getComputationProgress () [protected]<br />

Returns:<br />

progress <strong>of</strong> actual computation: 0.0 (start) ... 1.0 (finished)<br />

8.11.2.2 virtual void <strong>JWS</strong>::ComputationView::getResultSize (int & width, int & height)<br />

[protected, pure virtual]<br />

Returns result matrix size when computation is over.<br />

Implemented in <strong>JWS</strong>::AMTView, and <strong>JWS</strong>::STTransformView.<br />

8.11.2.3 bool <strong>JWS</strong>::ComputationView::isDataValid ()<br />

Returns:<br />

true if computation is finished<br />

8.11.2.4 void <strong>JWS</strong>::ComputationView::onComputationReady () [protected, virtual]<br />

Called after comoputation is ready.<br />

Useful to override. Derived classes’ functions should call overridden functions.<br />

Reimplemented in <strong>JWS</strong>::STTransformView.<br />

8.11.2.5 void <strong>JWS</strong>::ComputationView::startComputation () [protected]<br />

Starts computation in background and returns immediately.<br />

The documentation for this class was generated from the following files:<br />

• ComputationView.h<br />

• ComputationView.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.12 <strong>JWS</strong>::CosWindow< T > Class Template <strong>Reference</strong> 45<br />

8.12 <strong>JWS</strong>::CosWindow< T > Class Template <strong>Reference</strong><br />

Cosine shaped windowing function.<br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::CosWindow< T >::<br />

<strong>JWS</strong>::Window< T ><br />

<strong>JWS</strong>::CosWindow< T ><br />

<strong>JWS</strong>::HammingWindow< T > <strong>JWS</strong>::HannWindow< T ><br />

Public Member Functions<br />

• CosWindow (int size, double alpha)<br />

Creates a window object.<br />

• virtual ∼CosWindow ()<br />

• void applyTo (T ∗data)<br />

8.12.1 Detailed Description<br />

template class <strong>JWS</strong>::CosWindow< T ><br />

Cosine shaped windowing function.<br />

8.12.2 Constructor & Destructor Documentation<br />

8.12.2.1 template <strong>JWS</strong>::CosWindow< T >::CosWindow (int size, double alpha)<br />

Creates a window object.<br />

Parameters:<br />

size Number <strong>of</strong> items to process in each run<br />

alpha Factor in windowing formula:<br />

where τ is the window size<br />

w(x, α) = α + (1 − α) cos<br />

(<br />

2π x )<br />

τ<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


46 <strong>JWS</strong> Class Documentation<br />

8.12.2.2 template <strong>JWS</strong>::CosWindow< T >::∼CosWindow () [virtual]<br />

8.12.3 Member Function Documentation<br />

8.12.3.1 template void <strong>JWS</strong>::CosWindow< T >::applyTo (T ∗ data) [virtual]<br />

Parameters:<br />

data In-place data to apply the window function on, the pointer denotes the beginning <strong>of</strong> the window<br />

(sized at instantiation)<br />

Note:<br />

the result is normalized, i.e. the distribution changes, not the probable sum <strong>of</strong> all elements<br />

Implements <strong>JWS</strong>::Window< T >.<br />

The documentation for this class was generated from the following files:<br />

• Window.h<br />

• Window.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.13 <strong>JWS</strong>::CQT Class <strong>Reference</strong> 47<br />

8.13 <strong>JWS</strong>::CQT Class <strong>Reference</strong><br />

#include <br />

Public Member Functions<br />

• CQT (double frequency_lowest, double bands_per_semitone, double rate)<br />

Constructor for a CQT object.<br />

• ∼CQT ()<br />

• void setInput (double ∗input)<br />

Set input array.<br />

• void getOutput (double ∗output) throw (Exception)<br />

Get output array.<br />

• void getOutput (std::complex< double > ∗output) throw (Exception)<br />

Similar to previous one (double version).<br />

• void execute () throw (Exception)<br />

• int getNumberOfBands ()<br />

• int getInputSize ()<br />

8.13.1 Constructor & Destructor Documentation<br />

8.13.1.1 <strong>JWS</strong>::CQT::CQT (double frequency_lowest, double bands_per_semitone, double rate)<br />

Constructor for a CQT object.<br />

Parameters:<br />

frequency_lowest The frequency in Hz to consider in lowest band. This is the real center frequency<br />

<strong>of</strong> the lowest band.<br />

bands_per_semitone Number <strong>of</strong> bands to consider per semitone. there will be this number <strong>of</strong> coefficients<br />

per semitone step.<br />

rate Sampling rate in Hz<br />

8.13.1.2 <strong>JWS</strong>::CQT::∼CQT ()<br />

8.13.2 Member Function Documentation<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


48 <strong>JWS</strong> Class Documentation<br />

8.13.2.1 void <strong>JWS</strong>::CQT::execute () throw (Exception)<br />

8.13.2.2 int <strong>JWS</strong>::CQT::getInputSize ()<br />

Returns:<br />

input size<br />

8.13.2.3 int <strong>JWS</strong>::CQT::getNumberOfBands ()<br />

Returns:<br />

output size<br />

8.13.2.4 void <strong>JWS</strong>::CQT::getOutput (std::complex< double > ∗ output) throw (Exception)<br />

Similar to previous one (double version).<br />

Returns:<br />

Original complex result<br />

8.13.2.5 void <strong>JWS</strong>::CQT::getOutput (double ∗ output) throw (Exception)<br />

Get output array.<br />

Parameters:<br />

output size<br />

8.13.2.6 void <strong>JWS</strong>::CQT::setInput (double ∗ input)<br />

Set input array.<br />

Parameters:<br />

input<br />

The documentation for this class was generated from the following files:<br />

• CQT.h<br />

• CQT.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.14 <strong>JWS</strong>::DoubleBar Class <strong>Reference</strong> 49<br />

8.14 <strong>JWS</strong>::DoubleBar Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::DoubleBar::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::Bar<br />

<strong>JWS</strong>::DoubleBar<br />

Public Member Functions<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

8.14.1 Member Function Documentation<br />

8.14.1.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::DoubleBar::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Reimplemented from <strong>JWS</strong>::Bar.<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


50 <strong>JWS</strong> Class Documentation<br />

8.15 <strong>JWS</strong>::EndBar Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::EndBar::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::Bar<br />

<strong>JWS</strong>::EndBar<br />

Public Member Functions<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

8.15.1 Member Function Documentation<br />

8.15.1.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::EndBar::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Reimplemented from <strong>JWS</strong>::Bar.<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.16 <strong>JWS</strong>::Exception Class <strong>Reference</strong> 51<br />

8.16 <strong>JWS</strong>::Exception Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Exception::<br />

<strong>JWS</strong>::Exception<br />

<strong>JWS</strong>::SoundSourceException<br />

Public Member Functions<br />

• Exception (Glib::ustring i_reason="")<br />

• Glib::ustring reason ()<br />

8.16.1 Constructor & Destructor Documentation<br />

8.16.1.1 <strong>JWS</strong>::Exception::Exception (Glib::ustring i_reason = "") [inline]<br />

8.16.2 Member Function Documentation<br />

8.16.2.1 Glib::ustring <strong>JWS</strong>::Exception::reason () [inline]<br />

The documentation for this class was generated from the following file:<br />

• globals.h<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


52 <strong>JWS</strong> Class Documentation<br />

8.17 <strong>JWS</strong>::FFT Class <strong>Reference</strong><br />

#include <br />

Public Member Functions<br />

• FFT (int n, Window< double > ∗cos_window=0)<br />

Constructor for a FFT object.<br />

• ∼FFT ()<br />

• void setInput (double ∗input)<br />

Set input array.<br />

• void getOutput (double ∗output) throw (Exception)<br />

Get output array.<br />

• void getOutput (std::complex< double > ∗output) throw (Exception)<br />

Similar to previous one (double version).<br />

• void execute () throw (Exception)<br />

8.17.1 Constructor & Destructor Documentation<br />

8.17.1.1 <strong>JWS</strong>::FFT::FFT (int n, Window< double > ∗ cos_window = 0)<br />

Constructor for a FFT object.<br />

Parameters:<br />

n Size <strong>of</strong> the input array<br />

cos_window The window function to apply to local copy <strong>of</strong> input before transforms. Default: Hamming<br />

window<br />

8.17.1.2 <strong>JWS</strong>::FFT::∼FFT ()<br />

8.17.2 Member Function Documentation<br />

8.17.2.1 void <strong>JWS</strong>::FFT::execute () throw (Exception)<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.17 <strong>JWS</strong>::FFT Class <strong>Reference</strong> 53<br />

8.17.2.2 void <strong>JWS</strong>::FFT::getOutput (std::complex< double > ∗ output) throw (Exception)<br />

Similar to previous one (double version).<br />

Returns:<br />

Original complex result<br />

8.17.2.3 void <strong>JWS</strong>::FFT::getOutput (double ∗ output) throw (Exception)<br />

Get output array.<br />

Parameters:<br />

output size: n/2+1 (n, see constructor)<br />

8.17.2.4 void <strong>JWS</strong>::FFT::setInput (double ∗ input)<br />

Set input array.<br />

Parameters:<br />

input size: n (see constructor)<br />

The documentation for this class was generated from the following files:<br />

• FFT.h<br />

• FFT.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


54 <strong>JWS</strong> Class Documentation<br />

8.18 <strong>JWS</strong>::GenerateDialog Class <strong>Reference</strong><br />

#include <br />

Public Member Functions<br />

• virtual ∼GenerateDialog ()<br />

Static Public Member Functions<br />

• GenerateDialog ∗ create ()<br />

Factory method.<br />

Protected Member Functions<br />

• GenerateDialog (BaseObjectType ∗cobject, const Glib::RefPtr< Gnome::Glade::Xml > &ref-<br />

Glade)<br />

Constructor provided to libglademm.<br />

• bool on_delete_event (GdkEventAny ∗event)<br />

Friends<br />

• class Gnome::Glade::Xml<br />

8.18.1 Constructor & Destructor Documentation<br />

8.18.1.1 <strong>JWS</strong>::GenerateDialog::∼GenerateDialog () [virtual]<br />

8.18.1.2 <strong>JWS</strong>::GenerateDialog::GenerateDialog (BaseObjectType ∗ cobject, const Glib::RefPtr<<br />

Gnome::Glade::Xml > & refGlade) [protected]<br />

Constructor provided to libglademm.<br />

8.18.2 Member Function Documentation<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.18 <strong>JWS</strong>::GenerateDialog Class <strong>Reference</strong> 55<br />

8.18.2.1 <strong>JWS</strong>::GenerateDialog ∗ <strong>JWS</strong>::GenerateDialog::create () [static]<br />

Factory method.<br />

GenerateDialog instances should be instantiated via this method.<br />

8.18.2.2 bool <strong>JWS</strong>::GenerateDialog::on_delete_event (GdkEventAny ∗ event) [protected]<br />

8.18.3 Friends And Related Function Documentation<br />

8.18.3.1 friend class Gnome::Glade::Xml [friend]<br />

The documentation for this class was generated from the following files:<br />

• GenerateDialog.h<br />

• GenerateDialog.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


56 <strong>JWS</strong> Class Documentation<br />

8.19 <strong>JWS</strong>::GeoColorRGB Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::GeoColorRGB::<br />

<strong>JWS</strong>::PseudoColorRGB<br />

<strong>JWS</strong>::GeoColorRGB<br />

Public Member Functions<br />

• GeoColorRGB ()<br />

• ∼GeoColorRGB ()<br />

• void lookup (double r, guchar ∗dest)<br />

8.19.1 Constructor & Destructor Documentation<br />

8.19.1.1 <strong>JWS</strong>::GeoColorRGB::GeoColorRGB ()<br />

8.19.1.2 <strong>JWS</strong>::GeoColorRGB::∼GeoColorRGB ()<br />

8.19.2 Member Function Documentation<br />

8.19.2.1 void <strong>JWS</strong>::GeoColorRGB::lookup (double r, guchar ∗ dest) [virtual]<br />

Parameters:<br />

r The input value between 0.0 .. 1.0 resulting guchar triple<br />

Implements <strong>JWS</strong>::PseudoColorRGB.<br />

The documentation for this class was generated from the following files:<br />

• GeoColorRGB.h<br />

• GeoColorRGB.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.20 <strong>JWS</strong>::GtkRuler Class <strong>Reference</strong> 57<br />

8.20 <strong>JWS</strong>::GtkRuler Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::GtkRuler::<br />

<strong>JWS</strong>::Ruler<br />

<strong>JWS</strong>::GtkRuler<br />

Public Member Functions<br />

• virtual void setRange (double start, double end)<br />

Sets the range <strong>of</strong> values inside the visible part <strong>of</strong> this Ruler.<br />

Static Public Member Functions<br />

• GtkRuler ∗ create (double start=0.0, double end=1.0, PositionStrategy ∗position_strategy=0, Scale-<br />

Strategy ∗scale_strategy=0, Order order=ASCENDING)<br />

• GtkRuler ∗ create (const Glib::RefPtr< Gnome::Glade::Xml > &ref_glade, const Glib::ustring<br />

&name, double start=0.0, double end=1.0, PositionStrategy ∗position_strategy=0, ScaleStrategy<br />

∗scale_strategy=0, Order order=ASCENDING)<br />

Protected Member Functions<br />

• GtkRuler (double start=0.0, double end=1.0, PositionStrategy ∗position_strategy=0, ScaleStrategy<br />

∗scale_strategy=0, Order order=ASCENDING)<br />

Normal constructor.<br />

• GtkRuler (BaseObjectType ∗cobject, const Glib::RefPtr< Gnome::Glade::Xml > &ref_glade)<br />

Constructor with Glade support (for get_widget_derived).<br />

• virtual void drawMarkingLeft (std::deque< Mark ∗ > ∗marks_list)<br />

• virtual void drawMarkingRight (std::deque< Mark ∗ > ∗marks_list)<br />

• virtual void drawMarkingTop (std::deque< Mark ∗ > ∗marks_list)<br />

• virtual void drawMarkingBottom (std::deque< Mark ∗ > ∗marks_list)<br />

• virtual double getLineDistanceHorizontal ()<br />

• virtual double getLineDistanceVertical ()<br />

• virtual double getTextExtentHorizontal (Glib::ustring text)<br />

• virtual double getTextExtentVertical (Glib::ustring text)<br />

• virtual void initPositionLeft ()<br />

• virtual void initPositionRight ()<br />

• virtual void initPositionTop ()<br />

• virtual void initPositionBottom ()<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


58 <strong>JWS</strong> Class Documentation<br />

Friends<br />

• class Gnome::Glade::Xml<br />

8.20.1 Constructor & Destructor Documentation<br />

8.20.1.1 <strong>JWS</strong>::GtkRuler::GtkRuler (double start = 0.0, double end = 1.0, PositionStrategy ∗<br />

position_strategy = 0, ScaleStrategy ∗ scale_strategy = 0, Order order = ASCENDING)<br />

[protected]<br />

Normal constructor.<br />

See <strong>JWS</strong>::Ruler<br />

8.20.1.2 <strong>JWS</strong>::GtkRuler::GtkRuler (BaseObjectType ∗ cobject, const Glib::RefPtr<<br />

Gnome::Glade::Xml > & ref_glade) [protected]<br />

Constructor with Glade support (for get_widget_derived).<br />

8.20.2 Member Function Documentation<br />

8.20.2.1 <strong>JWS</strong>::GtkRuler ∗ <strong>JWS</strong>::GtkRuler::create (const Glib::RefPtr< Gnome::Glade::Xml<br />

> & ref_glade, const Glib::ustring & name, double start = 0.0, double end = 1.0,<br />

PositionStrategy ∗ position_strategy = 0, ScaleStrategy ∗ scale_strategy = 0, Order order =<br />

ASCENDING) [static]<br />

8.20.2.2 <strong>JWS</strong>::GtkRuler ∗ <strong>JWS</strong>::GtkRuler::create (double start = 0.0, double end = 1.0,<br />

PositionStrategy ∗ position_strategy = 0, ScaleStrategy ∗ scale_strategy = 0, Order order =<br />

ASCENDING) [static]<br />

8.20.2.3 void <strong>JWS</strong>::GtkRuler::drawMarkingBottom (std::deque< Mark ∗ > ∗ marks_list)<br />

[protected, virtual]<br />

Implements <strong>JWS</strong>::Ruler.<br />

8.20.2.4 void <strong>JWS</strong>::GtkRuler::drawMarkingLeft (std::deque< Mark ∗ > ∗ marks_list)<br />

[protected, virtual]<br />

Implements <strong>JWS</strong>::Ruler.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.20 <strong>JWS</strong>::GtkRuler Class <strong>Reference</strong> 59<br />

8.20.2.5 void <strong>JWS</strong>::GtkRuler::drawMarkingRight (std::deque< Mark ∗ > ∗ marks_list)<br />

[protected, virtual]<br />

Implements <strong>JWS</strong>::Ruler.<br />

8.20.2.6 void <strong>JWS</strong>::GtkRuler::drawMarkingTop (std::deque< Mark ∗ > ∗ marks_list)<br />

[protected, virtual]<br />

Implements <strong>JWS</strong>::Ruler.<br />

8.20.2.7 double <strong>JWS</strong>::GtkRuler::getLineDistanceHorizontal () [protected, virtual]<br />

Implements <strong>JWS</strong>::Ruler.<br />

8.20.2.8 double <strong>JWS</strong>::GtkRuler::getLineDistanceVertical () [protected, virtual]<br />

Implements <strong>JWS</strong>::Ruler.<br />

8.20.2.9 double <strong>JWS</strong>::GtkRuler::getTextExtentHorizontal (Glib::ustring text) [protected,<br />

virtual]<br />

Implements <strong>JWS</strong>::Ruler.<br />

8.20.2.10 double <strong>JWS</strong>::GtkRuler::getTextExtentVertical (Glib::ustring text) [protected,<br />

virtual]<br />

Implements <strong>JWS</strong>::Ruler.<br />

8.20.2.11 void <strong>JWS</strong>::GtkRuler::initPositionBottom () [protected, virtual]<br />

Implements <strong>JWS</strong>::Ruler.<br />

8.20.2.12 void <strong>JWS</strong>::GtkRuler::initPositionLeft () [protected, virtual]<br />

Implements <strong>JWS</strong>::Ruler.<br />

8.20.2.13 void <strong>JWS</strong>::GtkRuler::initPositionRight () [protected, virtual]<br />

Implements <strong>JWS</strong>::Ruler.<br />

8.20.2.14 void <strong>JWS</strong>::GtkRuler::initPositionTop () [protected, virtual]<br />

Implements <strong>JWS</strong>::Ruler.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


60 <strong>JWS</strong> Class Documentation<br />

8.20.2.15 void <strong>JWS</strong>::GtkRuler::setRange (double start, double end) [virtual]<br />

Sets the range <strong>of</strong> values inside the visible part <strong>of</strong> this Ruler.<br />

This method will redraw the ruler if the specified values changed.<br />

Parameters:<br />

start Value <strong>of</strong> first pixel <strong>of</strong> Ruler<br />

end Value <strong>of</strong> last pixel <strong>of</strong> Ruler<br />

Reimplemented from <strong>JWS</strong>::Ruler.<br />

8.20.3 Friends And Related Function Documentation<br />

8.20.3.1 friend class Gnome::Glade::Xml [friend]<br />

The documentation for this class was generated from the following files:<br />

• GtkRuler.h<br />

• GtkRuler.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.21 <strong>JWS</strong>::HammingWindow< T > Class Template <strong>Reference</strong> 61<br />

8.21 <strong>JWS</strong>::HammingWindow< T > Class Template <strong>Reference</strong><br />

A Hamming Window specialization.<br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::HammingWindow< T >::<br />

<strong>JWS</strong>::Window< T ><br />

<strong>JWS</strong>::CosWindow< T ><br />

<strong>JWS</strong>::HammingWindow< T ><br />

Public Member Functions<br />

• HammingWindow (int size)<br />

8.21.1 Detailed Description<br />

template class <strong>JWS</strong>::HammingWindow< T ><br />

A Hamming Window specialization.<br />

8.21.2 Constructor & Destructor Documentation<br />

8.21.2.1 template <strong>JWS</strong>::HammingWindow< T >::HammingWindow (int size)<br />

[inline]<br />

The documentation for this class was generated from the following file:<br />

• Window.h<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


62 <strong>JWS</strong> Class Documentation<br />

8.22 <strong>JWS</strong>::HannWindow< T > Class Template <strong>Reference</strong><br />

A Hann Window specialization.<br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::HannWindow< T >::<br />

<strong>JWS</strong>::Window< T ><br />

<strong>JWS</strong>::CosWindow< T ><br />

<strong>JWS</strong>::HannWindow< T ><br />

Public Member Functions<br />

• HannWindow (int size)<br />

8.22.1 Detailed Description<br />

template class <strong>JWS</strong>::HannWindow< T ><br />

A Hann Window specialization.<br />

8.22.2 Constructor & Destructor Documentation<br />

8.22.2.1 template <strong>JWS</strong>::HannWindow< T >::HannWindow (int size) [inline]<br />

The documentation for this class was generated from the following file:<br />

• Window.h<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.23 <strong>JWS</strong>::InstrumentSoundGenerator Class <strong>Reference</strong> 63<br />

8.23 <strong>JWS</strong>::InstrumentSoundGenerator Class <strong>Reference</strong><br />

Model <strong>of</strong> Instrument with partials.<br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::InstrumentSoundGenerator::<br />

<strong>JWS</strong>::SoundSource<br />

<strong>JWS</strong>::SoundGenerator<br />

<strong>JWS</strong>::InstrumentSoundGenerator<br />

Public Member Functions<br />

• InstrumentSoundGenerator (double size, double frequency, ScaleType decrease, int partials, double<br />

last_factor)<br />

Constructor.<br />

• virtual SoundSource ∗ copy ()<br />

A polymorphic copy constructor.<br />

• virtual int read (int max_frames, double ∗samples) throw (SoundSourceException)<br />

Read the specified number <strong>of</strong> frames from this source.<br />

• virtual Glib::ustring getName ()<br />

Returns the name <strong>of</strong> this SoundSource, e.g.<br />

8.23.1 Detailed Description<br />

Model <strong>of</strong> Instrument with partials.<br />

8.23.2 Constructor & Destructor Documentation<br />

8.23.2.1 <strong>JWS</strong>::InstrumentSoundGenerator::InstrumentSoundGenerator (double size, double<br />

frequency, ScaleType decrease, int partials, double last_factor)<br />

Constructor.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


64 <strong>JWS</strong> Class Documentation<br />

Parameters:<br />

size Length in seconds<br />

decrease LINEAR or EXPONENTIAL<br />

partials Number <strong>of</strong> partials to create<br />

last_factor Ratio <strong>of</strong> amplitude <strong>of</strong> last partial to f0<br />

8.23.3 Member Function Documentation<br />

8.23.3.1 <strong>JWS</strong>::SoundSource ∗ <strong>JWS</strong>::InstrumentSoundGenerator::copy () [virtual]<br />

A polymorphic copy constructor.<br />

Implemented easily by providing an appropriate individual copy constructor and returning a new instance<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.23.3.2 Glib::ustring <strong>JWS</strong>::InstrumentSoundGenerator::getName () [virtual]<br />

Returns the name <strong>of</strong> this SoundSource, e.g.<br />

a file name<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.23.3.3 int <strong>JWS</strong>::InstrumentSoundGenerator::read (int max_frames, double ∗ samples) throw<br />

(SoundSourceException) [virtual]<br />

Read the specified number <strong>of</strong> frames from this source.<br />

Parameters:<br />

max_frames The number <strong>of</strong> samples to read. The number actually read can be smaller and will be<br />

returned by this method<br />

samples The buffer where individual samples should be stored. Needs (max_frames ∗ channels) times<br />

the size <strong>of</strong> a double <strong>of</strong> allocated memory<br />

Returns:<br />

The number <strong>of</strong> frames actually read<br />

Implements <strong>JWS</strong>::SoundSource.<br />

The documentation for this class was generated from the following files:<br />

• SoundGenerator.h<br />

• SoundGenerator.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.24 <strong>JWS</strong>::InvisibleRest Class <strong>Reference</strong> 65<br />

8.24 <strong>JWS</strong>::InvisibleRest Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::InvisibleRest::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::TemporalScoreElement<br />

<strong>JWS</strong>::InvisibleRest<br />

Public Member Functions<br />

• InvisibleRest (double length)<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

8.24.1 Constructor & Destructor Documentation<br />

8.24.1.1 <strong>JWS</strong>::InvisibleRest::InvisibleRest (double length)<br />

8.24.2 Member Function Documentation<br />

8.24.2.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::InvisibleRest::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Implements <strong>JWS</strong>::ScoreElement.<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


66 <strong>JWS</strong> Class Documentation<br />

8.25 <strong>JWS</strong>::KeySignature Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::KeySignature::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::VoiceAttribute<br />

<strong>JWS</strong>::KeySignature<br />

Public Member Functions<br />

• KeySignature (int keysignature)<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

• void setKey (int key)<br />

• int getKey ()<br />

8.25.1 Constructor & Destructor Documentation<br />

8.25.1.1 <strong>JWS</strong>::KeySignature::KeySignature (int keysignature)<br />

8.25.2 Member Function Documentation<br />

8.25.2.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::KeySignature::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Implements <strong>JWS</strong>::ScoreElement.<br />

8.25.2.2 int <strong>JWS</strong>::KeySignature::getKey ()<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.25 <strong>JWS</strong>::KeySignature Class <strong>Reference</strong> 67<br />

8.25.2.3 void <strong>JWS</strong>::KeySignature::setKey (int key)<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


68 <strong>JWS</strong> Class Documentation<br />

8.26 <strong>JWS</strong>::LegatoEnd Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::LegatoEnd::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::Accentuation<br />

<strong>JWS</strong>::LegatoEnd<br />

Public Member Functions<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

8.26.1 Member Function Documentation<br />

8.26.1.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::LegatoEnd::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Implements <strong>JWS</strong>::ScoreElement.<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.27 <strong>JWS</strong>::LegatoStart Class <strong>Reference</strong> 69<br />

8.27 <strong>JWS</strong>::LegatoStart Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::LegatoStart::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::Accentuation<br />

<strong>JWS</strong>::LegatoStart<br />

Public Member Functions<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

8.27.1 Member Function Documentation<br />

8.27.1.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::LegatoStart::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Implements <strong>JWS</strong>::ScoreElement.<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


70 <strong>JWS</strong> Class Documentation<br />

8.28 <strong>JWS</strong>::Measure Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Measure::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::ScoreElementList<br />

<strong>JWS</strong>::Measure<br />

Public Member Functions<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

8.28.1 Member Function Documentation<br />

8.28.1.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::Measure::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Reimplemented from <strong>JWS</strong>::ScoreElementList.<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.29 <strong>JWS</strong>::MixedSource Class <strong>Reference</strong> 71<br />

8.29 <strong>JWS</strong>::MixedSource Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::MixedSource::<br />

<strong>JWS</strong>::SoundSource<br />

<strong>JWS</strong>::MixedSource<br />

Public Member Functions<br />

• MixedSource (SoundSource ∗source)<br />

• MixedSource (const MixedSource &)<br />

• virtual ∼MixedSource ()<br />

• virtual SoundSource ∗ copy ()<br />

A polymorphic copy constructor.<br />

• virtual void open () throw (SoundSourceException)<br />

Opens the Source.<br />

• virtual void close () throw (SoundSourceException)<br />

Closes a Source.<br />

• virtual bool isOpen ()<br />

• virtual void seek (int pos, int mode) throw (SoundSourceException)<br />

Set SoundSource position.<br />

• virtual int read (int max_frames, double ∗samples) throw (SoundSourceException)<br />

Read the specified number <strong>of</strong> frames from this source.<br />

• virtual int channels ()<br />

Returns the number <strong>of</strong> channels <strong>of</strong> this SoundSource.<br />

• virtual int rate ()<br />

Returns the sampling rate <strong>of</strong> this SoundSource, e.g.<br />

• virtual bool e<strong>of</strong> ()<br />

Returns true iff current file position is at end <strong>of</strong> SoundSource.<br />

• virtual int size ()<br />

Returns the number <strong>of</strong> frames in this SoundSource.<br />

• virtual Glib::ustring getName ()<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


72 <strong>JWS</strong> Class Documentation<br />

Returns the name <strong>of</strong> this SoundSource, e.g.<br />

• virtual int getPos ()<br />

Returns the current file position.<br />

8.29.1 Constructor & Destructor Documentation<br />

8.29.1.1 <strong>JWS</strong>::MixedSource::MixedSource (SoundSource ∗ source)<br />

8.29.1.2 <strong>JWS</strong>::MixedSource::MixedSource (const MixedSource &)<br />

8.29.1.3 <strong>JWS</strong>::MixedSource::∼MixedSource () [virtual]<br />

8.29.2 Member Function Documentation<br />

8.29.2.1 int <strong>JWS</strong>::MixedSource::channels () [virtual]<br />

Returns the number <strong>of</strong> channels <strong>of</strong> this SoundSource.<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.29.2.2 void <strong>JWS</strong>::MixedSource::close () throw (SoundSourceException) [virtual]<br />

Closes a Source.<br />

Nothing will be done if the Source object is not open.<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.29.2.3 <strong>JWS</strong>::SoundSource ∗ <strong>JWS</strong>::MixedSource::copy () [virtual]<br />

A polymorphic copy constructor.<br />

Implemented easily by providing an appropriate individual copy constructor and returning a new instance<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.29.2.4 bool <strong>JWS</strong>::MixedSource::e<strong>of</strong> () [virtual]<br />

Returns true iff current file position is at end <strong>of</strong> SoundSource.<br />

SoundSource must be open first.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.29 <strong>JWS</strong>::MixedSource Class <strong>Reference</strong> 73<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.29.2.5 Glib::ustring <strong>JWS</strong>::MixedSource::getName () [virtual]<br />

Returns the name <strong>of</strong> this SoundSource, e.g.<br />

a file name<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.29.2.6 int <strong>JWS</strong>::MixedSource::getPos () [virtual]<br />

Returns the current file position.<br />

SoundSource must be open first.<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.29.2.7 bool <strong>JWS</strong>::MixedSource::isOpen () [virtual]<br />

Returns:<br />

true if the SoundSource is open<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.29.2.8 void <strong>JWS</strong>::MixedSource::open () throw (SoundSourceException) [virtual]<br />

Opens the Source.<br />

Must be called before any other methods on an instance <strong>of</strong> this class. If called on an already open object,<br />

nothing will be done.<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.29.2.9 int <strong>JWS</strong>::MixedSource::rate () [virtual]<br />

Returns the sampling rate <strong>of</strong> this SoundSource, e.g.<br />

44100 (in Hz).<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.29.2.10 int <strong>JWS</strong>::MixedSource::read (int max_frames, double ∗ samples) throw<br />

(SoundSourceException) [virtual]<br />

Read the specified number <strong>of</strong> frames from this source.<br />

Parameters:<br />

max_frames The number <strong>of</strong> samples to read. The number actually read can be smaller and will be<br />

returned by this method<br />

samples The buffer where individual samples should be stored. Needs (max_frames ∗ channels) times<br />

the size <strong>of</strong> a double <strong>of</strong> allocated memory<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


74 <strong>JWS</strong> Class Documentation<br />

Returns:<br />

The number <strong>of</strong> frames actually read<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.29.2.11 void <strong>JWS</strong>::MixedSource::seek (int pos, int mode) throw (SoundSourceException)<br />

[virtual]<br />

Set SoundSource position.<br />

Sets the pointer in this SoundSource where the next ordinary read operation will be performed from (in<br />

frames).<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.29.2.12 int <strong>JWS</strong>::MixedSource::size () [virtual]<br />

Returns the number <strong>of</strong> frames in this SoundSource.<br />

SoundSource must be open first.<br />

Implements <strong>JWS</strong>::SoundSource.<br />

The documentation for this class was generated from the following files:<br />

• MixedSource.h<br />

• MixedSource.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.30 <strong>JWS</strong>::Note Class <strong>Reference</strong> 75<br />

8.30 <strong>JWS</strong>::Note Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Note::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::TemporalScoreElement<br />

<strong>JWS</strong>::Note<br />

Public Member Functions<br />

• Note (Pitch pitch, double length)<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

• void setPitch (Pitch pitch)<br />

Set musical pitch.<br />

• Pitch getPitch ()<br />

Get musical pitch.<br />

8.30.1 Constructor & Destructor Documentation<br />

8.30.1.1 <strong>JWS</strong>::Note::Note (Pitch pitch, double length)<br />

8.30.2 Member Function Documentation<br />

8.30.2.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::Note::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Implements <strong>JWS</strong>::ScoreElement.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


76 <strong>JWS</strong> Class Documentation<br />

8.30.2.2 <strong>JWS</strong>::Pitch <strong>JWS</strong>::Note::getPitch ()<br />

Get musical pitch.<br />

8.30.2.3 void <strong>JWS</strong>::Note::setPitch (Pitch pitch)<br />

Set musical pitch.<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.31 <strong>JWS</strong>::NoteDetector Class <strong>Reference</strong> 77<br />

8.31 <strong>JWS</strong>::NoteDetector Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::NoteDetector::<br />

<strong>JWS</strong>::Computation<br />

<strong>JWS</strong>::NoteDetector<br />

Public Member Functions<br />

• NoteDetector (OnsetDetector ∗onset_detector)<br />

Constructor.<br />

• ∼NoteDetector ()<br />

• int getKey ()<br />

• double getTatum ()<br />

• double adjustToNoteLength (double length)<br />

Rounds to closest considered note length.<br />

• double getTatumNoteLength ()<br />

• ScoreElementList & getNoteList ()<br />

• void getTimeSignature (int &numerator, int &denominator)<br />

• double getStartInMeasure ()<br />

• Clef getClef ()<br />

return the clef for this part<br />

Protected Member Functions<br />

• virtual void doCompute ()<br />

Actual computation.<br />

8.31.1 Constructor & Destructor Documentation<br />

8.31.1.1 <strong>JWS</strong>::NoteDetector::NoteDetector (OnsetDetector ∗ onset_detector)<br />

Constructor.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


78 <strong>JWS</strong> Class Documentation<br />

Parameters:<br />

onset_detector The onset_detector whose already computed result is utilized to compute the notes,<br />

owned by someone else (deleted there)<br />

8.31.1.2 <strong>JWS</strong>::NoteDetector::∼NoteDetector ()<br />

8.31.2 Member Function Documentation<br />

8.31.2.1 double <strong>JWS</strong>::NoteDetector::adjustToNoteLength (double length)<br />

Rounds to closest considered note length.<br />

Parameters:<br />

Length to adjust, e.g. 0.4812<br />

Returns:<br />

adjusted length, e.g. 0.5 for half note<br />

8.31.2.2 void <strong>JWS</strong>::NoteDetector::doCompute () [protected, virtual]<br />

Actual computation.<br />

Overridden by derived implementation classes. Those must call elapseTime() for every partial computation.<br />

At least once.<br />

Implements <strong>JWS</strong>::Computation.<br />

8.31.2.3 <strong>JWS</strong>::Clef <strong>JWS</strong>::NoteDetector::getClef ()<br />

return the clef for this part<br />

8.31.2.4 int <strong>JWS</strong>::NoteDetector::getKey ()<br />

Returns:<br />

computed key, doCompute() should be run first<br />

8.31.2.5 <strong>JWS</strong>::ScoreElementList & <strong>JWS</strong>::NoteDetector::getNoteList ()<br />

Returns:<br />

basic linear score representation computed by NoteDetector<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.31 <strong>JWS</strong>::NoteDetector Class <strong>Reference</strong> 79<br />

8.31.2.6 double <strong>JWS</strong>::NoteDetector::getStartInMeasure ()<br />

Returns:<br />

musical distance where very first note starts in first measure. e.g. 0.0 for beginning, 0.5 for after half<br />

rest<br />

8.31.2.7 double <strong>JWS</strong>::NoteDetector::getTatum ()<br />

Returns:<br />

tatum (time quantum), doCompute() should be run first<br />

8.31.2.8 double <strong>JWS</strong>::NoteDetector::getTatumNoteLength ()<br />

Returns:<br />

shortest note length present in the result<br />

8.31.2.9 void <strong>JWS</strong>::NoteDetector::getTimeSignature (int & numerator, int & denominator)<br />

Returns:<br />

Time signature<br />

The documentation for this class was generated from the following files:<br />

• NoteDetector.h<br />

• NoteDetector.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


80 <strong>JWS</strong> Class Documentation<br />

8.32 <strong>JWS</strong>::Onset Class <strong>Reference</strong><br />

#include <br />

Public Member Functions<br />

• Onset (double start_time=0.0, Pitch pitch=Pitch(), double length=0.0, double amplitude=0.0)<br />

• double getStartTime ()<br />

• void setStartTime (double start_time)<br />

• double getLength ()<br />

• void setLength (double length)<br />

• Pitch getPitch ()<br />

• void setPitch (Pitch pitch)<br />

• double getAmplitude ()<br />

• void setAmplitude (double amplitude)<br />

8.32.1 Constructor & Destructor Documentation<br />

8.32.1.1 <strong>JWS</strong>::Onset::Onset (double start_time = 0.0, Pitch pitch = Pitch(), double length =<br />

0.0, double amplitude = 0.0)<br />

8.32.2 Member Function Documentation<br />

8.32.2.1 double <strong>JWS</strong>::Onset::getAmplitude ()<br />

8.32.2.2 double <strong>JWS</strong>::Onset::getLength ()<br />

8.32.2.3 <strong>JWS</strong>::Pitch <strong>JWS</strong>::Onset::getPitch ()<br />

8.32.2.4 double <strong>JWS</strong>::Onset::getStartTime ()<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.32 <strong>JWS</strong>::Onset Class <strong>Reference</strong> 81<br />

8.32.2.5 void <strong>JWS</strong>::Onset::setAmplitude (double amplitude)<br />

8.32.2.6 void <strong>JWS</strong>::Onset::setLength (double length)<br />

8.32.2.7 void <strong>JWS</strong>::Onset::setPitch (Pitch pitch)<br />

8.32.2.8 void <strong>JWS</strong>::Onset::setStartTime (double start_time)<br />

The documentation for this class was generated from the following files:<br />

• Onset.h<br />

• Onset.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


82 <strong>JWS</strong> Class Documentation<br />

8.33 <strong>JWS</strong>::OnsetDetector Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::OnsetDetector::<br />

<strong>JWS</strong>::Computation<br />

<strong>JWS</strong>::OnsetDetector<br />

Public Member Functions<br />

• OnsetDetector (PitchDetector ∗pitch_detector)<br />

Constructor.<br />

• std::list< Onset > & getOnsets ()<br />

• double getMaxAmplitude ()<br />

Protected Member Functions<br />

• virtual void doCompute ()<br />

Actual computation.<br />

8.33.1 Constructor & Destructor Documentation<br />

8.33.1.1 <strong>JWS</strong>::OnsetDetector::OnsetDetector (PitchDetector ∗ pitch_detector)<br />

Constructor.<br />

Parameters:<br />

pitch_detector The pitch_detector whose already computed result is utilized to compute the onsets/<strong>of</strong>fsets,<br />

owned by someone else (deleted there)<br />

8.33.2 Member Function Documentation<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.33 <strong>JWS</strong>::OnsetDetector Class <strong>Reference</strong> 83<br />

8.33.2.1 void <strong>JWS</strong>::OnsetDetector::doCompute () [protected, virtual]<br />

Actual computation.<br />

Overridden by derived implementation classes. Those must call elapseTime() for every partial computation.<br />

At least once.<br />

Implements <strong>JWS</strong>::Computation.<br />

8.33.2.2 double <strong>JWS</strong>::OnsetDetector::getMaxAmplitude ()<br />

8.33.2.3 std::list< <strong>JWS</strong>::Onset > & <strong>JWS</strong>::OnsetDetector::getOnsets ()<br />

The documentation for this class was generated from the following files:<br />

• OnsetDetector.h<br />

• OnsetDetector.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


84 <strong>JWS</strong> Class Documentation<br />

8.34 <strong>JWS</strong>::Pitch Class <strong>Reference</strong><br />

#include <br />

Public Member Functions<br />

• Pitch (double frequency=440.0, double tuning=440.0, int key=0)<br />

• Pitch (int midi_note, double tuning=440.0, int key=0)<br />

• double getFrequency ()<br />

• int getMidiPitch ()<br />

• void setTuning (double tuning)<br />

Set frequency <strong>of</strong> middle A in Hz, default: 440 Hz.<br />

• double getTuning ()<br />

• void setKey (int key)<br />

Sets key, default: 0 == C.<br />

• int getKey ()<br />

• int getNoteInOctave ()<br />

• int getOctave ()<br />

• Glib::ustring getFullName ()<br />

• char getName ()<br />

• int getAccidentals ()<br />

• void transpose (int difference)<br />

Transpose specified number <strong>of</strong> semitones, changes key.<br />

8.34.1 Constructor & Destructor Documentation<br />

8.34.1.1 <strong>JWS</strong>::Pitch::Pitch (double frequency = 440.0, double tuning = 440.0, int key = 0)<br />

8.34.1.2 <strong>JWS</strong>::Pitch::Pitch (int midi_note, double tuning = 440.0, int key = 0)<br />

8.34.2 Member Function Documentation<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.34 <strong>JWS</strong>::Pitch Class <strong>Reference</strong> 85<br />

8.34.2.1 int <strong>JWS</strong>::Pitch::getAccidentals ()<br />

Returns:<br />

list <strong>of</strong> accidentals, positive for number <strong>of</strong> sharps, negative for number <strong>of</strong> flats<br />

8.34.2.2 double <strong>JWS</strong>::Pitch::getFrequency ()<br />

8.34.2.3 Glib::ustring <strong>JWS</strong>::Pitch::getFullName ()<br />

Returns:<br />

Full name: e.g. a, b, bb, d#, etc.<br />

8.34.2.4 int <strong>JWS</strong>::Pitch::getKey ()<br />

8.34.2.5 int <strong>JWS</strong>::Pitch::getMidiPitch ()<br />

8.34.2.6 char <strong>JWS</strong>::Pitch::getName ()<br />

Returns:<br />

Base name: a, b, c, d, e, f, g (without accidental)<br />

8.34.2.7 int <strong>JWS</strong>::Pitch::getNoteInOctave ()<br />

Returns:<br />

Number <strong>of</strong> note in octave: c=0, c#=1, d=2, ...<br />

8.34.2.8 int <strong>JWS</strong>::Pitch::getOctave ()<br />

Returns:<br />

Number <strong>of</strong> octave, in MIDI dimensions, -1 is the first octave<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


86 <strong>JWS</strong> Class Documentation<br />

8.34.2.9 double <strong>JWS</strong>::Pitch::getTuning ()<br />

8.34.2.10 void <strong>JWS</strong>::Pitch::setKey (int key)<br />

Sets key, default: 0 == C.<br />

Parameters:<br />

key 0 == C, 1 == G, 2 == D, -1 == F, ...<br />

8.34.2.11 void <strong>JWS</strong>::Pitch::setTuning (double tuning)<br />

Set frequency <strong>of</strong> middle A in Hz, default: 440 Hz.<br />

8.34.2.12 void <strong>JWS</strong>::Pitch::transpose (int difference)<br />

Transpose specified number <strong>of</strong> semitones, changes key.<br />

Parameters:<br />

difference Number <strong>of</strong> semitones<br />

The documentation for this class was generated from the following files:<br />

• Pitch.h<br />

• Pitch.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.35 <strong>JWS</strong>::PitchDetector Class <strong>Reference</strong> 87<br />

8.35 <strong>JWS</strong>::PitchDetector Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::PitchDetector::<br />

<strong>JWS</strong>::Computation<br />

<strong>JWS</strong>::PitchDetector<br />

Public Member Functions<br />

• PitchDetector (STTransform ∗transform, int pitches_per_time, double frequency_A=440.0)<br />

Constructor.<br />

• ∼PitchDetector ()<br />

• double getCoefficient (int time, int band)<br />

Returns coefficients from the covolution matrix whose size is the same as that <strong>of</strong> the underlying transform.<br />

• double getMatrixMax ()<br />

Returns maximum from matrix.<br />

• int getLowestConsideredBand ()<br />

• int getLowestConsideredPitch ()<br />

• int getHighestConsideredPitch ()<br />

• int getNumberOfConsideredPitches ()<br />

• double getPitchAmplitude (int time, int midi_pitch)<br />

• double getPitchAmplitudeMax ()<br />

• std::vector< std::pair< Pitch, double > > & getProminents (int time)<br />

• double getTime (int time)<br />

• double getTimeSpacing ()<br />

• int getNumberOfTimes ()<br />

Protected Member Functions<br />

• virtual void doCompute ()<br />

Actual computation.<br />

8.35.1 Constructor & Destructor Documentation<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


88 <strong>JWS</strong> Class Documentation<br />

8.35.1.1 <strong>JWS</strong>::PitchDetector::PitchDetector (STTransform ∗ transform, int pitches_per_time,<br />

double frequency_A = 440.0)<br />

Constructor.<br />

Parameters:<br />

transform The transform, owned by someone else (deleted there) Also made from source and already<br />

computed<br />

pitchs_per_time Number <strong>of</strong> pitches to detect for single discrete time<br />

8.35.1.2 <strong>JWS</strong>::PitchDetector::∼PitchDetector ()<br />

8.35.2 Member Function Documentation<br />

8.35.2.1 void <strong>JWS</strong>::PitchDetector::doCompute () [protected, virtual]<br />

Actual computation.<br />

Overridden by derived implementation classes. Those must call elapseTime() for every partial computation.<br />

At least once.<br />

Implements <strong>JWS</strong>::Computation.<br />

8.35.2.2 double <strong>JWS</strong>::PitchDetector::getCoefficient (int time, int band)<br />

Returns coefficients from the covolution matrix whose size is the same as that <strong>of</strong> the underlying transform.<br />

Available only after doCompute finished.<br />

8.35.2.3 int <strong>JWS</strong>::PitchDetector::getHighestConsideredPitch ()<br />

Returns:<br />

highest considered MIDI pitch<br />

8.35.2.4 int <strong>JWS</strong>::PitchDetector::getLowestConsideredBand ()<br />

Returns:<br />

lowest band (from STTransform) considered in pitch detection<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.35 <strong>JWS</strong>::PitchDetector Class <strong>Reference</strong> 89<br />

8.35.2.5 int <strong>JWS</strong>::PitchDetector::getLowestConsideredPitch ()<br />

Returns:<br />

lowest considered MIDI pitch<br />

8.35.2.6 double <strong>JWS</strong>::PitchDetector::getMatrixMax ()<br />

Returns maximum from matrix.<br />

8.35.2.7 int <strong>JWS</strong>::PitchDetector::getNumberOfConsideredPitches ()<br />

Returns:<br />

number <strong>of</strong> considered MIDI pitches<br />

8.35.2.8 int <strong>JWS</strong>::PitchDetector::getNumberOfTimes ()<br />

8.35.2.9 double <strong>JWS</strong>::PitchDetector::getPitchAmplitude (int time, int midi_pitch)<br />

Parameters:<br />

time Discrete time from which to take amplitude<br />

midi_pitch MIDI pitch<br />

Returns:<br />

Amplitude <strong>of</strong> specified pitch at specified time<br />

8.35.2.10 double <strong>JWS</strong>::PitchDetector::getPitchAmplitudeMax ()<br />

Returns:<br />

maximum <strong>of</strong> midi pitch amplitudes<br />

8.35.2.11 std::vector< std::pair< <strong>JWS</strong>::Pitch, double > > & <strong>JWS</strong>::PitchDetector::getProminents<br />

(int time)<br />

8.35.2.12 double <strong>JWS</strong>::PitchDetector::getTime (int time)<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


90 <strong>JWS</strong> Class Documentation<br />

8.35.2.13 double <strong>JWS</strong>::PitchDetector::getTimeSpacing ()<br />

The documentation for this class was generated from the following files:<br />

• PitchDetector.h<br />

• PitchDetector.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.36 <strong>JWS</strong>::Portato Class <strong>Reference</strong> 91<br />

8.36 <strong>JWS</strong>::Portato Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Portato::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::Accentuation<br />

<strong>JWS</strong>::Portato<br />

Public Member Functions<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

8.36.1 Member Function Documentation<br />

8.36.1.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::Portato::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Implements <strong>JWS</strong>::ScoreElement.<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


92 <strong>JWS</strong> Class Documentation<br />

8.37 <strong>JWS</strong>::PseudoColorRGB Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::PseudoColorRGB::<br />

<strong>JWS</strong>::PseudoColorRGB<br />

<strong>JWS</strong>::BWColorRGB<br />

<strong>JWS</strong>::GeoColorRGB<br />

Public Member Functions<br />

• virtual ∼PseudoColorRGB ()<br />

• virtual void lookup (double r, guchar ∗dest)=0<br />

8.37.1 Constructor & Destructor Documentation<br />

8.37.1.1 virtual <strong>JWS</strong>::PseudoColorRGB::∼PseudoColorRGB () [inline, virtual]<br />

8.37.2 Member Function Documentation<br />

8.37.2.1 virtual void <strong>JWS</strong>::PseudoColorRGB::lookup (double r, guchar ∗ dest) [pure<br />

virtual]<br />

Parameters:<br />

r The input value between 0.0 .. 1.0 resulting guchar triple<br />

Implemented in <strong>JWS</strong>::BWColorRGB, and <strong>JWS</strong>::GeoColorRGB.<br />

The documentation for this class was generated from the following file:<br />

• PseudoColorRGB.h<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.38 <strong>JWS</strong>::Rest Class <strong>Reference</strong> 93<br />

8.38 <strong>JWS</strong>::Rest Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Rest::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::TemporalScoreElement<br />

<strong>JWS</strong>::Rest<br />

Public Member Functions<br />

• Rest (double length)<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

8.38.1 Constructor & Destructor Documentation<br />

8.38.1.1 <strong>JWS</strong>::Rest::Rest (double length)<br />

8.38.2 Member Function Documentation<br />

8.38.2.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::Rest::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Implements <strong>JWS</strong>::ScoreElement.<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


94 <strong>JWS</strong> Class Documentation<br />

8.39 <strong>JWS</strong>::Ruler Class <strong>Reference</strong><br />

A general ruler.<br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Ruler::<br />

<strong>JWS</strong>::Ruler<br />

<strong>JWS</strong>::GtkRuler<br />

Public Types<br />

• enum Order { ASCENDING, DESCENDING }<br />

The direction in which the scale is printed.<br />

Public Member Functions<br />

• void init ()<br />

Helper for virtual construction.<br />

• virtual ∼Ruler ()<br />

• void setValue (double value)<br />

• double getValue ()<br />

• virtual void setRange (double start, double end)<br />

Sets the range <strong>of</strong> values inside the visible part <strong>of</strong> this Ruler.<br />

• void getRange (double &start, double &end)<br />

Gets the range <strong>of</strong> values inside the visible part <strong>of</strong> this Ruler.<br />

• void setPositionStrategy (PositionStrategy ∗strategy, bool onInit=false)<br />

Sets the PositionStrategy for this widget.<br />

• PositionStrategy ∗ getPositionStrategy ()<br />

Gets the PositionStrategy for this Ruler.<br />

• void setScaleStrategy (ScaleStrategy ∗strategy)<br />

Sets the ScaleStrategy for this Ruler.<br />

• ScaleStrategy ∗ getScaleStrategy ()<br />

Gets the ScaleStrategy for this Ruler.<br />

• void setOrder (Order order)<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.39 <strong>JWS</strong>::Ruler Class <strong>Reference</strong> 95<br />

Sets new Order for this Ruler.<br />

• Order getOrder ()<br />

Gets the current order for this Ruler.<br />

Static Public Member Functions<br />

• void deleteMarksList (std::deque< Mark ∗ > ∗)<br />

Deletes Marks list.<br />

Protected Member Functions<br />

• Ruler (double start=0.0, double end=1.0, PositionStrategy ∗position_strategy=0, ScaleStrategy<br />

∗scale_strategy=0, Order order=ASCENDING)<br />

Constructor.<br />

• virtual void drawMarkingLeft (std::deque< Mark ∗ > ∗marks_list)=0<br />

• virtual void drawMarkingRight (std::deque< Mark ∗ > ∗marks_list)=0<br />

• virtual void drawMarkingTop (std::deque< Mark ∗ > ∗marks_list)=0<br />

• virtual void drawMarkingBottom (std::deque< Mark ∗ > ∗marks_list)=0<br />

• virtual double getLineDistanceHorizontal ()=0<br />

• virtual double getLineDistanceVertical ()=0<br />

• virtual double getTextExtentHorizontal (Glib::ustring text)=0<br />

• virtual double getTextExtentVertical (Glib::ustring text)=0<br />

• virtual void initPositionLeft ()=0<br />

• virtual void initPositionRight ()=0<br />

• virtual void initPositionTop ()=0<br />

• virtual void initPositionBottom ()=0<br />

8.39.1 Detailed Description<br />

A general ruler.<br />

It provides e.g. the setup <strong>of</strong> non linear scales<br />

8.39.2 Member Enumeration Documentation<br />

8.39.2.1 enum <strong>JWS</strong>::Ruler::Order<br />

The direction in which the scale is printed.<br />

ASCENDING means top-down for vertical rulers and left-to-right for horizontal rulers. DESCENDING<br />

means from-bottom-up for vertical rulers and right-to-left for horizontal rulers.<br />

Enumeration values:<br />

ASCENDING<br />

DESCENDING<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


96 <strong>JWS</strong> Class Documentation<br />

8.39.3 Constructor & Destructor Documentation<br />

8.39.3.1 <strong>JWS</strong>::Ruler::∼Ruler () [virtual]<br />

8.39.3.2 <strong>JWS</strong>::Ruler::Ruler (double start = 0.0, double end = 1.0, PositionStrategy ∗<br />

position_strategy = 0, ScaleStrategy ∗ scale_strategy = 0, Order order = ASCENDING)<br />

[protected]<br />

Constructor.<br />

Parameters:<br />

start The value represented by the first pixel <strong>of</strong> the widget<br />

end The value represented by the last pixel <strong>of</strong> the widget<br />

position_strategy A PositionStrategy now owned by the Ruler object; default (if 0): Top<br />

scale_strategy A ScaleStrategy now owned by the Ruler object; default (if 0): Linear<br />

8.39.4 Member Function Documentation<br />

8.39.4.1 void <strong>JWS</strong>::Ruler::deleteMarksList (std::deque< Mark ∗ > ∗) [static]<br />

Deletes Marks list.<br />

8.39.4.2 virtual void <strong>JWS</strong>::Ruler::drawMarkingBottom (std::deque< Mark ∗ > ∗ marks_list)<br />

[protected, pure virtual]<br />

Implemented in <strong>JWS</strong>::GtkRuler.<br />

8.39.4.3 virtual void <strong>JWS</strong>::Ruler::drawMarkingLeft (std::deque< Mark ∗ > ∗ marks_list)<br />

[protected, pure virtual]<br />

Implemented in <strong>JWS</strong>::GtkRuler.<br />

8.39.4.4 virtual void <strong>JWS</strong>::Ruler::drawMarkingRight (std::deque< Mark ∗ > ∗ marks_list)<br />

[protected, pure virtual]<br />

Implemented in <strong>JWS</strong>::GtkRuler.<br />

8.39.4.5 virtual void <strong>JWS</strong>::Ruler::drawMarkingTop (std::deque< Mark ∗ > ∗ marks_list)<br />

[protected, pure virtual]<br />

Implemented in <strong>JWS</strong>::GtkRuler.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.39 <strong>JWS</strong>::Ruler Class <strong>Reference</strong> 97<br />

8.39.4.6 virtual double <strong>JWS</strong>::Ruler::getLineDistanceHorizontal () [protected, pure<br />

virtual]<br />

Implemented in <strong>JWS</strong>::GtkRuler.<br />

8.39.4.7 virtual double <strong>JWS</strong>::Ruler::getLineDistanceVertical () [protected, pure<br />

virtual]<br />

Implemented in <strong>JWS</strong>::GtkRuler.<br />

8.39.4.8 <strong>JWS</strong>::Ruler::Order <strong>JWS</strong>::Ruler::getOrder ()<br />

Gets the current order for this Ruler.<br />

8.39.4.9 <strong>JWS</strong>::Ruler::PositionStrategy ∗ <strong>JWS</strong>::Ruler::getPositionStrategy ()<br />

Gets the PositionStrategy for this Ruler.<br />

8.39.4.10 void <strong>JWS</strong>::Ruler::getRange (double & start, double & end)<br />

Gets the range <strong>of</strong> values inside the visible part <strong>of</strong> this Ruler.<br />

8.39.4.11 <strong>JWS</strong>::Ruler::ScaleStrategy ∗ <strong>JWS</strong>::Ruler::getScaleStrategy ()<br />

Gets the ScaleStrategy for this Ruler.<br />

8.39.4.12 virtual double <strong>JWS</strong>::Ruler::getTextExtentHorizontal (Glib::ustring text)<br />

[protected, pure virtual]<br />

Implemented in <strong>JWS</strong>::GtkRuler.<br />

8.39.4.13 virtual double <strong>JWS</strong>::Ruler::getTextExtentVertical (Glib::ustring text) [protected,<br />

pure virtual]<br />

Implemented in <strong>JWS</strong>::GtkRuler.<br />

8.39.4.14 double <strong>JWS</strong>::Ruler::getValue ()<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


98 <strong>JWS</strong> Class Documentation<br />

8.39.4.15 void <strong>JWS</strong>::Ruler::init ()<br />

Helper for virtual construction.<br />

To be called by derived classes’ create() functions. Since we can’t call virtual functions from a constructor,<br />

we do it here.<br />

8.39.4.16 virtual void <strong>JWS</strong>::Ruler::initPositionBottom () [protected, pure virtual]<br />

Implemented in <strong>JWS</strong>::GtkRuler.<br />

8.39.4.17 virtual void <strong>JWS</strong>::Ruler::initPositionLeft () [protected, pure virtual]<br />

Implemented in <strong>JWS</strong>::GtkRuler.<br />

8.39.4.18 virtual void <strong>JWS</strong>::Ruler::initPositionRight () [protected, pure virtual]<br />

Implemented in <strong>JWS</strong>::GtkRuler.<br />

8.39.4.19 virtual void <strong>JWS</strong>::Ruler::initPositionTop () [protected, pure virtual]<br />

Implemented in <strong>JWS</strong>::GtkRuler.<br />

8.39.4.20 void <strong>JWS</strong>::Ruler::setOrder (Order order)<br />

Sets new Order for this Ruler.<br />

Parameters:<br />

The new scale order<br />

8.39.4.21 void <strong>JWS</strong>::Ruler::setPositionStrategy (PositionStrategy ∗ strategy, bool onInit = false)<br />

Sets the PositionStrategy for this widget.<br />

Parameters:<br />

strategy One <strong>of</strong> Top, Left, Bottom, Right. Default is Top.<br />

8.39.4.22 void <strong>JWS</strong>::Ruler::setRange (double start, double end) [virtual]<br />

Sets the range <strong>of</strong> values inside the visible part <strong>of</strong> this Ruler.<br />

This method will redraw the ruler if the specified values changed.<br />

Parameters:<br />

start Value <strong>of</strong> first pixel <strong>of</strong> Ruler<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.39 <strong>JWS</strong>::Ruler Class <strong>Reference</strong> 99<br />

end Value <strong>of</strong> last pixel <strong>of</strong> Ruler<br />

Reimplemented in <strong>JWS</strong>::GtkRuler.<br />

8.39.4.23 void <strong>JWS</strong>::Ruler::setScaleStrategy (ScaleStrategy ∗ strategy)<br />

Sets the ScaleStrategy for this Ruler.<br />

Parameters:<br />

strategy One <strong>of</strong> Linear, Logarithmic. Default is Linear.<br />

8.39.4.24 void <strong>JWS</strong>::Ruler::setValue (double value)<br />

The documentation for this class was generated from the following files:<br />

• Ruler.h<br />

• Ruler.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


100 <strong>JWS</strong> Class Documentation<br />

8.40 <strong>JWS</strong>::Ruler::Bottom Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Ruler::Bottom::<br />

<strong>JWS</strong>::Ruler::PositionStrategy<br />

<strong>JWS</strong>::Ruler::Bottom<br />

Public Member Functions<br />

• Bottom ()<br />

• virtual void initPosition ()<br />

Initializes Ruler with respect to the position.<br />

• virtual void drawMarking (std::deque< Mark ∗ > ∗marks_list)<br />

Draws lines and numbers.<br />

• virtual double getLineDistance ()<br />

Gets the minimum possible distance between lines.<br />

• virtual double getTextExtent (Glib::ustring text)<br />

Gets the extent <strong>of</strong> the specified text.<br />

8.40.1 Constructor & Destructor Documentation<br />

8.40.1.1 <strong>JWS</strong>::Ruler::Bottom::Bottom ()<br />

8.40.2 Member Function Documentation<br />

8.40.2.1 void <strong>JWS</strong>::Ruler::Bottom::drawMarking (std::deque< Mark ∗ > ∗ marks_list)<br />

[virtual]<br />

Draws lines and numbers.<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.40 <strong>JWS</strong>::Ruler::Bottom Class <strong>Reference</strong> 101<br />

8.40.2.2 double <strong>JWS</strong>::Ruler::Bottom::getLineDistance () [virtual]<br />

Gets the minimum possible distance between lines.<br />

Returns:<br />

Minimum line distance in ruler size ratio (0.0 .. 1.0)<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

8.40.2.3 double <strong>JWS</strong>::Ruler::Bottom::getTextExtent (Glib::ustring text) [virtual]<br />

Gets the extent <strong>of</strong> the specified text.<br />

Parameters:<br />

text The text to test<br />

Returns:<br />

Text extent in ruler size ratio (0.0 .. 1.0)<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

8.40.2.4 void <strong>JWS</strong>::Ruler::Bottom::initPosition () [virtual]<br />

Initializes Ruler with respect to the position.<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

The documentation for this class was generated from the following files:<br />

• Ruler.h<br />

• Ruler.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


102 <strong>JWS</strong> Class Documentation<br />

8.41 <strong>JWS</strong>::Ruler::Left Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Ruler::Left::<br />

<strong>JWS</strong>::Ruler::PositionStrategy<br />

<strong>JWS</strong>::Ruler::Left<br />

Public Member Functions<br />

• Left ()<br />

• virtual void initPosition ()<br />

Initializes Ruler with respect to the position.<br />

• virtual void drawMarking (std::deque< Mark ∗ > ∗marks_list)<br />

Draws lines and numbers.<br />

• virtual double getLineDistance ()<br />

Gets the minimum possible distance between lines.<br />

• virtual double getTextExtent (Glib::ustring text)<br />

Gets the extent <strong>of</strong> the specified text.<br />

8.41.1 Constructor & Destructor Documentation<br />

8.41.1.1 <strong>JWS</strong>::Ruler::Left::Left ()<br />

8.41.2 Member Function Documentation<br />

8.41.2.1 void <strong>JWS</strong>::Ruler::Left::drawMarking (std::deque< Mark ∗ > ∗ marks_list)<br />

[virtual]<br />

Draws lines and numbers.<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.41 <strong>JWS</strong>::Ruler::Left Class <strong>Reference</strong> 103<br />

8.41.2.2 double <strong>JWS</strong>::Ruler::Left::getLineDistance () [virtual]<br />

Gets the minimum possible distance between lines.<br />

Returns:<br />

Minimum line distance in ruler size ratio (0.0 .. 1.0)<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

8.41.2.3 double <strong>JWS</strong>::Ruler::Left::getTextExtent (Glib::ustring text) [virtual]<br />

Gets the extent <strong>of</strong> the specified text.<br />

Parameters:<br />

text The text to test<br />

Returns:<br />

Text extent in ruler size ratio (0.0 .. 1.0)<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

8.41.2.4 void <strong>JWS</strong>::Ruler::Left::initPosition () [virtual]<br />

Initializes Ruler with respect to the position.<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

The documentation for this class was generated from the following files:<br />

• Ruler.h<br />

• Ruler.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


104 <strong>JWS</strong> Class Documentation<br />

8.42 <strong>JWS</strong>::Ruler::Linear Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Ruler::Linear::<br />

<strong>JWS</strong>::Ruler::ScaleStrategy<br />

<strong>JWS</strong>::Ruler::Linear<br />

Public Member Functions<br />

• Linear ()<br />

• std::deque< Mark ∗ > ∗ getMarksList ()<br />

Calculate list <strong>of</strong> marks.<br />

• double getRulerPosition (double value)<br />

Get position in ruler.<br />

8.42.1 Constructor & Destructor Documentation<br />

8.42.1.1 <strong>JWS</strong>::Ruler::Linear::Linear ()<br />

8.42.2 Member Function Documentation<br />

8.42.2.1 std::deque< <strong>JWS</strong>::Ruler::Mark ∗ > ∗ <strong>JWS</strong>::Ruler::Linear::getMarksList ()<br />

[virtual]<br />

Calculate list <strong>of</strong> marks.<br />

The result is owned by caller and will need to be deleted.<br />

Implements <strong>JWS</strong>::Ruler::ScaleStrategy.<br />

8.42.2.2 double <strong>JWS</strong>::Ruler::Linear::getRulerPosition (double value) [virtual]<br />

Get position in ruler.<br />

Parameters:<br />

value Value between start and end<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.42 <strong>JWS</strong>::Ruler::Linear Class <strong>Reference</strong> 105<br />

Returns:<br />

Value between 0.0 (for first pixel) and 1.0 (last pixel), linearly scaled above ruler interval<br />

Implements <strong>JWS</strong>::Ruler::ScaleStrategy.<br />

The documentation for this class was generated from the following files:<br />

• Ruler.h<br />

• Ruler.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


106 <strong>JWS</strong> Class Documentation<br />

8.43 <strong>JWS</strong>::Ruler::Logarithmic Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Ruler::Logarithmic::<br />

<strong>JWS</strong>::Ruler::ScaleStrategy<br />

<strong>JWS</strong>::Ruler::Logarithmic<br />

Public Member Functions<br />

• Logarithmic ()<br />

• std::deque< Mark ∗ > ∗ getMarksList ()<br />

Calculate list <strong>of</strong> marks.<br />

• double getRulerPosition (double value)<br />

Get position in ruler.<br />

• double getRulerDistance (double value1, double value2)<br />

Get difference <strong>of</strong> two specified positions in ruler.<br />

8.43.1 Constructor & Destructor Documentation<br />

8.43.1.1 <strong>JWS</strong>::Ruler::Logarithmic::Logarithmic ()<br />

8.43.2 Member Function Documentation<br />

8.43.2.1 std::deque< <strong>JWS</strong>::Ruler::Mark ∗ > ∗ <strong>JWS</strong>::Ruler::Logarithmic::getMarksList ()<br />

[virtual]<br />

Calculate list <strong>of</strong> marks.<br />

The result is owned by caller and will need to be deleted.<br />

Implements <strong>JWS</strong>::Ruler::ScaleStrategy.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.43 <strong>JWS</strong>::Ruler::Logarithmic Class <strong>Reference</strong> 107<br />

8.43.2.2 double <strong>JWS</strong>::Ruler::Logarithmic::getRulerDistance (double value1, double value2)<br />

[virtual]<br />

Get difference <strong>of</strong> two specified positions in ruler.<br />

Parameters:<br />

value1 First specified value (between start and value2 < end)<br />

value2 Second specified value(between start < value1 and end)<br />

Returns:<br />

Value between 0.0 (for first pixel) and 1.0 (last pixel), linearly scaled above ruler interval<br />

Reimplemented from <strong>JWS</strong>::Ruler::ScaleStrategy.<br />

8.43.2.3 double <strong>JWS</strong>::Ruler::Logarithmic::getRulerPosition (double value) [virtual]<br />

Get position in ruler.<br />

Parameters:<br />

value Value between start and end<br />

Returns:<br />

Value between 0.0 (for first pixel) and 1.0 (last pixel), linearly scaled above ruler interval<br />

Implements <strong>JWS</strong>::Ruler::ScaleStrategy.<br />

The documentation for this class was generated from the following files:<br />

• Ruler.h<br />

• Ruler.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


108 <strong>JWS</strong> Class Documentation<br />

8.44 <strong>JWS</strong>::Ruler::Mark Struct <strong>Reference</strong><br />

#include <br />

Public Member Functions<br />

• Mark (double i_pos, double i_value, bool i_show_value, double i_size)<br />

Public Attributes<br />

• double pos<br />

• double value<br />

• bool show_value<br />

• double size<br />

8.44.1 Constructor & Destructor Documentation<br />

8.44.1.1 <strong>JWS</strong>::Ruler::Mark::Mark (double i_pos, double i_value, bool i_show_value, double<br />

i_size) [inline]<br />

8.44.2 Member Data Documentation<br />

8.44.2.1 double <strong>JWS</strong>::Ruler::Mark::pos<br />

8.44.2.2 bool <strong>JWS</strong>::Ruler::Mark::show_value<br />

8.44.2.3 double <strong>JWS</strong>::Ruler::Mark::size<br />

8.44.2.4 double <strong>JWS</strong>::Ruler::Mark::value<br />

The documentation for this struct was generated from the following file:<br />

• Ruler.h<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.45 <strong>JWS</strong>::Ruler::PositionStrategy Class <strong>Reference</strong> 109<br />

8.45 <strong>JWS</strong>::Ruler::PositionStrategy Class <strong>Reference</strong><br />

The strategy to represent and implement the position.<br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Ruler::PositionStrategy::<br />

<strong>JWS</strong>::Ruler::PositionStrategy<br />

<strong>JWS</strong>::Ruler::Bottom <strong>JWS</strong>::Ruler::Left <strong>JWS</strong>::Ruler::Right <strong>JWS</strong>::Ruler::Top<br />

Public Member Functions<br />

• void setRuler (Ruler ∗ruler)<br />

Sets Ruler for this strategy.<br />

• Ruler ∗ getRuler ()<br />

• virtual void initPosition ()=0<br />

Initializes Ruler with respect to the position.<br />

• virtual void drawMarking (std::deque< Mark ∗ > ∗marks_list)=0<br />

Draws lines and numbers.<br />

• virtual double getLineDistance ()=0<br />

Gets the minimum possible distance between lines.<br />

• virtual double getTextExtent (Glib::ustring text)=0<br />

Gets the extent <strong>of</strong> the specified text.<br />

8.45.1 Detailed Description<br />

The strategy to represent and implement the position.<br />

E.g. Left, Right, Top, Bottom<br />

8.45.2 Member Function Documentation<br />

8.45.2.1 virtual void <strong>JWS</strong>::Ruler::PositionStrategy::drawMarking (std::deque< Mark ∗ > ∗<br />

marks_list) [pure virtual]<br />

Draws lines and numbers.<br />

Implemented in <strong>JWS</strong>::Ruler::Left, <strong>JWS</strong>::Ruler::Right, <strong>JWS</strong>::Ruler::Top, and <strong>JWS</strong>::Ruler::Bottom.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


110 <strong>JWS</strong> Class Documentation<br />

8.45.2.2 virtual double <strong>JWS</strong>::Ruler::PositionStrategy::getLineDistance () [pure virtual]<br />

Gets the minimum possible distance between lines.<br />

Returns:<br />

Minimum line distance in ruler size ratio (0.0 .. 1.0)<br />

Implemented in <strong>JWS</strong>::Ruler::Left, <strong>JWS</strong>::Ruler::Right, <strong>JWS</strong>::Ruler::Top, and <strong>JWS</strong>::Ruler::Bottom.<br />

8.45.2.3 <strong>JWS</strong>::Ruler ∗ <strong>JWS</strong>::Ruler::PositionStrategy::getRuler ()<br />

8.45.2.4 virtual double <strong>JWS</strong>::Ruler::PositionStrategy::getTextExtent (Glib::ustring text) [pure<br />

virtual]<br />

Gets the extent <strong>of</strong> the specified text.<br />

Parameters:<br />

text The text to test<br />

Returns:<br />

Text extent in ruler size ratio (0.0 .. 1.0)<br />

Implemented in <strong>JWS</strong>::Ruler::Left, <strong>JWS</strong>::Ruler::Right, <strong>JWS</strong>::Ruler::Top, and <strong>JWS</strong>::Ruler::Bottom.<br />

8.45.2.5 virtual void <strong>JWS</strong>::Ruler::PositionStrategy::initPosition () [pure virtual]<br />

Initializes Ruler with respect to the position.<br />

Implemented in <strong>JWS</strong>::Ruler::Left, <strong>JWS</strong>::Ruler::Right, <strong>JWS</strong>::Ruler::Top, and <strong>JWS</strong>::Ruler::Bottom.<br />

8.45.2.6 void <strong>JWS</strong>::Ruler::PositionStrategy::setRuler (Ruler ∗ ruler)<br />

Sets Ruler for this strategy.<br />

Not done in constructor because ruler and strategy do mutual referencing; strategy comes first and can later<br />

register the ruler.<br />

The documentation for this class was generated from the following files:<br />

• Ruler.h<br />

• Ruler.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.46 <strong>JWS</strong>::Ruler::Right Class <strong>Reference</strong> 111<br />

8.46 <strong>JWS</strong>::Ruler::Right Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Ruler::Right::<br />

<strong>JWS</strong>::Ruler::PositionStrategy<br />

<strong>JWS</strong>::Ruler::Right<br />

Public Member Functions<br />

• Right ()<br />

• virtual void initPosition ()<br />

Initializes Ruler with respect to the position.<br />

• virtual void drawMarking (std::deque< Mark ∗ > ∗marks_list)<br />

Draws lines and numbers.<br />

• virtual double getLineDistance ()<br />

Gets the minimum possible distance between lines.<br />

• virtual double getTextExtent (Glib::ustring text)<br />

Gets the extent <strong>of</strong> the specified text.<br />

8.46.1 Constructor & Destructor Documentation<br />

8.46.1.1 <strong>JWS</strong>::Ruler::Right::Right ()<br />

8.46.2 Member Function Documentation<br />

8.46.2.1 void <strong>JWS</strong>::Ruler::Right::drawMarking (std::deque< Mark ∗ > ∗ marks_list)<br />

[virtual]<br />

Draws lines and numbers.<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


112 <strong>JWS</strong> Class Documentation<br />

8.46.2.2 double <strong>JWS</strong>::Ruler::Right::getLineDistance () [virtual]<br />

Gets the minimum possible distance between lines.<br />

Returns:<br />

Minimum line distance in ruler size ratio (0.0 .. 1.0)<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

8.46.2.3 double <strong>JWS</strong>::Ruler::Right::getTextExtent (Glib::ustring text) [virtual]<br />

Gets the extent <strong>of</strong> the specified text.<br />

Parameters:<br />

text The text to test<br />

Returns:<br />

Text extent in ruler size ratio (0.0 .. 1.0)<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

8.46.2.4 void <strong>JWS</strong>::Ruler::Right::initPosition () [virtual]<br />

Initializes Ruler with respect to the position.<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

The documentation for this class was generated from the following files:<br />

• Ruler.h<br />

• Ruler.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.47 <strong>JWS</strong>::Ruler::ScaleStrategy Class <strong>Reference</strong> 113<br />

8.47 <strong>JWS</strong>::Ruler::ScaleStrategy Class <strong>Reference</strong><br />

Strategy to generate marks list (Linear / Logarithmic / ...).<br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Ruler::ScaleStrategy::<br />

<strong>JWS</strong>::Ruler::ScaleStrategy<br />

<strong>JWS</strong>::Ruler::Linear<br />

<strong>JWS</strong>::Ruler::Logarithmic<br />

Public Member Functions<br />

• virtual std::deque< Mark ∗ > ∗ getMarksList ()=0<br />

Calculate list <strong>of</strong> marks.<br />

• void setRuler (Ruler ∗ruler)<br />

Sets Ruler for this strategy.<br />

• virtual double getRulerPosition (double value)=0<br />

Get position in ruler.<br />

• virtual double getRulerDistance (double value1, double value2)<br />

Get difference <strong>of</strong> two specified positions in ruler.<br />

• Ruler ∗ getRuler ()<br />

8.47.1 Detailed Description<br />

Strategy to generate marks list (Linear / Logarithmic / ...).<br />

8.47.2 Member Function Documentation<br />

8.47.2.1 virtual std::deque∗ <strong>JWS</strong>::Ruler::ScaleStrategy::getMarksList () [pure<br />

virtual]<br />

Calculate list <strong>of</strong> marks.<br />

The result is owned by caller and will need to be deleted.<br />

Implemented in <strong>JWS</strong>::Ruler::Linear, and <strong>JWS</strong>::Ruler::Logarithmic.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


114 <strong>JWS</strong> Class Documentation<br />

8.47.2.2 <strong>JWS</strong>::Ruler ∗ <strong>JWS</strong>::Ruler::ScaleStrategy::getRuler ()<br />

8.47.2.3 double <strong>JWS</strong>::Ruler::ScaleStrategy::getRulerDistance (double value1, double value2)<br />

[virtual]<br />

Get difference <strong>of</strong> two specified positions in ruler.<br />

Parameters:<br />

value1 First specified value (between start and value2 < end)<br />

value2 Second specified value(between start < value1 and end)<br />

Returns:<br />

Value between 0.0 (for first pixel) and 1.0 (last pixel), linearly scaled above ruler interval<br />

Reimplemented in <strong>JWS</strong>::Ruler::Logarithmic.<br />

8.47.2.4 virtual double <strong>JWS</strong>::Ruler::ScaleStrategy::getRulerPosition (double value) [pure<br />

virtual]<br />

Get position in ruler.<br />

Parameters:<br />

value Value between start and end<br />

Returns:<br />

Value between 0.0 (for first pixel) and 1.0 (last pixel), linearly scaled above ruler interval<br />

Implemented in <strong>JWS</strong>::Ruler::Linear, and <strong>JWS</strong>::Ruler::Logarithmic.<br />

8.47.2.5 void <strong>JWS</strong>::Ruler::ScaleStrategy::setRuler (Ruler ∗ ruler)<br />

Sets Ruler for this strategy.<br />

Not done in constructor because ruler and strategy do mutual referencing; strategy comes first and can later<br />

register the ruler.<br />

The documentation for this class was generated from the following files:<br />

• Ruler.h<br />

• Ruler.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.48 <strong>JWS</strong>::Ruler::Top Class <strong>Reference</strong> 115<br />

8.48 <strong>JWS</strong>::Ruler::Top Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Ruler::Top::<br />

<strong>JWS</strong>::Ruler::PositionStrategy<br />

<strong>JWS</strong>::Ruler::Top<br />

Public Member Functions<br />

• Top ()<br />

• virtual void initPosition ()<br />

Initializes Ruler with respect to the position.<br />

• virtual void drawMarking (std::deque< Mark ∗ > ∗marks_list)<br />

Draws lines and numbers.<br />

• virtual double getLineDistance ()<br />

Gets the minimum possible distance between lines.<br />

• virtual double getTextExtent (Glib::ustring text)<br />

Gets the extent <strong>of</strong> the specified text.<br />

8.48.1 Constructor & Destructor Documentation<br />

8.48.1.1 <strong>JWS</strong>::Ruler::Top::Top ()<br />

8.48.2 Member Function Documentation<br />

8.48.2.1 void <strong>JWS</strong>::Ruler::Top::drawMarking (std::deque< Mark ∗ > ∗ marks_list)<br />

[virtual]<br />

Draws lines and numbers.<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


116 <strong>JWS</strong> Class Documentation<br />

8.48.2.2 double <strong>JWS</strong>::Ruler::Top::getLineDistance () [virtual]<br />

Gets the minimum possible distance between lines.<br />

Returns:<br />

Minimum line distance in ruler size ratio (0.0 .. 1.0)<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

8.48.2.3 double <strong>JWS</strong>::Ruler::Top::getTextExtent (Glib::ustring text) [virtual]<br />

Gets the extent <strong>of</strong> the specified text.<br />

Parameters:<br />

text The text to test<br />

Returns:<br />

Text extent in ruler size ratio (0.0 .. 1.0)<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

8.48.2.4 void <strong>JWS</strong>::Ruler::Top::initPosition () [virtual]<br />

Initializes Ruler with respect to the position.<br />

Implements <strong>JWS</strong>::Ruler::PositionStrategy.<br />

The documentation for this class was generated from the following files:<br />

• Ruler.h<br />

• Ruler.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.49 <strong>JWS</strong>::SavePlotDialog Class <strong>Reference</strong> 117<br />

8.49 <strong>JWS</strong>::SavePlotDialog Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::SavePlotDialog::<br />

<strong>JWS</strong>::SavePlotDialog<br />

<strong>JWS</strong>::SavePlotDialog1D<br />

<strong>JWS</strong>::SavePlotDialog2D<br />

Public Member Functions<br />

• virtual ∼SavePlotDialog ()<br />

Protected Member Functions<br />

• SavePlotDialog (BaseObjectType ∗cobject, const Glib::RefPtr< Gnome::Glade::Xml > &ref-<br />

Glade)<br />

Constructor provided to libglademm.<br />

• bool on_delete_event (GdkEventAny ∗event)<br />

• virtual void savePlotGnu (std::string filename)=0<br />

Saves gnuplot source file.<br />

• virtual void savePlotData (std::string filename)=0<br />

Saves gnuplot data file.<br />

• void cancelCallback ()<br />

• void okCallback ()<br />

Protected Attributes<br />

• Glib::RefPtr< Gnome::Glade::Xml > m_ref_xml<br />

Friends<br />

• class Gnome::Glade::Xml<br />

8.49.1 Constructor & Destructor Documentation<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


118 <strong>JWS</strong> Class Documentation<br />

8.49.1.1 <strong>JWS</strong>::SavePlotDialog::∼SavePlotDialog () [virtual]<br />

8.49.1.2 <strong>JWS</strong>::SavePlotDialog::SavePlotDialog (BaseObjectType ∗ cobject, const Glib::RefPtr<<br />

Gnome::Glade::Xml > & refGlade) [protected]<br />

Constructor provided to libglademm.<br />

8.49.2 Member Function Documentation<br />

8.49.2.1 void <strong>JWS</strong>::SavePlotDialog::cancelCallback () [protected]<br />

8.49.2.2 void <strong>JWS</strong>::SavePlotDialog::okCallback () [protected]<br />

8.49.2.3 bool <strong>JWS</strong>::SavePlotDialog::on_delete_event (GdkEventAny ∗ event) [protected]<br />

8.49.2.4 virtual void <strong>JWS</strong>::SavePlotDialog::savePlotData (std::string filename) [protected,<br />

pure virtual]<br />

Saves gnuplot data file.<br />

Destination file: ∗.dat.in<br />

Parameters:<br />

filename file name without extension<br />

Implemented in <strong>JWS</strong>::SavePlotDialog1D, and <strong>JWS</strong>::SavePlotDialog2D.<br />

8.49.2.5 virtual void <strong>JWS</strong>::SavePlotDialog::savePlotGnu (std::string filename) [protected,<br />

pure virtual]<br />

Saves gnuplot source file.<br />

Destination file: ∗.gnu<br />

Parameters:<br />

filename file name without extension<br />

Implemented in <strong>JWS</strong>::SavePlotDialog1D, and <strong>JWS</strong>::SavePlotDialog2D.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.49 <strong>JWS</strong>::SavePlotDialog Class <strong>Reference</strong> 119<br />

8.49.3 Friends And Related Function Documentation<br />

8.49.3.1 friend class Gnome::Glade::Xml [friend]<br />

Reimplemented in <strong>JWS</strong>::SavePlotDialog1D, and <strong>JWS</strong>::SavePlotDialog2D.<br />

8.49.4 Member Data Documentation<br />

8.49.4.1 Glib::RefPtr <strong>JWS</strong>::SavePlotDialog::m_ref_xml [protected]<br />

The documentation for this class was generated from the following files:<br />

• SavePlotDialog.h<br />

• SavePlotDialog.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


120 <strong>JWS</strong> Class Documentation<br />

8.50 <strong>JWS</strong>::SavePlotDialog1D Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::SavePlotDialog1D::<br />

<strong>JWS</strong>::SavePlotDialog<br />

<strong>JWS</strong>::SavePlotDialog1D<br />

Public Member Functions<br />

• virtual ∼SavePlotDialog1D ()<br />

• void getXRangeFromDialog (double &min, double &max)<br />

• void getYRangeFromDialog (double &min, double &max)<br />

• Glib::ustring getTitleFromDialog ()<br />

• Glib::ustring getXLabelFromDialog ()<br />

• Glib::ustring getYLabelFromDialog ()<br />

Static Public Member Functions<br />

• SavePlotDialog1D ∗ create (View1D ∗view)<br />

Factory method.<br />

Protected Member Functions<br />

• SavePlotDialog1D (BaseObjectType ∗cobject, const Glib::RefPtr< Gnome::Glade::Xml > &ref-<br />

Glade)<br />

Constructor provided to libglademm.<br />

• virtual void savePlotGnu (std::string filename)<br />

Saves gnuplot source file.<br />

• virtual void savePlotData (std::string filename)<br />

Saves gnuplot data file.<br />

Friends<br />

• class Gnome::Glade::Xml<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.50 <strong>JWS</strong>::SavePlotDialog1D Class <strong>Reference</strong> 121<br />

8.50.1 Constructor & Destructor Documentation<br />

8.50.1.1 <strong>JWS</strong>::SavePlotDialog1D::∼SavePlotDialog1D () [virtual]<br />

8.50.1.2 <strong>JWS</strong>::SavePlotDialog1D::SavePlotDialog1D (BaseObjectType ∗ cobject, const<br />

Glib::RefPtr< Gnome::Glade::Xml > & refGlade) [protected]<br />

Constructor provided to libglademm.<br />

8.50.2 Member Function Documentation<br />

8.50.2.1 <strong>JWS</strong>::SavePlotDialog1D ∗ <strong>JWS</strong>::SavePlotDialog1D::create (View1D ∗ view) [static]<br />

Factory method.<br />

SavePlotDialog1D instances should be instantiated via this method.<br />

Parameters:<br />

view the View1D to which this dialog is related<br />

8.50.2.2 Glib::ustring <strong>JWS</strong>::SavePlotDialog1D::getTitleFromDialog ()<br />

8.50.2.3 Glib::ustring <strong>JWS</strong>::SavePlotDialog1D::getXLabelFromDialog ()<br />

8.50.2.4 void <strong>JWS</strong>::SavePlotDialog1D::getXRangeFromDialog (double & min, double & max)<br />

8.50.2.5 Glib::ustring <strong>JWS</strong>::SavePlotDialog1D::getYLabelFromDialog ()<br />

8.50.2.6 void <strong>JWS</strong>::SavePlotDialog1D::getYRangeFromDialog (double & min, double & max)<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


122 <strong>JWS</strong> Class Documentation<br />

8.50.2.7 void <strong>JWS</strong>::SavePlotDialog1D::savePlotData (std::string filename) [protected,<br />

virtual]<br />

Saves gnuplot data file.<br />

Destination file: ∗.dat.in<br />

Parameters:<br />

filename file name without extension<br />

Implements <strong>JWS</strong>::SavePlotDialog.<br />

8.50.2.8 void <strong>JWS</strong>::SavePlotDialog1D::savePlotGnu (std::string filename) [protected,<br />

virtual]<br />

Saves gnuplot source file.<br />

Destination file: ∗.gnu<br />

Parameters:<br />

filename file name without extension<br />

Implements <strong>JWS</strong>::SavePlotDialog.<br />

8.50.3 Friends And Related Function Documentation<br />

8.50.3.1 friend class Gnome::Glade::Xml [friend]<br />

Reimplemented from <strong>JWS</strong>::SavePlotDialog.<br />

The documentation for this class was generated from the following files:<br />

• SavePlotDialog1D.h<br />

• SavePlotDialog1D.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.51 <strong>JWS</strong>::SavePlotDialog2D Class <strong>Reference</strong> 123<br />

8.51 <strong>JWS</strong>::SavePlotDialog2D Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::SavePlotDialog2D::<br />

<strong>JWS</strong>::SavePlotDialog<br />

<strong>JWS</strong>::SavePlotDialog2D<br />

Public Member Functions<br />

• virtual ∼SavePlotDialog2D ()<br />

• void getXRangeFromDialog (double &min, double &max)<br />

• void getYRangeFromDialog (double &min, double &max)<br />

• Glib::ustring getTitleFromDialog ()<br />

• Glib::ustring getXLabelFromDialog ()<br />

• Glib::ustring getYLabelFromDialog ()<br />

• Glib::ustring getXUnitFromDialog ()<br />

• Glib::ustring getYUnitFromDialog ()<br />

Static Public Member Functions<br />

• SavePlotDialog2D ∗ create (View2D ∗view)<br />

Factory method.<br />

Protected Member Functions<br />

• SavePlotDialog2D (BaseObjectType ∗cobject, const Glib::RefPtr< Gnome::Glade::Xml > &ref-<br />

Glade)<br />

Constructor provided to libglademm.<br />

• virtual void savePlotGnu (std::string filename)<br />

Saves gnuplot source file.<br />

• virtual void savePlotData (std::string filename)<br />

Saves gnuplot data file.<br />

Friends<br />

• class Gnome::Glade::Xml<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


124 <strong>JWS</strong> Class Documentation<br />

8.51.1 Constructor & Destructor Documentation<br />

8.51.1.1 <strong>JWS</strong>::SavePlotDialog2D::∼SavePlotDialog2D () [virtual]<br />

8.51.1.2 <strong>JWS</strong>::SavePlotDialog2D::SavePlotDialog2D (BaseObjectType ∗ cobject, const<br />

Glib::RefPtr< Gnome::Glade::Xml > & refGlade) [protected]<br />

Constructor provided to libglademm.<br />

8.51.2 Member Function Documentation<br />

8.51.2.1 <strong>JWS</strong>::SavePlotDialog2D ∗ <strong>JWS</strong>::SavePlotDialog2D::create (View2D ∗ view) [static]<br />

Factory method.<br />

SavePlotDialog2D instances should be instantiated via this method.<br />

Parameters:<br />

view the View2D to which this dialog is related<br />

8.51.2.2 Glib::ustring <strong>JWS</strong>::SavePlotDialog2D::getTitleFromDialog ()<br />

8.51.2.3 Glib::ustring <strong>JWS</strong>::SavePlotDialog2D::getXLabelFromDialog ()<br />

8.51.2.4 void <strong>JWS</strong>::SavePlotDialog2D::getXRangeFromDialog (double & min, double & max)<br />

8.51.2.5 Glib::ustring <strong>JWS</strong>::SavePlotDialog2D::getXUnitFromDialog ()<br />

8.51.2.6 Glib::ustring <strong>JWS</strong>::SavePlotDialog2D::getYLabelFromDialog ()<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.51 <strong>JWS</strong>::SavePlotDialog2D Class <strong>Reference</strong> 125<br />

8.51.2.7 void <strong>JWS</strong>::SavePlotDialog2D::getYRangeFromDialog (double & min, double & max)<br />

8.51.2.8 Glib::ustring <strong>JWS</strong>::SavePlotDialog2D::getYUnitFromDialog ()<br />

8.51.2.9 void <strong>JWS</strong>::SavePlotDialog2D::savePlotData (std::string filename) [protected,<br />

virtual]<br />

Saves gnuplot data file.<br />

Destination file: ∗.dat.in<br />

Parameters:<br />

filename file name without extension<br />

Implements <strong>JWS</strong>::SavePlotDialog.<br />

8.51.2.10 void <strong>JWS</strong>::SavePlotDialog2D::savePlotGnu (std::string filename) [protected,<br />

virtual]<br />

Saves gnuplot source file.<br />

Destination file: ∗.gnu<br />

Parameters:<br />

filename file name without extension<br />

Implements <strong>JWS</strong>::SavePlotDialog.<br />

8.51.3 Friends And Related Function Documentation<br />

8.51.3.1 friend class Gnome::Glade::Xml [friend]<br />

Reimplemented from <strong>JWS</strong>::SavePlotDialog.<br />

The documentation for this class was generated from the following files:<br />

• SavePlotDialog2D.h<br />

• SavePlotDialog2D.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


126 <strong>JWS</strong> Class Documentation<br />

8.52 <strong>JWS</strong>::ScoreElement Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::ScoreElement::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::Accentuation <strong>JWS</strong>::Bar <strong>JWS</strong>::ScoreElementList <strong>JWS</strong>::TemporalScoreElement <strong>JWS</strong>::VoiceAttribute<br />

<strong>JWS</strong>::LegatoEnd<br />

<strong>JWS</strong>::DoubleBar<br />

<strong>JWS</strong>::Measure<br />

<strong>JWS</strong>::InvisibleRest<br />

<strong>JWS</strong>::Clef<br />

<strong>JWS</strong>::LegatoStart<br />

<strong>JWS</strong>::EndBar<br />

<strong>JWS</strong>::VoiceList<br />

<strong>JWS</strong>::Note<br />

<strong>JWS</strong>::KeySignature<br />

<strong>JWS</strong>::Portato<br />

<strong>JWS</strong>::Rest<br />

<strong>JWS</strong>::TimeSignature<br />

<strong>JWS</strong>::Staccato<br />

Public Member Functions<br />

• virtual ∼ScoreElement ()<br />

• virtual ScoreElement ∗ copy ()=0<br />

Virtual copy constructor.<br />

8.52.1 Constructor & Destructor Documentation<br />

8.52.1.1 <strong>JWS</strong>::ScoreElement::∼ScoreElement () [virtual]<br />

8.52.2 Member Function Documentation<br />

8.52.2.1 virtual ScoreElement∗ <strong>JWS</strong>::ScoreElement::copy () [pure virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Implemented in <strong>JWS</strong>::ScoreElementList, <strong>JWS</strong>::Note, <strong>JWS</strong>::Rest, <strong>JWS</strong>::InvisibleRest, <strong>JWS</strong>::Clef,<br />

<strong>JWS</strong>::KeySignature, <strong>JWS</strong>::TimeSignature, <strong>JWS</strong>::Bar, <strong>JWS</strong>::DoubleBar, <strong>JWS</strong>::EndBar, <strong>JWS</strong>::Staccato,<br />

<strong>JWS</strong>::LegatoStart, <strong>JWS</strong>::LegatoEnd, <strong>JWS</strong>::Portato, <strong>JWS</strong>::VoiceList, and <strong>JWS</strong>::Measure.<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.53 <strong>JWS</strong>::ScoreElementList Class <strong>Reference</strong> 127<br />

8.53 <strong>JWS</strong>::ScoreElementList Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::ScoreElementList::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::ScoreElementList<br />

<strong>JWS</strong>::Measure<br />

<strong>JWS</strong>::VoiceList<br />

Public Member Functions<br />

• ∼ScoreElementList ()<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

8.53.1 Constructor & Destructor Documentation<br />

8.53.1.1 <strong>JWS</strong>::ScoreElementList::∼ScoreElementList ()<br />

8.53.2 Member Function Documentation<br />

8.53.2.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::ScoreElementList::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Implements <strong>JWS</strong>::ScoreElement.<br />

Reimplemented in <strong>JWS</strong>::VoiceList, and <strong>JWS</strong>::Measure.<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


128 <strong>JWS</strong> Class Documentation<br />

8.54 <strong>JWS</strong>::ScoreGenerator Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::ScoreGenerator::<br />

<strong>JWS</strong>::Computation<br />

<strong>JWS</strong>::ScoreGenerator<br />

Public Member Functions<br />

• ScoreGenerator (NoteDetector ∗note_detector)<br />

Constructor.<br />

• Glib::ustring & getXmlResult ()<br />

Protected Member Functions<br />

• virtual void doCompute ()<br />

Actual computation.<br />

8.54.1 Constructor & Destructor Documentation<br />

8.54.1.1 <strong>JWS</strong>::ScoreGenerator::ScoreGenerator (NoteDetector ∗ note_detector)<br />

Constructor.<br />

Parameters:<br />

note_generator The note_generator whose already computed result is utilized to compute the notes,<br />

owned by someone else (deleted there)<br />

8.54.2 Member Function Documentation<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.54 <strong>JWS</strong>::ScoreGenerator Class <strong>Reference</strong> 129<br />

8.54.2.1 void <strong>JWS</strong>::ScoreGenerator::doCompute () [protected, virtual]<br />

Actual computation.<br />

Overridden by derived implementation classes. Those must call elapseTime() for every partial computation.<br />

At least once.<br />

Implements <strong>JWS</strong>::Computation.<br />

8.54.2.2 Glib::ustring & <strong>JWS</strong>::ScoreGenerator::getXmlResult ()<br />

Returns:<br />

MusicXML result, available after doCompute() run<br />

The documentation for this class was generated from the following files:<br />

• ScoreGenerator.h<br />

• ScoreGenerator.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


130 <strong>JWS</strong> Class Documentation<br />

8.55 <strong>JWS</strong>::SineSoundGenerator Class <strong>Reference</strong><br />

Sine Generator.<br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::SineSoundGenerator::<br />

<strong>JWS</strong>::SoundSource<br />

<strong>JWS</strong>::SoundGenerator<br />

<strong>JWS</strong>::SineSoundGenerator<br />

Public Member Functions<br />

• SineSoundGenerator (double size, double frequency)<br />

Constructor.<br />

• virtual SoundSource ∗ copy ()<br />

A polymorphic copy constructor.<br />

• virtual int read (int max_frames, double ∗samples) throw (SoundSourceException)<br />

Read the specified number <strong>of</strong> frames from this source.<br />

• virtual Glib::ustring getName ()<br />

Returns the name <strong>of</strong> this SoundSource, e.g.<br />

8.55.1 Detailed Description<br />

Sine Generator.<br />

8.55.2 Constructor & Destructor Documentation<br />

8.55.2.1 <strong>JWS</strong>::SineSoundGenerator::SineSoundGenerator (double size, double frequency)<br />

Constructor.<br />

Parameters:<br />

size Length in seconds<br />

frequency in Hz<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.55 <strong>JWS</strong>::SineSoundGenerator Class <strong>Reference</strong> 131<br />

8.55.3 Member Function Documentation<br />

8.55.3.1 <strong>JWS</strong>::SoundSource ∗ <strong>JWS</strong>::SineSoundGenerator::copy () [virtual]<br />

A polymorphic copy constructor.<br />

Implemented easily by providing an appropriate individual copy constructor and returning a new instance<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.55.3.2 Glib::ustring <strong>JWS</strong>::SineSoundGenerator::getName () [virtual]<br />

Returns the name <strong>of</strong> this SoundSource, e.g.<br />

a file name<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.55.3.3 int <strong>JWS</strong>::SineSoundGenerator::read (int max_frames, double ∗ samples) throw<br />

(SoundSourceException) [virtual]<br />

Read the specified number <strong>of</strong> frames from this source.<br />

Parameters:<br />

max_frames The number <strong>of</strong> samples to read. The number actually read can be smaller and will be<br />

returned by this method<br />

samples The buffer where individual samples should be stored. Needs (max_frames ∗ channels) times<br />

the size <strong>of</strong> a double <strong>of</strong> allocated memory<br />

Returns:<br />

The number <strong>of</strong> frames actually read<br />

Implements <strong>JWS</strong>::SoundSource.<br />

The documentation for this class was generated from the following files:<br />

• SoundGenerator.h<br />

• SoundGenerator.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


132 <strong>JWS</strong> Class Documentation<br />

8.56 <strong>JWS</strong>::SndfileSource Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::SndfileSource::<br />

<strong>JWS</strong>::SoundSource<br />

<strong>JWS</strong>::SndfileSource<br />

Public Member Functions<br />

• SndfileSource (Glib::ustring i_name)<br />

• SndfileSource (SndfileSource &)<br />

• virtual ∼SndfileSource ()<br />

• virtual SoundSource ∗ copy ()<br />

A polymorphic copy constructor.<br />

• virtual void open () throw (SoundSourceException)<br />

Opens the Source.<br />

• virtual void close () throw (SoundSourceException)<br />

Closes a Source.<br />

• virtual bool isOpen ()<br />

• virtual void seek (int pos, int mode) throw (SoundSourceException)<br />

Set SoundSource position.<br />

• virtual int read (int max_frames, double ∗samples) throw (SoundSourceException)<br />

Read the specified number <strong>of</strong> frames from this source.<br />

• virtual int channels ()<br />

Returns the number <strong>of</strong> channels <strong>of</strong> this SoundSource.<br />

• virtual int rate ()<br />

Returns the sampling rate <strong>of</strong> this SoundSource, e.g.<br />

• virtual bool e<strong>of</strong> ()<br />

Returns true iff current file position is at end <strong>of</strong> SoundSource.<br />

• virtual int size ()<br />

number <strong>of</strong> frames<br />

• virtual Glib::ustring getName ()<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.56 <strong>JWS</strong>::SndfileSource Class <strong>Reference</strong> 133<br />

Returns the name <strong>of</strong> this SoundSource, e.g.<br />

• virtual int getPos ()<br />

Returns current position.<br />

8.56.1 Constructor & Destructor Documentation<br />

8.56.1.1 <strong>JWS</strong>::SndfileSource::SndfileSource (Glib::ustring i_name)<br />

8.56.1.2 <strong>JWS</strong>::SndfileSource::SndfileSource (SndfileSource &)<br />

8.56.1.3 <strong>JWS</strong>::SndfileSource::∼SndfileSource () [virtual]<br />

8.56.2 Member Function Documentation<br />

8.56.2.1 int <strong>JWS</strong>::SndfileSource::channels () [virtual]<br />

Returns the number <strong>of</strong> channels <strong>of</strong> this SoundSource.<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.56.2.2 void <strong>JWS</strong>::SndfileSource::close () throw (SoundSourceException) [virtual]<br />

Closes a Source.<br />

Nothing will be done if the Source object is not open.<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.56.2.3 <strong>JWS</strong>::SoundSource ∗ <strong>JWS</strong>::SndfileSource::copy () [virtual]<br />

A polymorphic copy constructor.<br />

Implemented easily by providing an appropriate individual copy constructor and returning a new instance<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.56.2.4 bool <strong>JWS</strong>::SndfileSource::e<strong>of</strong> () [virtual]<br />

Returns true iff current file position is at end <strong>of</strong> SoundSource.<br />

SoundSource must be open first.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


134 <strong>JWS</strong> Class Documentation<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.56.2.5 Glib::ustring <strong>JWS</strong>::SndfileSource::getName () [virtual]<br />

Returns the name <strong>of</strong> this SoundSource, e.g.<br />

a file name<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.56.2.6 int <strong>JWS</strong>::SndfileSource::getPos () [virtual]<br />

Returns current position.<br />

Returns:<br />

The position counted in frames, undefined if file is not open<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.56.2.7 bool <strong>JWS</strong>::SndfileSource::isOpen () [virtual]<br />

Returns:<br />

true if the SoundSource is open<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.56.2.8 void <strong>JWS</strong>::SndfileSource::open () throw (SoundSourceException) [virtual]<br />

Opens the Source.<br />

Must be called before any other methods on an instance <strong>of</strong> this class. If called on an already open object,<br />

nothing will be done.<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.56.2.9 int <strong>JWS</strong>::SndfileSource::rate () [virtual]<br />

Returns the sampling rate <strong>of</strong> this SoundSource, e.g.<br />

44100 (in Hz).<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.56.2.10 int <strong>JWS</strong>::SndfileSource::read (int max_frames, double ∗ samples) throw<br />

(SoundSourceException) [virtual]<br />

Read the specified number <strong>of</strong> frames from this source.<br />

Parameters:<br />

max_frames The number <strong>of</strong> samples to read. The number actually read can be smaller and will be<br />

returned by this method<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.56 <strong>JWS</strong>::SndfileSource Class <strong>Reference</strong> 135<br />

samples The buffer where individual samples should be stored. Needs (max_frames ∗ channels) times<br />

the size <strong>of</strong> a double <strong>of</strong> allocated memory<br />

Returns:<br />

The number <strong>of</strong> frames actually read<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.56.2.11 void <strong>JWS</strong>::SndfileSource::seek (int pos, int mode) throw (SoundSourceException)<br />

[virtual]<br />

Set SoundSource position.<br />

Sets the pointer in this SoundSource where the next ordinary read operation will be performed from (in<br />

frames).<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.56.2.12 int <strong>JWS</strong>::SndfileSource::size () [virtual]<br />

number <strong>of</strong> frames<br />

Implements <strong>JWS</strong>::SoundSource.<br />

The documentation for this class was generated from the following files:<br />

• SndfileSource.h<br />

• SndfileSource.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


136 <strong>JWS</strong> Class Documentation<br />

8.57 <strong>JWS</strong>::SoundGenerator Class <strong>Reference</strong><br />

Abstract SoundGenerator Class.<br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::SoundGenerator::<br />

<strong>JWS</strong>::SoundSource<br />

<strong>JWS</strong>::SoundGenerator<br />

<strong>JWS</strong>::ChirpSoundGenerator <strong>JWS</strong>::InstrumentSoundGenerator <strong>JWS</strong>::SineSoundGenerator<br />

Public Member Functions<br />

• virtual ∼SoundGenerator ()<br />

• virtual void open () throw (SoundSourceException)<br />

Opens the Source.<br />

• virtual void close () throw (SoundSourceException)<br />

Closes a Source.<br />

• virtual bool isOpen ()<br />

• virtual void seek (int pos, int mode=SEEK_SET) throw (SoundSourceException)<br />

Set SoundSource position.<br />

• virtual int channels ()<br />

Returns the number <strong>of</strong> channels <strong>of</strong> this SoundSource.<br />

• virtual int rate ()<br />

Returns the sampling rate <strong>of</strong> this SoundSource, e.g.<br />

• virtual bool e<strong>of</strong> ()<br />

Returns true iff current file position is at end <strong>of</strong> SoundSource.<br />

• virtual int size ()<br />

Returns the number <strong>of</strong> frames in this SoundSource.<br />

• virtual int getPos ()<br />

Returns the current file position.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.57 <strong>JWS</strong>::SoundGenerator Class <strong>Reference</strong> 137<br />

Protected Member Functions<br />

• SoundGenerator (int size=44100 ∗4)<br />

Constructor.<br />

• SoundGenerator (double size)<br />

Alternative constructor.<br />

8.57.1 Detailed Description<br />

Abstract SoundGenerator Class.<br />

Provides basic functionality to be used by derived, final classes.<br />

8.57.2 Constructor & Destructor Documentation<br />

8.57.2.1 <strong>JWS</strong>::SoundGenerator::∼SoundGenerator () [virtual]<br />

8.57.2.2 <strong>JWS</strong>::SoundGenerator::SoundGenerator (int size = 44100 ∗4) [protected]<br />

Constructor.<br />

Parameters:<br />

size Length in frames<br />

8.57.2.3 <strong>JWS</strong>::SoundGenerator::SoundGenerator (double size) [protected]<br />

Alternative constructor.<br />

Parameters:<br />

size Length in seconds<br />

8.57.3 Member Function Documentation<br />

8.57.3.1 int <strong>JWS</strong>::SoundGenerator::channels () [virtual]<br />

Returns the number <strong>of</strong> channels <strong>of</strong> this SoundSource.<br />

Implements <strong>JWS</strong>::SoundSource.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


138 <strong>JWS</strong> Class Documentation<br />

8.57.3.2 void <strong>JWS</strong>::SoundGenerator::close () throw (SoundSourceException) [virtual]<br />

Closes a Source.<br />

Nothing will be done if the Source object is not open.<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.57.3.3 bool <strong>JWS</strong>::SoundGenerator::e<strong>of</strong> () [virtual]<br />

Returns true iff current file position is at end <strong>of</strong> SoundSource.<br />

SoundSource must be open first.<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.57.3.4 int <strong>JWS</strong>::SoundGenerator::getPos () [virtual]<br />

Returns the current file position.<br />

SoundSource must be open first.<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.57.3.5 bool <strong>JWS</strong>::SoundGenerator::isOpen () [virtual]<br />

Returns:<br />

true if the SoundSource is open<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.57.3.6 void <strong>JWS</strong>::SoundGenerator::open () throw (SoundSourceException) [virtual]<br />

Opens the Source.<br />

Must be called before any other methods on an instance <strong>of</strong> this class. If called on an already open object,<br />

nothing will be done.<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.57.3.7 int <strong>JWS</strong>::SoundGenerator::rate () [virtual]<br />

Returns the sampling rate <strong>of</strong> this SoundSource, e.g.<br />

44100 (in Hz).<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.57.3.8 void <strong>JWS</strong>::SoundGenerator::seek (int pos, int mode = SEEK_SET) throw<br />

(SoundSourceException) [virtual]<br />

Set SoundSource position.<br />

Sets the pointer in this SoundSource where the next ordinary read operation will be performed from (in<br />

frames).<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.57 <strong>JWS</strong>::SoundGenerator Class <strong>Reference</strong> 139<br />

Implements <strong>JWS</strong>::SoundSource.<br />

8.57.3.9 int <strong>JWS</strong>::SoundGenerator::size () [virtual]<br />

Returns the number <strong>of</strong> frames in this SoundSource.<br />

SoundSource must be open first.<br />

Implements <strong>JWS</strong>::SoundSource.<br />

The documentation for this class was generated from the following files:<br />

• SoundGenerator.h<br />

• SoundGenerator.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


140 <strong>JWS</strong> Class Documentation<br />

8.58 <strong>JWS</strong>::SoundSource Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::SoundSource::<br />

<strong>JWS</strong>::SoundSource<br />

<strong>JWS</strong>::MixedSource <strong>JWS</strong>::SndfileSource <strong>JWS</strong>::SoundGenerator<br />

<strong>JWS</strong>::ChirpSoundGenerator <strong>JWS</strong>::InstrumentSoundGenerator <strong>JWS</strong>::SineSoundGenerator<br />

Public Member Functions<br />

• virtual ∼SoundSource ()<br />

• virtual SoundSource ∗ copy ()=0<br />

A polymorphic copy constructor.<br />

• virtual void open ()=0 throw (SoundSourceException)<br />

Opens the Source.<br />

• virtual void close ()=0 throw (SoundSourceException)<br />

Closes a Source.<br />

• virtual bool isOpen ()=0<br />

• virtual void seek (int pos, int mode=SEEK_SET)=0 throw (SoundSourceException)<br />

Set SoundSource position.<br />

• virtual int read (int max_frames, double ∗samples)=0 throw (SoundSourceException)<br />

Read the specified number <strong>of</strong> frames from this source.<br />

• int read (int max_frames, double ∗samples, int pos)<br />

Convenience method.<br />

• virtual int channels ()=0<br />

Returns the number <strong>of</strong> channels <strong>of</strong> this SoundSource.<br />

• virtual int rate ()=0<br />

Returns the sampling rate <strong>of</strong> this SoundSource, e.g.<br />

• virtual bool e<strong>of</strong> ()=0<br />

Returns true iff current file position is at end <strong>of</strong> SoundSource.<br />

• virtual int size ()=0<br />

Returns the number <strong>of</strong> frames in this SoundSource.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.58 <strong>JWS</strong>::SoundSource Class <strong>Reference</strong> 141<br />

• virtual Glib::ustring getName ()=0<br />

Returns the name <strong>of</strong> this SoundSource, e.g.<br />

• virtual int getPos ()=0<br />

Returns the current file position.<br />

8.58.1 Constructor & Destructor Documentation<br />

8.58.1.1 virtual <strong>JWS</strong>::SoundSource::∼SoundSource () [inline, virtual]<br />

8.58.2 Member Function Documentation<br />

8.58.2.1 virtual int <strong>JWS</strong>::SoundSource::channels () [pure virtual]<br />

Returns the number <strong>of</strong> channels <strong>of</strong> this SoundSource.<br />

Implemented in <strong>JWS</strong>::MixedSource, <strong>JWS</strong>::SndfileSource, and <strong>JWS</strong>::SoundGenerator.<br />

8.58.2.2 virtual void <strong>JWS</strong>::SoundSource::close () throw (SoundSourceException) [pure<br />

virtual]<br />

Closes a Source.<br />

Nothing will be done if the Source object is not open.<br />

Implemented in <strong>JWS</strong>::MixedSource, <strong>JWS</strong>::SndfileSource, and <strong>JWS</strong>::SoundGenerator.<br />

8.58.2.3 virtual SoundSource∗ <strong>JWS</strong>::SoundSource::copy () [pure virtual]<br />

A polymorphic copy constructor.<br />

Implemented easily by providing an appropriate individual copy constructor and returning a new instance<br />

Implemented in <strong>JWS</strong>::MixedSource, <strong>JWS</strong>::SndfileSource, <strong>JWS</strong>::SineSoundGenerator,<br />

<strong>JWS</strong>::ChirpSoundGenerator, and <strong>JWS</strong>::InstrumentSoundGenerator.<br />

8.58.2.4 virtual bool <strong>JWS</strong>::SoundSource::e<strong>of</strong> () [pure virtual]<br />

Returns true iff current file position is at end <strong>of</strong> SoundSource.<br />

SoundSource must be open first.<br />

Implemented in <strong>JWS</strong>::MixedSource, <strong>JWS</strong>::SndfileSource, and <strong>JWS</strong>::SoundGenerator.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


142 <strong>JWS</strong> Class Documentation<br />

8.58.2.5 virtual Glib::ustring <strong>JWS</strong>::SoundSource::getName () [pure virtual]<br />

Returns the name <strong>of</strong> this SoundSource, e.g.<br />

a file name<br />

Implemented in <strong>JWS</strong>::MixedSource, <strong>JWS</strong>::SndfileSource, <strong>JWS</strong>::SineSoundGenerator,<br />

<strong>JWS</strong>::ChirpSoundGenerator, and <strong>JWS</strong>::InstrumentSoundGenerator.<br />

8.58.2.6 virtual int <strong>JWS</strong>::SoundSource::getPos () [pure virtual]<br />

Returns the current file position.<br />

SoundSource must be open first.<br />

Implemented in <strong>JWS</strong>::MixedSource, <strong>JWS</strong>::SndfileSource, and <strong>JWS</strong>::SoundGenerator.<br />

8.58.2.7 virtual bool <strong>JWS</strong>::SoundSource::isOpen () [pure virtual]<br />

Returns:<br />

true if the SoundSource is open<br />

Implemented in <strong>JWS</strong>::MixedSource, <strong>JWS</strong>::SndfileSource, and <strong>JWS</strong>::SoundGenerator.<br />

8.58.2.8 virtual void <strong>JWS</strong>::SoundSource::open () throw (SoundSourceException) [pure<br />

virtual]<br />

Opens the Source.<br />

Must be called before any other methods on an instance <strong>of</strong> this class. If called on an already open object,<br />

nothing will be done.<br />

Implemented in <strong>JWS</strong>::MixedSource, <strong>JWS</strong>::SndfileSource, and <strong>JWS</strong>::SoundGenerator.<br />

8.58.2.9 virtual int <strong>JWS</strong>::SoundSource::rate () [pure virtual]<br />

Returns the sampling rate <strong>of</strong> this SoundSource, e.g.<br />

44100 (in Hz).<br />

Implemented in <strong>JWS</strong>::MixedSource, <strong>JWS</strong>::SndfileSource, and <strong>JWS</strong>::SoundGenerator.<br />

8.58.2.10 int <strong>JWS</strong>::SoundSource::read (int max_frames, double ∗ samples, int pos) [inline]<br />

Convenience method.<br />

Calls int read(int, double∗) after seeking<br />

Parameters:<br />

max_frames The number <strong>of</strong> samples to read. The number actually read can be smaller and will be<br />

returned by this method<br />

samples The buffer where individual samples should be stored. Needs (max_frames ∗ channels) times<br />

the size <strong>of</strong> a double <strong>of</strong> allocated memory<br />

pos The position to seek before reading, in frames<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.58 <strong>JWS</strong>::SoundSource Class <strong>Reference</strong> 143<br />

Returns:<br />

The number <strong>of</strong> frames actually read<br />

8.58.2.11 virtual int <strong>JWS</strong>::SoundSource::read (int max_frames, double ∗ samples) throw<br />

(SoundSourceException) [pure virtual]<br />

Read the specified number <strong>of</strong> frames from this source.<br />

Parameters:<br />

max_frames The number <strong>of</strong> samples to read. The number actually read can be smaller and will be<br />

returned by this method<br />

samples The buffer where individual samples should be stored. Needs (max_frames ∗ channels) times<br />

the size <strong>of</strong> a double <strong>of</strong> allocated memory<br />

Returns:<br />

The number <strong>of</strong> frames actually read<br />

Implemented in <strong>JWS</strong>::MixedSource, <strong>JWS</strong>::SndfileSource, <strong>JWS</strong>::SineSoundGenerator,<br />

<strong>JWS</strong>::ChirpSoundGenerator, and <strong>JWS</strong>::InstrumentSoundGenerator.<br />

8.58.2.12 virtual void <strong>JWS</strong>::SoundSource::seek (int pos, int mode = SEEK_SET) throw<br />

(SoundSourceException) [pure virtual]<br />

Set SoundSource position.<br />

Sets the pointer in this SoundSource where the next ordinary read operation will be performed from (in<br />

frames).<br />

Implemented in <strong>JWS</strong>::MixedSource, <strong>JWS</strong>::SndfileSource, and <strong>JWS</strong>::SoundGenerator.<br />

8.58.2.13 virtual int <strong>JWS</strong>::SoundSource::size () [pure virtual]<br />

Returns the number <strong>of</strong> frames in this SoundSource.<br />

SoundSource must be open first.<br />

Implemented in <strong>JWS</strong>::MixedSource, <strong>JWS</strong>::SndfileSource, and <strong>JWS</strong>::SoundGenerator.<br />

The documentation for this class was generated from the following file:<br />

• SoundSource.h<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


144 <strong>JWS</strong> Class Documentation<br />

8.59 <strong>JWS</strong>::SoundSourceException Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::SoundSourceException::<br />

<strong>JWS</strong>::Exception<br />

<strong>JWS</strong>::SoundSourceException<br />

Public Member Functions<br />

• SoundSourceException (Glib::ustring i_reason="")<br />

8.59.1 Constructor & Destructor Documentation<br />

8.59.1.1 <strong>JWS</strong>::SoundSourceException::SoundSourceException (Glib::ustring i_reason = "")<br />

[inline]<br />

The documentation for this class was generated from the following file:<br />

• SoundSource.h<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.60 <strong>JWS</strong>::SourceView Class <strong>Reference</strong> 145<br />

8.60 <strong>JWS</strong>::SourceView Class <strong>Reference</strong><br />

#include <br />

Public Member Functions<br />

• SourceView (SoundSource ∗source)<br />

Constructor for a SourceView.<br />

• virtual ∼SourceView ()<br />

• virtual bool on_delete_event (GdkEventAny ∗event)<br />

8.60.1 Constructor & Destructor Documentation<br />

8.60.1.1 <strong>JWS</strong>::SourceView::SourceView (SoundSource ∗ source)<br />

Constructor for a SourceView.<br />

Parameters:<br />

source is owned by the SourceView object which is responsible for destroying it<br />

8.60.1.2 <strong>JWS</strong>::SourceView::∼SourceView () [virtual]<br />

8.60.2 Member Function Documentation<br />

8.60.2.1 bool <strong>JWS</strong>::SourceView::on_delete_event (GdkEventAny ∗ event) [virtual]<br />

The documentation for this class was generated from the following files:<br />

• SourceView.h<br />

• SourceView.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


146 <strong>JWS</strong> Class Documentation<br />

8.61 <strong>JWS</strong>::SpectrumView Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::SpectrumView::<br />

<strong>JWS</strong>::View<br />

<strong>JWS</strong>::View1D<br />

<strong>JWS</strong>::SpectrumView<br />

Public Member Functions<br />

• SpectrumView (STTransform ∗transform, int time)<br />

Constructor <strong>of</strong> a SpectrumView that will display the spectrum <strong>of</strong> a specified time in a STTransform.<br />

• virtual Glib::ustring getName ()<br />

• virtual void getValueRange (double &min, double &max, double x0=-DBL_MAX, double<br />

x1=DBL_MAX)<br />

Return the value range for the specified domain.<br />

• virtual void getValueRangeConsidered (double &min, double &max)<br />

• virtual double getValue (double x)<br />

Returns value for specified position.<br />

• virtual Glib::ustring getUnitX ()<br />

• virtual Glib::ustring getUnitValues ()<br />

• virtual Glib::ustring getScaleNameX ()<br />

• virtual Glib::ustring getScaleNameValues ()<br />

8.61.1 Constructor & Destructor Documentation<br />

8.61.1.1 <strong>JWS</strong>::SpectrumView::SpectrumView (STTransform ∗ transform, int time)<br />

Constructor <strong>of</strong> a SpectrumView that will display the spectrum <strong>of</strong> a specified time in a STTransform.<br />

Parameters:<br />

transform Aggregate, not owned / deleted by this View<br />

time The discrete coefficient number in time domain<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.61 <strong>JWS</strong>::SpectrumView Class <strong>Reference</strong> 147<br />

8.61.2 Member Function Documentation<br />

8.61.2.1 Glib::ustring <strong>JWS</strong>::SpectrumView::getName () [virtual]<br />

Implements <strong>JWS</strong>::View1D.<br />

8.61.2.2 Glib::ustring <strong>JWS</strong>::SpectrumView::getScaleNameValues () [virtual]<br />

Implements <strong>JWS</strong>::View1D.<br />

8.61.2.3 Glib::ustring <strong>JWS</strong>::SpectrumView::getScaleNameX () [virtual]<br />

Implements <strong>JWS</strong>::View1D.<br />

8.61.2.4 Glib::ustring <strong>JWS</strong>::SpectrumView::getUnitValues () [virtual]<br />

Implements <strong>JWS</strong>::View1D.<br />

8.61.2.5 Glib::ustring <strong>JWS</strong>::SpectrumView::getUnitX () [virtual]<br />

Implements <strong>JWS</strong>::View1D.<br />

8.61.2.6 double <strong>JWS</strong>::SpectrumView::getValue (double x) [virtual]<br />

Returns value for specified position.<br />

Implements <strong>JWS</strong>::View1D.<br />

8.61.2.7 void <strong>JWS</strong>::SpectrumView::getValueRange (double & min, double & max, double x0 =<br />

-DBL_MAX, double x1 = DBL_MAX) [virtual]<br />

Return the value range for the specified domain.<br />

If no domain is specified, return total range to be considered. If domain width is zero, an exact result is<br />

returned in min (== max).<br />

Implements <strong>JWS</strong>::View1D.<br />

8.61.2.8 void <strong>JWS</strong>::SpectrumView::getValueRangeConsidered (double & min, double & max)<br />

[virtual]<br />

Returns:<br />

the range to be considered (on a scale).<br />

Includes the range returned by getValueRange()<br />

Implements <strong>JWS</strong>::View1D.<br />

The documentation for this class was generated from the following files:<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


148 <strong>JWS</strong> Class Documentation<br />

• SpectrumView.h<br />

• SpectrumView.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.62 <strong>JWS</strong>::Staccato Class <strong>Reference</strong> 149<br />

8.62 <strong>JWS</strong>::Staccato Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Staccato::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::Accentuation<br />

<strong>JWS</strong>::Staccato<br />

Public Member Functions<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

8.62.1 Member Function Documentation<br />

8.62.1.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::Staccato::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Implements <strong>JWS</strong>::ScoreElement.<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


150 <strong>JWS</strong> Class Documentation<br />

8.63 <strong>JWS</strong>::STACQT Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::STACQT::<br />

<strong>JWS</strong>::Computation<br />

<strong>JWS</strong>::STTransform<br />

<strong>JWS</strong>::STACQT<br />

Public Member Functions<br />

• STACQT (SoundSource ∗source, double frequency_A=440.0)<br />

• virtual ∼STACQT ()<br />

• virtual int getNumberOfTimes ()<br />

Returns the number <strong>of</strong> represented distinct times (-> time domain).<br />

• virtual int getNumberOfBands ()<br />

Returns the number <strong>of</strong> represented bands (-> frequency domain).<br />

• virtual double getFrequencyOfBand (int band)<br />

Calculates the frequency <strong>of</strong> a specified band.<br />

• virtual double getTimeSpacing ()<br />

• virtual double getTime (int time)<br />

Returns the time in seconds by means <strong>of</strong> a discrete time.<br />

• virtual double getCoefficient (int time, int band)<br />

• virtual Glib::ustring getName ()<br />

• double getMaxResultValue ()<br />

Returns the maximum amplitude <strong>of</strong> all bands and times.<br />

• virtual double getBandsPerSemitone ()<br />

Return number <strong>of</strong> bands per semitone.<br />

• virtual void getSpectrum (int time, double ∗data)<br />

Returns spectrum at specified time.<br />

Protected Member Functions<br />

• virtual void doPrepare ()<br />

• virtual void doCalculate ()<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.63 <strong>JWS</strong>::STACQT Class <strong>Reference</strong> 151<br />

8.63.1 Constructor & Destructor Documentation<br />

8.63.1.1 <strong>JWS</strong>::STACQT::STACQT (SoundSource ∗ source, double frequency_A = 440.0)<br />

8.63.1.2 <strong>JWS</strong>::STACQT::∼STACQT () [virtual]<br />

8.63.2 Member Function Documentation<br />

8.63.2.1 void <strong>JWS</strong>::STACQT::doCalculate () [protected, virtual]<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.63.2.2 void <strong>JWS</strong>::STACQT::doPrepare () [protected, virtual]<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.63.2.3 double <strong>JWS</strong>::STACQT::getBandsPerSemitone () [virtual]<br />

Return number <strong>of</strong> bands per semitone.<br />

-1 if no constant value available<br />

Reimplemented from <strong>JWS</strong>::STTransform.<br />

8.63.2.4 double <strong>JWS</strong>::STACQT::getCoefficient (int time, int band) [virtual]<br />

Parameters:<br />

time Discrete time; number <strong>of</strong> coefficient in time domain (0-based)<br />

band Discrete frequency; number <strong>of</strong> coefficient in frequency domain (0-based)<br />

Returns:<br />

The coefficient, normalized: 0.0 .. 1.0<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.63.2.5 double <strong>JWS</strong>::STACQT::getFrequencyOfBand (int band) [virtual]<br />

Calculates the frequency <strong>of</strong> a specified band.<br />

This method must also work outside <strong>of</strong> the defined frequency interval <strong>of</strong> this transform.<br />

Returns:<br />

The frequency <strong>of</strong> a certain band (discrete frequency) in Hertz<br />

Implements <strong>JWS</strong>::STTransform.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


152 <strong>JWS</strong> Class Documentation<br />

8.63.2.6 double <strong>JWS</strong>::STACQT::getMaxResultValue () [virtual]<br />

Returns the maximum amplitude <strong>of</strong> all bands and times.<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.63.2.7 Glib::ustring <strong>JWS</strong>::STACQT::getName () [virtual]<br />

Returns:<br />

The name <strong>of</strong> this object, e.g. "STFFT: whispernot.wav (downmix)"<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.63.2.8 int <strong>JWS</strong>::STACQT::getNumberOfBands () [virtual]<br />

Returns the number <strong>of</strong> represented bands (-> frequency domain).<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.63.2.9 int <strong>JWS</strong>::STACQT::getNumberOfTimes () [virtual]<br />

Returns the number <strong>of</strong> represented distinct times (-> time domain).<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.63.2.10 void <strong>JWS</strong>::STACQT::getSpectrum (int time, double ∗ data) [virtual]<br />

Returns spectrum at specified time.<br />

Default implementation provided, to be overridden by derived classes for efficiency reasons.<br />

Parameters:<br />

time The discrete time to consider<br />

data Vector allocated by caller, size must be getNumberOfBands()<br />

Reimplemented from <strong>JWS</strong>::STTransform.<br />

8.63.2.11 double <strong>JWS</strong>::STACQT::getTime (int time) [virtual]<br />

Returns the time in seconds by means <strong>of</strong> a discrete time.<br />

This method must also work outside <strong>of</strong> the defined analysis interval.<br />

Parameters:<br />

time The discrete time; number <strong>of</strong> coefficient (0-based)<br />

Returns:<br />

Time in seconds, e.g. for STFFT, the middle <strong>of</strong> the window<br />

Implements <strong>JWS</strong>::STTransform.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.63 <strong>JWS</strong>::STACQT Class <strong>Reference</strong> 153<br />

8.63.2.12 double <strong>JWS</strong>::STACQT::getTimeSpacing () [virtual]<br />

Returns:<br />

The basic spacing in the time domain in seconds<br />

Implements <strong>JWS</strong>::STTransform.<br />

The documentation for this class was generated from the following files:<br />

• STACQT.h<br />

• STACQT.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


154 <strong>JWS</strong> Class Documentation<br />

8.64 <strong>JWS</strong>::STACQTView Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::STACQTView::<br />

<strong>JWS</strong>::View<br />

<strong>JWS</strong>::View2D<br />

<strong>JWS</strong>::ComputationView<br />

<strong>JWS</strong>::STTransformView<br />

<strong>JWS</strong>::STACQTView<br />

Public Member Functions<br />

• STACQTView (SoundSource ∗source)<br />

8.64.1 Constructor & Destructor Documentation<br />

8.64.1.1 <strong>JWS</strong>::STACQTView::STACQTView (SoundSource ∗ source)<br />

The documentation for this class was generated from the following files:<br />

• STACQTView.h<br />

• STACQTView.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.65 <strong>JWS</strong>::STCQT Class <strong>Reference</strong> 155<br />

8.65 <strong>JWS</strong>::STCQT Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::STCQT::<br />

<strong>JWS</strong>::Computation<br />

<strong>JWS</strong>::STTransform<br />

<strong>JWS</strong>::STCQT<br />

Public Member Functions<br />

• STCQT (SoundSource ∗source, double frequency_A=440.0)<br />

• virtual ∼STCQT ()<br />

• virtual int getNumberOfTimes ()<br />

Returns the number <strong>of</strong> represented distinct times (-> time domain).<br />

• virtual int getNumberOfBands ()<br />

Returns the number <strong>of</strong> represented bands (-> frequency domain).<br />

• virtual double getFrequencyOfBand (int band)<br />

Calculates the frequency <strong>of</strong> a specified band.<br />

• virtual double getTimeSpacing ()<br />

• virtual double getTime (int time)<br />

Returns the time in seconds by means <strong>of</strong> a discrete time.<br />

• virtual double getCoefficient (int time, int band)<br />

• virtual Glib::ustring getName ()<br />

• double getMaxResultValue ()<br />

Returns the maximum amplitude <strong>of</strong> all bands and times.<br />

• virtual double getBandsPerSemitone ()<br />

Return number <strong>of</strong> bands per semitone.<br />

• virtual void getSpectrum (int time, double ∗data)<br />

Returns spectrum at specified time.<br />

Protected Member Functions<br />

• virtual void doPrepare ()<br />

• virtual void doCalculate ()<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


156 <strong>JWS</strong> Class Documentation<br />

8.65.1 Constructor & Destructor Documentation<br />

8.65.1.1 <strong>JWS</strong>::STCQT::STCQT (SoundSource ∗ source, double frequency_A = 440.0)<br />

8.65.1.2 <strong>JWS</strong>::STCQT::∼STCQT () [virtual]<br />

8.65.2 Member Function Documentation<br />

8.65.2.1 void <strong>JWS</strong>::STCQT::doCalculate () [protected, virtual]<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.65.2.2 void <strong>JWS</strong>::STCQT::doPrepare () [protected, virtual]<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.65.2.3 double <strong>JWS</strong>::STCQT::getBandsPerSemitone () [virtual]<br />

Return number <strong>of</strong> bands per semitone.<br />

-1 if no constant value available<br />

Reimplemented from <strong>JWS</strong>::STTransform.<br />

8.65.2.4 double <strong>JWS</strong>::STCQT::getCoefficient (int time, int band) [virtual]<br />

Parameters:<br />

time Discrete time; number <strong>of</strong> coefficient in time domain (0-based)<br />

band Discrete frequency; number <strong>of</strong> coefficient in frequency domain (0-based)<br />

Returns:<br />

The coefficient, normalized: 0.0 .. 1.0<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.65.2.5 double <strong>JWS</strong>::STCQT::getFrequencyOfBand (int band) [virtual]<br />

Calculates the frequency <strong>of</strong> a specified band.<br />

This method must also work outside <strong>of</strong> the defined frequency interval <strong>of</strong> this transform.<br />

Returns:<br />

The frequency <strong>of</strong> a certain band (discrete frequency) in Hertz<br />

Implements <strong>JWS</strong>::STTransform.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.65 <strong>JWS</strong>::STCQT Class <strong>Reference</strong> 157<br />

8.65.2.6 double <strong>JWS</strong>::STCQT::getMaxResultValue () [virtual]<br />

Returns the maximum amplitude <strong>of</strong> all bands and times.<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.65.2.7 Glib::ustring <strong>JWS</strong>::STCQT::getName () [virtual]<br />

Returns:<br />

The name <strong>of</strong> this object, e.g. "STFFT: whispernot.wav (downmix)"<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.65.2.8 int <strong>JWS</strong>::STCQT::getNumberOfBands () [virtual]<br />

Returns the number <strong>of</strong> represented bands (-> frequency domain).<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.65.2.9 int <strong>JWS</strong>::STCQT::getNumberOfTimes () [virtual]<br />

Returns the number <strong>of</strong> represented distinct times (-> time domain).<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.65.2.10 void <strong>JWS</strong>::STCQT::getSpectrum (int time, double ∗ data) [virtual]<br />

Returns spectrum at specified time.<br />

Default implementation provided, to be overridden by derived classes for efficiency reasons.<br />

Parameters:<br />

time The discrete time to consider<br />

data Vector allocated by caller, size must be getNumberOfBands()<br />

Reimplemented from <strong>JWS</strong>::STTransform.<br />

8.65.2.11 double <strong>JWS</strong>::STCQT::getTime (int time) [virtual]<br />

Returns the time in seconds by means <strong>of</strong> a discrete time.<br />

This method must also work outside <strong>of</strong> the defined analysis interval.<br />

Parameters:<br />

time The discrete time; number <strong>of</strong> coefficient (0-based)<br />

Returns:<br />

Time in seconds, e.g. for STFFT, the middle <strong>of</strong> the window<br />

Implements <strong>JWS</strong>::STTransform.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


158 <strong>JWS</strong> Class Documentation<br />

8.65.2.12 double <strong>JWS</strong>::STCQT::getTimeSpacing () [virtual]<br />

Returns:<br />

The basic spacing in the time domain in seconds<br />

Implements <strong>JWS</strong>::STTransform.<br />

The documentation for this class was generated from the following files:<br />

• STCQT.h<br />

• STCQT.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.66 <strong>JWS</strong>::STCQTView Class <strong>Reference</strong> 159<br />

8.66 <strong>JWS</strong>::STCQTView Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::STCQTView::<br />

<strong>JWS</strong>::View<br />

<strong>JWS</strong>::View2D<br />

<strong>JWS</strong>::ComputationView<br />

<strong>JWS</strong>::STTransformView<br />

<strong>JWS</strong>::STCQTView<br />

Public Member Functions<br />

• STCQTView (SoundSource ∗source)<br />

8.66.1 Constructor & Destructor Documentation<br />

8.66.1.1 <strong>JWS</strong>::STCQTView::STCQTView (SoundSource ∗ source)<br />

The documentation for this class was generated from the following files:<br />

• STCQTView.h<br />

• STCQTView.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


160 <strong>JWS</strong> Class Documentation<br />

8.67 <strong>JWS</strong>::STFCQT Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::STFCQT::<br />

<strong>JWS</strong>::Computation<br />

<strong>JWS</strong>::STTransform<br />

<strong>JWS</strong>::STFCQT<br />

Public Member Functions<br />

• STFCQT (SoundSource ∗source, double frequency_A=440.0)<br />

• virtual ∼STFCQT ()<br />

• virtual int getNumberOfTimes ()<br />

Returns the number <strong>of</strong> represented distinct times (-> time domain).<br />

• virtual int getNumberOfBands ()<br />

Returns the number <strong>of</strong> represented bands (-> frequency domain).<br />

• virtual double getFrequencyOfBand (int band)<br />

Calculates the frequency <strong>of</strong> a specified band.<br />

• virtual double getTimeSpacing ()<br />

• virtual double getTime (int time)<br />

Returns the time in seconds by means <strong>of</strong> a discrete time.<br />

• virtual double getCoefficient (int time, int band)<br />

• virtual Glib::ustring getName ()<br />

• double getMaxResultValue ()<br />

Returns the maximum amplitude <strong>of</strong> all bands and times.<br />

• virtual double getBandsPerSemitone ()<br />

Return number <strong>of</strong> bands per semitone.<br />

• virtual void getSpectrum (int time, double ∗data)<br />

Returns spectrum at specified time.<br />

Protected Member Functions<br />

• virtual void doPrepare ()<br />

• virtual void doCalculate ()<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.67 <strong>JWS</strong>::STFCQT Class <strong>Reference</strong> 161<br />

8.67.1 Constructor & Destructor Documentation<br />

8.67.1.1 <strong>JWS</strong>::STFCQT::STFCQT (SoundSource ∗ source, double frequency_A = 440.0)<br />

8.67.1.2 <strong>JWS</strong>::STFCQT::∼STFCQT () [virtual]<br />

8.67.2 Member Function Documentation<br />

8.67.2.1 void <strong>JWS</strong>::STFCQT::doCalculate () [protected, virtual]<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.67.2.2 void <strong>JWS</strong>::STFCQT::doPrepare () [protected, virtual]<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.67.2.3 double <strong>JWS</strong>::STFCQT::getBandsPerSemitone () [virtual]<br />

Return number <strong>of</strong> bands per semitone.<br />

-1 if no constant value available<br />

Reimplemented from <strong>JWS</strong>::STTransform.<br />

8.67.2.4 double <strong>JWS</strong>::STFCQT::getCoefficient (int time, int band) [virtual]<br />

Parameters:<br />

time Discrete time; number <strong>of</strong> coefficient in time domain (0-based)<br />

band Discrete frequency; number <strong>of</strong> coefficient in frequency domain (0-based)<br />

Returns:<br />

The coefficient, normalized: 0.0 .. 1.0<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.67.2.5 double <strong>JWS</strong>::STFCQT::getFrequencyOfBand (int band) [virtual]<br />

Calculates the frequency <strong>of</strong> a specified band.<br />

This method must also work outside <strong>of</strong> the defined frequency interval <strong>of</strong> this transform.<br />

Returns:<br />

The frequency <strong>of</strong> a certain band (discrete frequency) in Hertz<br />

Implements <strong>JWS</strong>::STTransform.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


162 <strong>JWS</strong> Class Documentation<br />

8.67.2.6 double <strong>JWS</strong>::STFCQT::getMaxResultValue () [virtual]<br />

Returns the maximum amplitude <strong>of</strong> all bands and times.<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.67.2.7 Glib::ustring <strong>JWS</strong>::STFCQT::getName () [virtual]<br />

Returns:<br />

The name <strong>of</strong> this object, e.g. "STFFT: whispernot.wav (downmix)"<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.67.2.8 int <strong>JWS</strong>::STFCQT::getNumberOfBands () [virtual]<br />

Returns the number <strong>of</strong> represented bands (-> frequency domain).<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.67.2.9 int <strong>JWS</strong>::STFCQT::getNumberOfTimes () [virtual]<br />

Returns the number <strong>of</strong> represented distinct times (-> time domain).<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.67.2.10 void <strong>JWS</strong>::STFCQT::getSpectrum (int time, double ∗ data) [virtual]<br />

Returns spectrum at specified time.<br />

Default implementation provided, to be overridden by derived classes for efficiency reasons.<br />

Parameters:<br />

time The discrete time to consider<br />

data Vector allocated by caller, size must be getNumberOfBands()<br />

Reimplemented from <strong>JWS</strong>::STTransform.<br />

8.67.2.11 double <strong>JWS</strong>::STFCQT::getTime (int time) [virtual]<br />

Returns the time in seconds by means <strong>of</strong> a discrete time.<br />

This method must also work outside <strong>of</strong> the defined analysis interval.<br />

Parameters:<br />

time The discrete time; number <strong>of</strong> coefficient (0-based)<br />

Returns:<br />

Time in seconds, e.g. for STFFT, the middle <strong>of</strong> the window<br />

Implements <strong>JWS</strong>::STTransform.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.67 <strong>JWS</strong>::STFCQT Class <strong>Reference</strong> 163<br />

8.67.2.12 double <strong>JWS</strong>::STFCQT::getTimeSpacing () [virtual]<br />

Returns:<br />

The basic spacing in the time domain in seconds<br />

Implements <strong>JWS</strong>::STTransform.<br />

The documentation for this class was generated from the following files:<br />

• STFCQT.h<br />

• STFCQT.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


164 <strong>JWS</strong> Class Documentation<br />

8.68 <strong>JWS</strong>::STFCQTView Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::STFCQTView::<br />

<strong>JWS</strong>::View<br />

<strong>JWS</strong>::View2D<br />

<strong>JWS</strong>::ComputationView<br />

<strong>JWS</strong>::STTransformView<br />

<strong>JWS</strong>::STFCQTView<br />

Public Member Functions<br />

• STFCQTView (SoundSource ∗source)<br />

8.68.1 Constructor & Destructor Documentation<br />

8.68.1.1 <strong>JWS</strong>::STFCQTView::STFCQTView (SoundSource ∗ source)<br />

The documentation for this class was generated from the following files:<br />

• STFCQTView.h<br />

• STFCQTView.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.69 <strong>JWS</strong>::STFFT Class <strong>Reference</strong> 165<br />

8.69 <strong>JWS</strong>::STFFT Class <strong>Reference</strong><br />

STFFT with adjacent windows overlapping 50% Window function: Hann (the default FFT window).<br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::STFFT::<br />

<strong>JWS</strong>::Computation<br />

<strong>JWS</strong>::STTransform<br />

<strong>JWS</strong>::STFFT<br />

Public Member Functions<br />

• STFFT (SoundSource ∗source, double timespacing=0.01)<br />

Constructor for a STFFT object.<br />

• virtual ∼STFFT ()<br />

• virtual int getNumberOfTimes ()<br />

Returns the number <strong>of</strong> represented distinct times (-> time domain).<br />

• virtual int getNumberOfBands ()<br />

Returns the number <strong>of</strong> represented bands (-> frequency domain).<br />

• virtual double getFrequencyOfBand (int band)<br />

Calculates the frequency <strong>of</strong> a specified band.<br />

• virtual double getTimeSpacing ()<br />

• virtual double getTime (int time)<br />

Returns the time in seconds by means <strong>of</strong> a discrete time.<br />

• virtual double getCoefficient (int time, int band)<br />

• virtual Glib::ustring getName ()<br />

• double getMaxResultValue ()<br />

Returns the maximum amplitude <strong>of</strong> all bands and times.<br />

Protected Member Functions<br />

• virtual void doPrepare ()<br />

• virtual void doCalculate ()<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


166 <strong>JWS</strong> Class Documentation<br />

8.69.1 Detailed Description<br />

STFFT with adjacent windows overlapping 50% Window function: Hann (the default FFT window).<br />

8.69.2 Constructor & Destructor Documentation<br />

8.69.2.1 <strong>JWS</strong>::STFFT::STFFT (SoundSource ∗ source, double timespacing = 0.01)<br />

Constructor for a STFFT object.<br />

Parameters:<br />

source The SoundSource now owned by the STFFT object<br />

timespacing Time in seconds between (overlapping) window centers<br />

Note:<br />

The parameter timespacing is just a hint for the constructor. The actual window width and therefore<br />

number <strong>of</strong> bands is adjusted to appropriate sizes. Therefore, the real spacing may be slightly different.<br />

8.69.2.2 <strong>JWS</strong>::STFFT::∼STFFT () [virtual]<br />

8.69.3 Member Function Documentation<br />

8.69.3.1 void <strong>JWS</strong>::STFFT::doCalculate () [protected, virtual]<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.69.3.2 void <strong>JWS</strong>::STFFT::doPrepare () [protected, virtual]<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.69.3.3 double <strong>JWS</strong>::STFFT::getCoefficient (int time, int band) [virtual]<br />

Parameters:<br />

time Discrete time; number <strong>of</strong> coefficient in time domain (0-based)<br />

band Discrete frequency; number <strong>of</strong> coefficient in frequency domain (0-based)<br />

Returns:<br />

The coefficient, normalized: 0.0 .. 1.0<br />

Implements <strong>JWS</strong>::STTransform.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.69 <strong>JWS</strong>::STFFT Class <strong>Reference</strong> 167<br />

8.69.3.4 double <strong>JWS</strong>::STFFT::getFrequencyOfBand (int band) [virtual]<br />

Calculates the frequency <strong>of</strong> a specified band.<br />

This method must also work outside <strong>of</strong> the defined frequency interval <strong>of</strong> this transform.<br />

Returns:<br />

The frequency <strong>of</strong> a certain band (discrete frequency) in Hertz<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.69.3.5 double <strong>JWS</strong>::STFFT::getMaxResultValue () [virtual]<br />

Returns the maximum amplitude <strong>of</strong> all bands and times.<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.69.3.6 Glib::ustring <strong>JWS</strong>::STFFT::getName () [virtual]<br />

Returns:<br />

The name <strong>of</strong> this object, e.g. "STFFT: whispernot.wav (downmix)"<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.69.3.7 int <strong>JWS</strong>::STFFT::getNumberOfBands () [virtual]<br />

Returns the number <strong>of</strong> represented bands (-> frequency domain).<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.69.3.8 int <strong>JWS</strong>::STFFT::getNumberOfTimes () [virtual]<br />

Returns the number <strong>of</strong> represented distinct times (-> time domain).<br />

Implements <strong>JWS</strong>::STTransform.<br />

8.69.3.9 double <strong>JWS</strong>::STFFT::getTime (int time) [virtual]<br />

Returns the time in seconds by means <strong>of</strong> a discrete time.<br />

This method must also work outside <strong>of</strong> the defined analysis interval.<br />

Parameters:<br />

time The discrete time; number <strong>of</strong> coefficient (0-based)<br />

Returns:<br />

Time in seconds, e.g. for STFFT, the middle <strong>of</strong> the window<br />

Implements <strong>JWS</strong>::STTransform.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


168 <strong>JWS</strong> Class Documentation<br />

8.69.3.10 double <strong>JWS</strong>::STFFT::getTimeSpacing () [virtual]<br />

Returns:<br />

The basic spacing in the time domain in seconds<br />

Implements <strong>JWS</strong>::STTransform.<br />

The documentation for this class was generated from the following files:<br />

• STFFT.h<br />

• STFFT.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.70 <strong>JWS</strong>::STFFTView Class <strong>Reference</strong> 169<br />

8.70 <strong>JWS</strong>::STFFTView Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::STFFTView::<br />

<strong>JWS</strong>::View<br />

<strong>JWS</strong>::View2D<br />

<strong>JWS</strong>::ComputationView<br />

<strong>JWS</strong>::STTransformView<br />

<strong>JWS</strong>::STFFTView<br />

Public Member Functions<br />

• STFFTView (SoundSource ∗source)<br />

8.70.1 Constructor & Destructor Documentation<br />

8.70.1.1 <strong>JWS</strong>::STFFTView::STFFTView (SoundSource ∗ source)<br />

The documentation for this class was generated from the following files:<br />

• STFFTView.h<br />

• STFFTView.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


170 <strong>JWS</strong> Class Documentation<br />

8.71 <strong>JWS</strong>::STTransform Class <strong>Reference</strong><br />

A calculation <strong>of</strong> a Short Time transform.<br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::STTransform::<br />

<strong>JWS</strong>::Computation<br />

<strong>JWS</strong>::STTransform<br />

<strong>JWS</strong>::STACQT <strong>JWS</strong>::STCQT <strong>JWS</strong>::STFCQT <strong>JWS</strong>::STFFT<br />

Public Member Functions<br />

• virtual ∼STTransform ()<br />

• double getPreparationTime ()<br />

• double getComputationTime ()<br />

• virtual int getNumberOfTimes ()=0<br />

Returns the number <strong>of</strong> represented distinct times (-> time domain).<br />

• virtual int getNumberOfBands ()=0<br />

Returns the number <strong>of</strong> represented bands (-> frequency domain).<br />

• virtual double getFrequencyOfBand (int band)=0<br />

Calculates the frequency <strong>of</strong> a specified band.<br />

• virtual double getTimeSpacing ()=0<br />

• virtual double getTime (int time)=0<br />

Returns the time in seconds by means <strong>of</strong> a discrete time.<br />

• virtual double getCoefficient (int time, int band)=0<br />

• virtual Glib::ustring getName ()=0<br />

• virtual double getMaxResultValue ()=0<br />

Returns the maximum amplitude <strong>of</strong> all bands and times.<br />

• virtual void getSpectrum (int time, double ∗data)<br />

Returns spectrum at specified time.<br />

• double getMinValueOfTime (int time)<br />

• double getMaxValueOfTime (int time)<br />

• double getMinValueOfBand (int band)<br />

• double getMaxValueOfBand (int band)<br />

• virtual double getBandsPerSemitone ()<br />

Return number <strong>of</strong> bands per semitone.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.71 <strong>JWS</strong>::STTransform Class <strong>Reference</strong> 171<br />

Protected Member Functions<br />

• STTransform (SoundSource ∗source)<br />

Constructor.<br />

• virtual void doPrepare ()=0<br />

• virtual void doCalculate ()=0<br />

• virtual void doCompute ()<br />

Actual computation.<br />

• SoundSource ∗ getSource ()<br />

8.71.1 Detailed Description<br />

A calculation <strong>of</strong> a Short Time transform.<br />

8.71.2 Constructor & Destructor Documentation<br />

8.71.2.1 <strong>JWS</strong>::STTransform::∼STTransform () [virtual]<br />

8.71.2.2 <strong>JWS</strong>::STTransform::STTransform (SoundSource ∗ source) [protected]<br />

Constructor.<br />

Parameters:<br />

source Owned by this STTransform (-> deleted)<br />

8.71.3 Member Function Documentation<br />

8.71.3.1 virtual void <strong>JWS</strong>::STTransform::doCalculate () [protected, pure virtual]<br />

Implemented in <strong>JWS</strong>::STACQT, <strong>JWS</strong>::STCQT, <strong>JWS</strong>::STFCQT, and <strong>JWS</strong>::STFFT.<br />

8.71.3.2 void <strong>JWS</strong>::STTransform::doCompute () [protected, virtual]<br />

Actual computation.<br />

Overridden by derived implementation classes. Those must call elapseTime() for every partial computation.<br />

At least once.<br />

Implements <strong>JWS</strong>::Computation.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


172 <strong>JWS</strong> Class Documentation<br />

8.71.3.3 virtual void <strong>JWS</strong>::STTransform::doPrepare () [protected, pure virtual]<br />

Implemented in <strong>JWS</strong>::STACQT, <strong>JWS</strong>::STCQT, <strong>JWS</strong>::STFCQT, and <strong>JWS</strong>::STFFT.<br />

8.71.3.4 double <strong>JWS</strong>::STTransform::getBandsPerSemitone () [virtual]<br />

Return number <strong>of</strong> bands per semitone.<br />

-1 if no constant value available<br />

Reimplemented in <strong>JWS</strong>::STACQT, <strong>JWS</strong>::STCQT, and <strong>JWS</strong>::STFCQT.<br />

8.71.3.5 virtual double <strong>JWS</strong>::STTransform::getCoefficient (int time, int band) [pure<br />

virtual]<br />

Parameters:<br />

time Discrete time; number <strong>of</strong> coefficient in time domain (0-based)<br />

band Discrete frequency; number <strong>of</strong> coefficient in frequency domain (0-based)<br />

Returns:<br />

The coefficient, normalized: 0.0 .. 1.0<br />

Implemented in <strong>JWS</strong>::STACQT, <strong>JWS</strong>::STCQT, <strong>JWS</strong>::STFCQT, and <strong>JWS</strong>::STFFT.<br />

8.71.3.6 double <strong>JWS</strong>::STTransform::getComputationTime ()<br />

Returns:<br />

Time in seconds the computation itself needed<br />

Should be called only when progress == 1<br />

8.71.3.7 virtual double <strong>JWS</strong>::STTransform::getFrequencyOfBand (int band) [pure virtual]<br />

Calculates the frequency <strong>of</strong> a specified band.<br />

This method must also work outside <strong>of</strong> the defined frequency interval <strong>of</strong> this transform.<br />

Returns:<br />

The frequency <strong>of</strong> a certain band (discrete frequency) in Hertz<br />

Implemented in <strong>JWS</strong>::STACQT, <strong>JWS</strong>::STCQT, <strong>JWS</strong>::STFCQT, and <strong>JWS</strong>::STFFT.<br />

8.71.3.8 virtual double <strong>JWS</strong>::STTransform::getMaxResultValue () [pure virtual]<br />

Returns the maximum amplitude <strong>of</strong> all bands and times.<br />

Implemented in <strong>JWS</strong>::STACQT, <strong>JWS</strong>::STCQT, <strong>JWS</strong>::STFCQT, and <strong>JWS</strong>::STFFT.<br />

8.71.3.9 double <strong>JWS</strong>::STTransform::getMaxValueOfBand (int band)<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.71 <strong>JWS</strong>::STTransform Class <strong>Reference</strong> 173<br />

8.71.3.10 double <strong>JWS</strong>::STTransform::getMaxValueOfTime (int time)<br />

8.71.3.11 double <strong>JWS</strong>::STTransform::getMinValueOfBand (int band)<br />

8.71.3.12 double <strong>JWS</strong>::STTransform::getMinValueOfTime (int time)<br />

8.71.3.13 virtual Glib::ustring <strong>JWS</strong>::STTransform::getName () [pure virtual]<br />

Returns:<br />

The name <strong>of</strong> this object, e.g. "STFFT: whispernot.wav (downmix)"<br />

Implemented in <strong>JWS</strong>::STACQT, <strong>JWS</strong>::STCQT, <strong>JWS</strong>::STFCQT, and <strong>JWS</strong>::STFFT.<br />

8.71.3.14 virtual int <strong>JWS</strong>::STTransform::getNumberOfBands () [pure virtual]<br />

Returns the number <strong>of</strong> represented bands (-> frequency domain).<br />

Implemented in <strong>JWS</strong>::STACQT, <strong>JWS</strong>::STCQT, <strong>JWS</strong>::STFCQT, and <strong>JWS</strong>::STFFT.<br />

8.71.3.15 virtual int <strong>JWS</strong>::STTransform::getNumberOfTimes () [pure virtual]<br />

Returns the number <strong>of</strong> represented distinct times (-> time domain).<br />

Implemented in <strong>JWS</strong>::STACQT, <strong>JWS</strong>::STCQT, <strong>JWS</strong>::STFCQT, and <strong>JWS</strong>::STFFT.<br />

8.71.3.16 double <strong>JWS</strong>::STTransform::getPreparationTime ()<br />

Returns:<br />

Time in seconds the computation preparation needed<br />

Should be called only when progress == 1<br />

8.71.3.17 <strong>JWS</strong>::SoundSource ∗ <strong>JWS</strong>::STTransform::getSource () [protected]<br />

8.71.3.18 void <strong>JWS</strong>::STTransform::getSpectrum (int time, double ∗ data) [virtual]<br />

Returns spectrum at specified time.<br />

Default implementation provided, to be overridden by derived classes for efficiency reasons.<br />

Parameters:<br />

time The discrete time to consider<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


174 <strong>JWS</strong> Class Documentation<br />

data Vector allocated by caller, size must be getNumberOfBands()<br />

Reimplemented in <strong>JWS</strong>::STACQT, <strong>JWS</strong>::STCQT, and <strong>JWS</strong>::STFCQT.<br />

8.71.3.19 virtual double <strong>JWS</strong>::STTransform::getTime (int time) [pure virtual]<br />

Returns the time in seconds by means <strong>of</strong> a discrete time.<br />

This method must also work outside <strong>of</strong> the defined analysis interval.<br />

Parameters:<br />

time The discrete time; number <strong>of</strong> coefficient (0-based)<br />

Returns:<br />

Time in seconds, e.g. for STFFT, the middle <strong>of</strong> the window<br />

Implemented in <strong>JWS</strong>::STACQT, <strong>JWS</strong>::STCQT, <strong>JWS</strong>::STFCQT, and <strong>JWS</strong>::STFFT.<br />

8.71.3.20 virtual double <strong>JWS</strong>::STTransform::getTimeSpacing () [pure virtual]<br />

Returns:<br />

The basic spacing in the time domain in seconds<br />

Implemented in <strong>JWS</strong>::STACQT, <strong>JWS</strong>::STCQT, <strong>JWS</strong>::STFCQT, and <strong>JWS</strong>::STFFT.<br />

The documentation for this class was generated from the following files:<br />

• STTransform.h<br />

• STTransform.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.72 <strong>JWS</strong>::STTransformView Class <strong>Reference</strong> 175<br />

8.72 <strong>JWS</strong>::STTransformView Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::STTransformView::<br />

<strong>JWS</strong>::View<br />

<strong>JWS</strong>::View2D<br />

<strong>JWS</strong>::ComputationView<br />

<strong>JWS</strong>::STTransformView<br />

<strong>JWS</strong>::STACQTView <strong>JWS</strong>::STCQTView <strong>JWS</strong>::STFCQTView <strong>JWS</strong>::STFFTView<br />

Public Member Functions<br />

• Glib::ustring getName ()<br />

• virtual ∼STTransformView ()<br />

• virtual double getCoefficient (int x, int y)<br />

Convenience function.<br />

• virtual void getCoefficientRangeConsidered (double &min, double &max)<br />

Return range to be considered for ruler etc.<br />

• virtual double getScaleValueX (int x)<br />

• virtual double getScaleValueY (int y)<br />

See getScaleValueX().<br />

• virtual Glib::ustring getUnitX ()<br />

• virtual Glib::ustring getUnitY ()<br />

• virtual Glib::ustring getUnitValues ()<br />

• virtual Glib::ustring getScaleNameX ()<br />

• virtual Glib::ustring getScaleNameY ()<br />

• virtual Glib::ustring getScaleNameValues ()<br />

Protected Member Functions<br />

• STTransformView (STTransform ∗transform, ScaleType frequency_scale_type)<br />

Constructor.<br />

• void getResultSize (int &width, int &height)<br />

Returns result matrix size when computation is over.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


176 <strong>JWS</strong> Class Documentation<br />

• void onComputationReady ()<br />

Called after comoputation is ready.<br />

8.72.1 Constructor & Destructor Documentation<br />

8.72.1.1 <strong>JWS</strong>::STTransformView::∼STTransformView () [virtual]<br />

8.72.1.2 <strong>JWS</strong>::STTransformView::STTransformView (STTransform ∗ transform, ScaleType<br />

frequency_scale_type) [protected]<br />

Constructor.<br />

Parameters:<br />

transform Owned by this TransformView (-> deleted)<br />

8.72.2 Member Function Documentation<br />

8.72.2.1 double <strong>JWS</strong>::STTransformView::getCoefficient (int x, int y) [virtual]<br />

Convenience function.<br />

Returns:<br />

a value from underlying transform<br />

Implements <strong>JWS</strong>::View2D.<br />

8.72.2.2 void <strong>JWS</strong>::STTransformView::getCoefficientRangeConsidered (double & min, double &<br />

max) [virtual]<br />

Return range to be considered for ruler etc.<br />

Implements <strong>JWS</strong>::View2D.<br />

8.72.2.3 Glib::ustring <strong>JWS</strong>::STTransformView::getName () [virtual]<br />

Implements <strong>JWS</strong>::View2D.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.72 <strong>JWS</strong>::STTransformView Class <strong>Reference</strong> 177<br />

8.72.2.4 void <strong>JWS</strong>::STTransformView::getResultSize (int & width, int & height) [protected,<br />

virtual]<br />

Returns result matrix size when computation is over.<br />

Implements <strong>JWS</strong>::ComputationView.<br />

8.72.2.5 Glib::ustring <strong>JWS</strong>::STTransformView::getScaleNameValues () [virtual]<br />

Implements <strong>JWS</strong>::View2D.<br />

8.72.2.6 Glib::ustring <strong>JWS</strong>::STTransformView::getScaleNameX () [virtual]<br />

Implements <strong>JWS</strong>::View2D.<br />

8.72.2.7 Glib::ustring <strong>JWS</strong>::STTransformView::getScaleNameY () [virtual]<br />

Implements <strong>JWS</strong>::View2D.<br />

8.72.2.8 double <strong>JWS</strong>::STTransformView::getScaleValueX (int x) [virtual]<br />

Returns:<br />

the real value <strong>of</strong> the specified coefficient.<br />

The coefficient number is counted in whole transform.<br />

Implements <strong>JWS</strong>::View2D.<br />

8.72.2.9 double <strong>JWS</strong>::STTransformView::getScaleValueY (int y) [virtual]<br />

See getScaleValueX().<br />

Implements <strong>JWS</strong>::View2D.<br />

8.72.2.10 Glib::ustring <strong>JWS</strong>::STTransformView::getUnitValues () [virtual]<br />

Implements <strong>JWS</strong>::View2D.<br />

8.72.2.11 Glib::ustring <strong>JWS</strong>::STTransformView::getUnitX () [virtual]<br />

Implements <strong>JWS</strong>::View2D.<br />

8.72.2.12 Glib::ustring <strong>JWS</strong>::STTransformView::getUnitY () [virtual]<br />

Implements <strong>JWS</strong>::View2D.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


178 <strong>JWS</strong> Class Documentation<br />

8.72.2.13 void <strong>JWS</strong>::STTransformView::onComputationReady () [protected, virtual]<br />

Called after comoputation is ready.<br />

Useful to override. Derived classes’ functions should call overridden functions.<br />

Reimplemented from <strong>JWS</strong>::ComputationView.<br />

The documentation for this class was generated from the following files:<br />

• STTransformView.h<br />

• STTransformView.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.73 <strong>JWS</strong>::TemporalScoreElement Class <strong>Reference</strong> 179<br />

8.73 <strong>JWS</strong>::TemporalScoreElement Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::TemporalScoreElement::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::TemporalScoreElement<br />

<strong>JWS</strong>::InvisibleRest <strong>JWS</strong>::Note <strong>JWS</strong>::Rest<br />

Public Member Functions<br />

• void setLength (double length)<br />

Set musical length.<br />

• double getLength ()<br />

Get musical length.<br />

• Glib::ustring getType ()<br />

Returns MusicXML conformant type name.<br />

• int getNumberOfDots ()<br />

Returns number <strong>of</strong> notation dots.<br />

• TemporalScoreElement ∗ splitMusicalElement ()<br />

Splits note/whatever so that a musically representable (with dots) note length results.<br />

Protected Member Functions<br />

• TemporalScoreElement (double length)<br />

Protected constructor: don’t instantiate this directly!<br />

8.73.1 Constructor & Destructor Documentation<br />

8.73.1.1 <strong>JWS</strong>::TemporalScoreElement::TemporalScoreElement (double length) [protected]<br />

Protected constructor: don’t instantiate this directly!<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


180 <strong>JWS</strong> Class Documentation<br />

8.73.2 Member Function Documentation<br />

8.73.2.1 double <strong>JWS</strong>::TemporalScoreElement::getLength ()<br />

Get musical length.<br />

See setLength()<br />

8.73.2.2 int <strong>JWS</strong>::TemporalScoreElement::getNumberOfDots ()<br />

Returns number <strong>of</strong> notation dots.<br />

Relates to getType().<br />

Returns:<br />

number <strong>of</strong> dots, -1 if not representable as musical note<br />

8.73.2.3 Glib::ustring <strong>JWS</strong>::TemporalScoreElement::getType ()<br />

Returns MusicXML conformant type name.<br />

"whole", "half", "quarter", "eighth", "16th", "32nd", "64th", "128th", "256th" "" if not representable as<br />

dotted musical note See also getNumberOfDots()<br />

8.73.2.4 void <strong>JWS</strong>::TemporalScoreElement::setLength (double length)<br />

Set musical length.<br />

e.g. 1.0, 1.0/2, 1.0/4, 1.0/8, ...<br />

8.73.2.5 <strong>JWS</strong>::TemporalScoreElement ∗ <strong>JWS</strong>::TemporalScoreElement::splitMusicalElement ()<br />

Splits note/whatever so that a musically representable (with dots) note length results.<br />

Length will be changed.<br />

Returns:<br />

remainder<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.74 <strong>JWS</strong>::TimeSignature Class <strong>Reference</strong> 181<br />

8.74 <strong>JWS</strong>::TimeSignature Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::TimeSignature::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::VoiceAttribute<br />

<strong>JWS</strong>::TimeSignature<br />

Public Member Functions<br />

• TimeSignature (int numerator, int denominator)<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

• void setNumerator (int numerator)<br />

• int getNumerator ()<br />

• void setDenominator (int denominator)<br />

• int getDenominator ()<br />

8.74.1 Constructor & Destructor Documentation<br />

8.74.1.1 <strong>JWS</strong>::TimeSignature::TimeSignature (int numerator, int denominator)<br />

8.74.2 Member Function Documentation<br />

8.74.2.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::TimeSignature::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Implements <strong>JWS</strong>::ScoreElement.<br />

8.74.2.2 int <strong>JWS</strong>::TimeSignature::getDenominator ()<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


182 <strong>JWS</strong> Class Documentation<br />

8.74.2.3 int <strong>JWS</strong>::TimeSignature::getNumerator ()<br />

8.74.2.4 void <strong>JWS</strong>::TimeSignature::setDenominator (int denominator)<br />

8.74.2.5 void <strong>JWS</strong>::TimeSignature::setNumerator (int numerator)<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.75 <strong>JWS</strong>::View Class <strong>Reference</strong> 183<br />

8.75 <strong>JWS</strong>::View Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::View::<br />

<strong>JWS</strong>::View<br />

<strong>JWS</strong>::View1D<br />

<strong>JWS</strong>::View2D<br />

<strong>JWS</strong>::SpectrumView <strong>JWS</strong>::WaveformView <strong>JWS</strong>::ComputationView<br />

<strong>JWS</strong>::AMTView<br />

<strong>JWS</strong>::STTransformView<br />

<strong>JWS</strong>::STACQTView <strong>JWS</strong>::STCQTView <strong>JWS</strong>::STFCQTView <strong>JWS</strong>::STFFTView<br />

Public Member Functions<br />

• virtual ∼View ()<br />

• virtual Glib::ustring getName ()=0<br />

• Gtk::Menu & getContextMenu ()<br />

• Gtk::Table ∗ getInfoTable ()<br />

• void updateInfo ()<br />

• void showInfo ()<br />

• void hideInfo ()<br />

• void registerChildWindow (Gtk::Window ∗window)<br />

Registers window considered childs <strong>of</strong> this widget.<br />

• void unregisterChildWindow (Gtk::Window ∗window)<br />

Reverses registerChildWindow().<br />

Protected Member Functions<br />

• View ()<br />

Protected Attributes<br />

• Gtk::Menu m_context_menu<br />

8.75.1 Constructor & Destructor Documentation<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


184 <strong>JWS</strong> Class Documentation<br />

8.75.1.1 <strong>JWS</strong>::View::∼View () [virtual]<br />

8.75.1.2 <strong>JWS</strong>::View::View () [protected]<br />

8.75.2 Member Function Documentation<br />

8.75.2.1 Gtk::Menu & <strong>JWS</strong>::View::getContextMenu ()<br />

8.75.2.2 Gtk::Table ∗ <strong>JWS</strong>::View::getInfoTable ()<br />

8.75.2.3 virtual Glib::ustring <strong>JWS</strong>::View::getName () [pure virtual]<br />

Implemented in <strong>JWS</strong>::AMTView, <strong>JWS</strong>::SpectrumView, <strong>JWS</strong>::STTransformView, <strong>JWS</strong>::View1D,<br />

<strong>JWS</strong>::View2D, and <strong>JWS</strong>::WaveformView.<br />

8.75.2.4 void <strong>JWS</strong>::View::hideInfo ()<br />

8.75.2.5 void <strong>JWS</strong>::View::registerChildWindow (Gtk::Window ∗ window)<br />

Registers window considered childs <strong>of</strong> this widget.<br />

Windows registered this way will be deleted when this widget is destroyed.<br />

Parameters:<br />

window The Gtk::Window to register<br />

8.75.2.6 void <strong>JWS</strong>::View::showInfo ()<br />

8.75.2.7 void <strong>JWS</strong>::View::unregisterChildWindow (Gtk::Window ∗ window)<br />

Reverses registerChildWindow().<br />

Enables earlier manual deletion <strong>of</strong> respective window.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.75 <strong>JWS</strong>::View Class <strong>Reference</strong> 185<br />

8.75.2.8 void <strong>JWS</strong>::View::updateInfo ()<br />

8.75.3 Member Data Documentation<br />

8.75.3.1 Gtk::Menu <strong>JWS</strong>::View::m_context_menu [protected]<br />

The documentation for this class was generated from the following files:<br />

• View.h<br />

• View.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


186 <strong>JWS</strong> Class Documentation<br />

8.76 <strong>JWS</strong>::View1D Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::View1D::<br />

<strong>JWS</strong>::View<br />

<strong>JWS</strong>::View1D<br />

<strong>JWS</strong>::SpectrumView<br />

<strong>JWS</strong>::WaveformView<br />

Public Member Functions<br />

• virtual ∼View1D ()<br />

• virtual Glib::ustring getName ()=0<br />

• void getDomain (double &x0, double &x1)<br />

Get domain for this view.<br />

• void setGranularity (double granularity)<br />

Set granularity for this View.<br />

• double getGranularity ()<br />

• int getWidth ()<br />

• void showContents ()<br />

• void hideContents ()<br />

• void setStatus (Glib::ustring status)<br />

• void updatePosition (int x, int y)<br />

Move mark to specified position in DrawingArea.<br />

• void packWidget (Gtk::Widget &widget)<br />

Put widget into usual content area (to be deleted afterwards).<br />

• void setProgress (double progress)<br />

• void showProgressBar ()<br />

• void hideProgressBar ()<br />

• virtual void getValueRange (double &min, double &max, double x0=-DBL_MAX, double<br />

x1=DBL_MAX)=0<br />

Return the value range for the specified domain.<br />

• virtual void getValueRangeConsidered (double &min, double &max)=0<br />

• virtual double getValue (double x)=0<br />

Returns value for specified position.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.76 <strong>JWS</strong>::View1D Class <strong>Reference</strong> 187<br />

• virtual Glib::ustring getUnitX ()=0<br />

• virtual Glib::ustring getUnitValues ()=0<br />

• virtual Glib::ustring getScaleNameX ()=0<br />

• virtual Glib::ustring getScaleNameValues ()=0<br />

Protected Types<br />

• enum ScaleType { LINEAR, LOGARITHMIC }<br />

Protected Member Functions<br />

• View1D (ScaleType horizontal_scale_type=LINEAR, ScaleType vertical_scale_type=LINEAR,<br />

double x0=0.0, double x1=1.0, double granularity=0.01)<br />

• void setDomain (double x0, double x1)<br />

Set domain for this view.<br />

8.76.1 Member Enumeration Documentation<br />

8.76.1.1 enum <strong>JWS</strong>::View1D::ScaleType [protected]<br />

Enumeration values:<br />

LINEAR<br />

LOGARITHMIC<br />

8.76.2 Constructor & Destructor Documentation<br />

8.76.2.1 <strong>JWS</strong>::View1D::∼View1D () [virtual]<br />

8.76.2.2 <strong>JWS</strong>::View1D::View1D (ScaleType horizontal_scale_type = LINEAR, ScaleType<br />

vertical_scale_type = LINEAR, double x0 = 0.0, double x1 = 1.0, double granularity =<br />

0.01) [protected]<br />

8.76.3 Member Function Documentation<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


188 <strong>JWS</strong> Class Documentation<br />

8.76.3.1 void <strong>JWS</strong>::View1D::getDomain (double & x0, double & x1)<br />

Get domain for this view.<br />

Parameters:<br />

x0 start <strong>of</strong> domain<br />

x1 end <strong>of</strong> domain<br />

8.76.3.2 double <strong>JWS</strong>::View1D::getGranularity ()<br />

8.76.3.3 virtual Glib::ustring <strong>JWS</strong>::View1D::getName () [pure virtual]<br />

Implements <strong>JWS</strong>::View.<br />

Implemented in <strong>JWS</strong>::SpectrumView, and <strong>JWS</strong>::WaveformView.<br />

8.76.3.4 virtual Glib::ustring <strong>JWS</strong>::View1D::getScaleNameValues () [pure virtual]<br />

Implemented in <strong>JWS</strong>::SpectrumView, and <strong>JWS</strong>::WaveformView.<br />

8.76.3.5 virtual Glib::ustring <strong>JWS</strong>::View1D::getScaleNameX () [pure virtual]<br />

Implemented in <strong>JWS</strong>::SpectrumView, and <strong>JWS</strong>::WaveformView.<br />

8.76.3.6 virtual Glib::ustring <strong>JWS</strong>::View1D::getUnitValues () [pure virtual]<br />

Implemented in <strong>JWS</strong>::SpectrumView, and <strong>JWS</strong>::WaveformView.<br />

8.76.3.7 virtual Glib::ustring <strong>JWS</strong>::View1D::getUnitX () [pure virtual]<br />

Implemented in <strong>JWS</strong>::SpectrumView, and <strong>JWS</strong>::WaveformView.<br />

8.76.3.8 virtual double <strong>JWS</strong>::View1D::getValue (double x) [pure virtual]<br />

Returns value for specified position.<br />

Implemented in <strong>JWS</strong>::SpectrumView, and <strong>JWS</strong>::WaveformView.<br />

8.76.3.9 virtual void <strong>JWS</strong>::View1D::getValueRange (double & min, double & max, double x0 =<br />

-DBL_MAX, double x1 = DBL_MAX) [pure virtual]<br />

Return the value range for the specified domain.<br />

If no domain is specified, return total range to be considered. If domain width is zero, an exact result is<br />

returned in min (== max).<br />

Implemented in <strong>JWS</strong>::SpectrumView, and <strong>JWS</strong>::WaveformView.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.76 <strong>JWS</strong>::View1D Class <strong>Reference</strong> 189<br />

8.76.3.10 virtual void <strong>JWS</strong>::View1D::getValueRangeConsidered (double & min, double & max)<br />

[pure virtual]<br />

Returns:<br />

the range to be considered (on a scale).<br />

Includes the range returned by getValueRange()<br />

Implemented in <strong>JWS</strong>::SpectrumView, and <strong>JWS</strong>::WaveformView.<br />

8.76.3.11 int <strong>JWS</strong>::View1D::getWidth ()<br />

Returns:<br />

number <strong>of</strong> discrete positions considered. Depends on current granularity.<br />

8.76.3.12 void <strong>JWS</strong>::View1D::hideContents ()<br />

8.76.3.13 void <strong>JWS</strong>::View1D::hideProgressBar ()<br />

8.76.3.14 void <strong>JWS</strong>::View1D::packWidget (Gtk::Widget & widget)<br />

Put widget into usual content area (to be deleted afterwards).<br />

8.76.3.15 void <strong>JWS</strong>::View1D::setDomain (double x0, double x1) [protected]<br />

Set domain for this view.<br />

8.76.3.16 void <strong>JWS</strong>::View1D::setGranularity (double granularity)<br />

Set granularity for this View.<br />

This method is used to set the zoom level.<br />

8.76.3.17 void <strong>JWS</strong>::View1D::setProgress (double progress)<br />

8.76.3.18 void <strong>JWS</strong>::View1D::setStatus (Glib::ustring status)<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


190 <strong>JWS</strong> Class Documentation<br />

8.76.3.19 void <strong>JWS</strong>::View1D::showContents ()<br />

8.76.3.20 void <strong>JWS</strong>::View1D::showProgressBar ()<br />

8.76.3.21 void <strong>JWS</strong>::View1D::updatePosition (int x, int y)<br />

Move mark to specified position in DrawingArea.<br />

The documentation for this class was generated from the following files:<br />

• View1D.h<br />

• View1D.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.77 <strong>JWS</strong>::View2D Class <strong>Reference</strong> 191<br />

8.77 <strong>JWS</strong>::View2D Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::View2D::<br />

<strong>JWS</strong>::View<br />

<strong>JWS</strong>::View2D<br />

<strong>JWS</strong>::ComputationView<br />

<strong>JWS</strong>::AMTView<br />

<strong>JWS</strong>::STTransformView<br />

<strong>JWS</strong>::STACQTView <strong>JWS</strong>::STCQTView <strong>JWS</strong>::STFCQTView <strong>JWS</strong>::STFFTView<br />

Public Member Functions<br />

• virtual ∼View2D ()<br />

• virtual Glib::ustring getName ()=0<br />

• void getSize (int &width, int &height)<br />

• void showContents ()<br />

• void hideContents ()<br />

• void setStatus (Glib::ustring status)<br />

• void updatePosition (int x, int y)<br />

Move mark to specified position in window (drawingarea).<br />

• void packWidget (Gtk::Widget &widget)<br />

Put widget into usual content area (to be deleted afterwards).<br />

• void setProgress (double progress)<br />

• void showProgressBar ()<br />

• void hideProgressBar ()<br />

• virtual double getCoefficient (int x, int y)=0<br />

Convenience function.<br />

• virtual void getCoefficientRangeConsidered (double &min, double &max)=0<br />

Return range to be considered for ruler etc.<br />

• virtual double getScaleValueX (int x)=0<br />

• virtual double getScaleValueY (int y)=0<br />

See getScaleValueX().<br />

• virtual Glib::ustring getUnitX ()=0<br />

• virtual Glib::ustring getUnitY ()=0<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


192 <strong>JWS</strong> Class Documentation<br />

• virtual Glib::ustring getUnitValues ()=0<br />

• virtual Glib::ustring getScaleNameX ()=0<br />

• virtual Glib::ustring getScaleNameY ()=0<br />

• virtual Glib::ustring getScaleNameValues ()=0<br />

• void setPseudoColorRGB (PseudoColorRGB ∗pc)<br />

Set PseudoColorRGB for this View2D.<br />

Protected Types<br />

• enum ScaleType { LINEAR, LOGARITHMIC }<br />

Protected Member Functions<br />

• View2D (ScaleType horizontal_scale_type=LINEAR, ScaleType vertical_scale_type=LINEAR, int<br />

width=1, int height=1)<br />

• void setSize (int width, int height)<br />

• void getContextPosition (int &x, int &y)<br />

Returns pixel position in drawing area when context menu is activated.<br />

• int getPositionFromPixelX (int x)<br />

• int getPositionFromPixelY (int y)<br />

• int getPixelFromPositionX (int pos_x)<br />

• int getPixelFromPositionY (int pos_y)<br />

8.77.1 Member Enumeration Documentation<br />

8.77.1.1 enum <strong>JWS</strong>::View2D::ScaleType [protected]<br />

Enumeration values:<br />

LINEAR<br />

LOGARITHMIC<br />

8.77.2 Constructor & Destructor Documentation<br />

8.77.2.1 <strong>JWS</strong>::View2D::∼View2D () [virtual]<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.77 <strong>JWS</strong>::View2D Class <strong>Reference</strong> 193<br />

8.77.2.2 <strong>JWS</strong>::View2D::View2D (ScaleType horizontal_scale_type = LINEAR, ScaleType<br />

vertical_scale_type = LINEAR, int width = 1, int height = 1) [protected]<br />

8.77.3 Member Function Documentation<br />

8.77.3.1 virtual double <strong>JWS</strong>::View2D::getCoefficient (int x, int y) [pure virtual]<br />

Convenience function.<br />

Returns:<br />

a value from underlying transform<br />

Implemented in <strong>JWS</strong>::AMTView, and <strong>JWS</strong>::STTransformView.<br />

8.77.3.2 virtual void <strong>JWS</strong>::View2D::getCoefficientRangeConsidered (double & min, double &<br />

max) [pure virtual]<br />

Return range to be considered for ruler etc.<br />

Implemented in <strong>JWS</strong>::AMTView, and <strong>JWS</strong>::STTransformView.<br />

8.77.3.3 void <strong>JWS</strong>::View2D::getContextPosition (int & x, int & y) [protected]<br />

Returns pixel position in drawing area when context menu is activated.<br />

Pixel coordinates.<br />

8.77.3.4 virtual Glib::ustring <strong>JWS</strong>::View2D::getName () [pure virtual]<br />

Implements <strong>JWS</strong>::View.<br />

Implemented in <strong>JWS</strong>::AMTView, and <strong>JWS</strong>::STTransformView.<br />

8.77.3.5 int <strong>JWS</strong>::View2D::getPixelFromPositionX (int pos_x) [protected]<br />

8.77.3.6 int <strong>JWS</strong>::View2D::getPixelFromPositionY (int pos_y) [protected]<br />

8.77.3.7 int <strong>JWS</strong>::View2D::getPositionFromPixelX (int x) [protected]<br />

8.77.3.8 int <strong>JWS</strong>::View2D::getPositionFromPixelY (int y) [protected]<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


194 <strong>JWS</strong> Class Documentation<br />

8.77.3.9 virtual Glib::ustring <strong>JWS</strong>::View2D::getScaleNameValues () [pure virtual]<br />

Implemented in <strong>JWS</strong>::AMTView, and <strong>JWS</strong>::STTransformView.<br />

8.77.3.10 virtual Glib::ustring <strong>JWS</strong>::View2D::getScaleNameX () [pure virtual]<br />

Implemented in <strong>JWS</strong>::AMTView, and <strong>JWS</strong>::STTransformView.<br />

8.77.3.11 virtual Glib::ustring <strong>JWS</strong>::View2D::getScaleNameY () [pure virtual]<br />

Implemented in <strong>JWS</strong>::AMTView, and <strong>JWS</strong>::STTransformView.<br />

8.77.3.12 virtual double <strong>JWS</strong>::View2D::getScaleValueX (int x) [pure virtual]<br />

Returns:<br />

the real value <strong>of</strong> the specified coefficient.<br />

The coefficient number is counted in whole transform.<br />

Implemented in <strong>JWS</strong>::AMTView, and <strong>JWS</strong>::STTransformView.<br />

8.77.3.13 virtual double <strong>JWS</strong>::View2D::getScaleValueY (int y) [pure virtual]<br />

See getScaleValueX().<br />

Implemented in <strong>JWS</strong>::AMTView, and <strong>JWS</strong>::STTransformView.<br />

8.77.3.14 void <strong>JWS</strong>::View2D::getSize (int & width, int & height)<br />

8.77.3.15 virtual Glib::ustring <strong>JWS</strong>::View2D::getUnitValues () [pure virtual]<br />

Implemented in <strong>JWS</strong>::AMTView, and <strong>JWS</strong>::STTransformView.<br />

8.77.3.16 virtual Glib::ustring <strong>JWS</strong>::View2D::getUnitX () [pure virtual]<br />

Implemented in <strong>JWS</strong>::AMTView, and <strong>JWS</strong>::STTransformView.<br />

8.77.3.17 virtual Glib::ustring <strong>JWS</strong>::View2D::getUnitY () [pure virtual]<br />

Implemented in <strong>JWS</strong>::AMTView, and <strong>JWS</strong>::STTransformView.<br />

8.77.3.18 void <strong>JWS</strong>::View2D::hideContents ()<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.77 <strong>JWS</strong>::View2D Class <strong>Reference</strong> 195<br />

8.77.3.19 void <strong>JWS</strong>::View2D::hideProgressBar ()<br />

8.77.3.20 void <strong>JWS</strong>::View2D::packWidget (Gtk::Widget & widget)<br />

Put widget into usual content area (to be deleted afterwards).<br />

8.77.3.21 void <strong>JWS</strong>::View2D::setProgress (double progress)<br />

8.77.3.22 void <strong>JWS</strong>::View2D::setPseudoColorRGB (PseudoColorRGB ∗ pc)<br />

Set PseudoColorRGB for this View2D.<br />

The View2D owns this object and will delete it later.<br />

8.77.3.23 void <strong>JWS</strong>::View2D::setSize (int width, int height) [protected]<br />

8.77.3.24 void <strong>JWS</strong>::View2D::setStatus (Glib::ustring status)<br />

8.77.3.25 void <strong>JWS</strong>::View2D::showContents ()<br />

8.77.3.26 void <strong>JWS</strong>::View2D::showProgressBar ()<br />

8.77.3.27 void <strong>JWS</strong>::View2D::updatePosition (int x, int y)<br />

Move mark to specified position in window (drawingarea).<br />

Pixel coordinates.<br />

The documentation for this class was generated from the following files:<br />

• View2D.h<br />

• View2D.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


196 <strong>JWS</strong> Class Documentation<br />

8.78 <strong>JWS</strong>::VoiceAttribute Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::VoiceAttribute::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::VoiceAttribute<br />

<strong>JWS</strong>::Clef <strong>JWS</strong>::KeySignature <strong>JWS</strong>::TimeSignature<br />

The documentation for this class was generated from the following file:<br />

• Note.h<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.79 <strong>JWS</strong>::VoiceList Class <strong>Reference</strong> 197<br />

8.79 <strong>JWS</strong>::VoiceList Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::VoiceList::<br />

<strong>JWS</strong>::ScoreElement<br />

<strong>JWS</strong>::ScoreElementList<br />

<strong>JWS</strong>::VoiceList<br />

Public Member Functions<br />

• ScoreElement ∗ copy ()<br />

Virtual copy constructor.<br />

8.79.1 Member Function Documentation<br />

8.79.1.1 <strong>JWS</strong>::ScoreElement ∗ <strong>JWS</strong>::VoiceList::copy () [virtual]<br />

Virtual copy constructor.<br />

Implemented by every class that can be instantiated by users.<br />

Reimplemented from <strong>JWS</strong>::ScoreElementList.<br />

The documentation for this class was generated from the following files:<br />

• Note.h<br />

• Note.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


198 <strong>JWS</strong> Class Documentation<br />

8.80 <strong>JWS</strong>::WaveformView Class <strong>Reference</strong><br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::WaveformView::<br />

<strong>JWS</strong>::View<br />

<strong>JWS</strong>::View1D<br />

<strong>JWS</strong>::WaveformView<br />

Public Member Functions<br />

• WaveformView (SoundSource ∗source, double granularity=0.01)<br />

Constructor.<br />

• ∼WaveformView ()<br />

• virtual Glib::ustring getName ()<br />

• virtual void getValueRange (double &min, double &max, double x0=-DBL_MAX, double<br />

x1=DBL_MAX)<br />

Return the value range for the specified domain.<br />

• virtual void getValueRangeConsidered (double &min, double &max)<br />

• virtual double getValue (double x)<br />

Returns value for specified position.<br />

• virtual Glib::ustring getUnitX ()<br />

• virtual Glib::ustring getUnitValues ()<br />

• virtual Glib::ustring getScaleNameX ()<br />

• virtual Glib::ustring getScaleNameValues ()<br />

8.80.1 Constructor & Destructor Documentation<br />

8.80.1.1 <strong>JWS</strong>::WaveformView::WaveformView (SoundSource ∗ source, double granularity =<br />

0.01)<br />

Constructor.<br />

Parameters:<br />

source Source to be displayed. Owned by WaveformView; will be deleted when WaveformView is<br />

deleted<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.80 <strong>JWS</strong>::WaveformView Class <strong>Reference</strong> 199<br />

8.80.1.2 <strong>JWS</strong>::WaveformView::∼WaveformView ()<br />

8.80.2 Member Function Documentation<br />

8.80.2.1 Glib::ustring <strong>JWS</strong>::WaveformView::getName () [virtual]<br />

Implements <strong>JWS</strong>::View1D.<br />

8.80.2.2 Glib::ustring <strong>JWS</strong>::WaveformView::getScaleNameValues () [virtual]<br />

Implements <strong>JWS</strong>::View1D.<br />

8.80.2.3 Glib::ustring <strong>JWS</strong>::WaveformView::getScaleNameX () [virtual]<br />

Implements <strong>JWS</strong>::View1D.<br />

8.80.2.4 Glib::ustring <strong>JWS</strong>::WaveformView::getUnitValues () [virtual]<br />

Implements <strong>JWS</strong>::View1D.<br />

8.80.2.5 Glib::ustring <strong>JWS</strong>::WaveformView::getUnitX () [virtual]<br />

Implements <strong>JWS</strong>::View1D.<br />

8.80.2.6 double <strong>JWS</strong>::WaveformView::getValue (double x) [virtual]<br />

Returns value for specified position.<br />

Implements <strong>JWS</strong>::View1D.<br />

8.80.2.7 void <strong>JWS</strong>::WaveformView::getValueRange (double & min, double & max, double x0 =<br />

-DBL_MAX, double x1 = DBL_MAX) [virtual]<br />

Return the value range for the specified domain.<br />

If no domain is specified, return total range to be considered. If domain width is zero, an exact result is<br />

returned in min (== max).<br />

Implements <strong>JWS</strong>::View1D.<br />

8.80.2.8 void <strong>JWS</strong>::WaveformView::getValueRangeConsidered (double & min, double & max)<br />

[virtual]<br />

Returns:<br />

the range to be considered (on a scale).<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


200 <strong>JWS</strong> Class Documentation<br />

Includes the range returned by getValueRange()<br />

Implements <strong>JWS</strong>::View1D.<br />

The documentation for this class was generated from the following files:<br />

• WaveformView.h<br />

• WaveformView.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.81 <strong>JWS</strong>::Window< T > Class Template <strong>Reference</strong> 201<br />

8.81 <strong>JWS</strong>::Window< T > Class Template <strong>Reference</strong><br />

Window function.<br />

#include <br />

Inheritance diagram for <strong>JWS</strong>::Window< T >::<br />

<strong>JWS</strong>::Window< T ><br />

<strong>JWS</strong>::CosWindow< T ><br />

<strong>JWS</strong>::HammingWindow< T > <strong>JWS</strong>::HannWindow< T ><br />

Public Member Functions<br />

• virtual void applyTo (T ∗data)=0<br />

• virtual ∼Window ()<br />

8.81.1 Detailed Description<br />

template class <strong>JWS</strong>::Window< T ><br />

Window function.<br />

8.81.2 Constructor & Destructor Documentation<br />

8.81.2.1 template virtual <strong>JWS</strong>::Window< T >::∼Window () [inline, virtual]<br />

8.81.3 Member Function Documentation<br />

8.81.3.1 template virtual void <strong>JWS</strong>::Window< T >::applyTo (T ∗ data) [pure<br />

virtual]<br />

Implemented in <strong>JWS</strong>::CosWindow< T >.<br />

The documentation for this class was generated from the following file:<br />

• Window.h<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


202 <strong>JWS</strong> Class Documentation<br />

8.82 <strong>JWS</strong>::XmlResultDialog Class <strong>Reference</strong><br />

#include <br />

Public Member Functions<br />

• virtual ∼XmlResultDialog ()<br />

Static Public Member Functions<br />

• XmlResultDialog ∗ create (Glib::ustring default_filename, Glib::ustring &text)<br />

Factory method.<br />

Protected Member Functions<br />

• XmlResultDialog (BaseObjectType ∗cobject, const Glib::RefPtr< Gnome::Glade::Xml > &ref-<br />

Glade)<br />

Constructor provided to libglademm.<br />

• bool on_delete_event (GdkEventAny ∗event)<br />

Friends<br />

• class Gnome::Glade::Xml<br />

8.82.1 Constructor & Destructor Documentation<br />

8.82.1.1 <strong>JWS</strong>::XmlResultDialog::∼XmlResultDialog () [virtual]<br />

8.82.1.2 <strong>JWS</strong>::XmlResultDialog::XmlResultDialog (BaseObjectType ∗ cobject, const<br />

Glib::RefPtr< Gnome::Glade::Xml > & refGlade) [protected]<br />

Constructor provided to libglademm.<br />

8.82.2 Member Function Documentation<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


8.82 <strong>JWS</strong>::XmlResultDialog Class <strong>Reference</strong> 203<br />

8.82.2.1 <strong>JWS</strong>::XmlResultDialog ∗ <strong>JWS</strong>::XmlResultDialog::create (Glib::ustring default_filename,<br />

Glib::ustring & text) [static]<br />

Factory method.<br />

XmlResultDialog instances should be instantiated via this method.<br />

8.82.2.2 bool <strong>JWS</strong>::XmlResultDialog::on_delete_event (GdkEventAny ∗ event) [protected]<br />

8.82.3 Friends And Related Function Documentation<br />

8.82.3.1 friend class Gnome::Glade::Xml [friend]<br />

The documentation for this class was generated from the following files:<br />

• XmlResultDialog.h<br />

• XmlResultDialog.cc<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


204 <strong>JWS</strong> Class Documentation<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


Chapter 9<br />

<strong>JWS</strong> File Documentation<br />

9.1 AMT.cc File <strong>Reference</strong><br />

#include <br />

#include "AMT.h"<br />

#include "Pitch.h"<br />

#include "STACQT.h"


206 <strong>JWS</strong> File Documentation<br />

9.2 AMT.h File <strong>Reference</strong><br />

#include "SoundSource.h"<br />

#include "Computation.h"<br />

#include "STTransform.h"<br />

#include "PitchDetector.h"<br />

#include "OnsetDetector.h"<br />

#include "NoteDetector.h"<br />

#include "ScoreGenerator.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::AMT<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.3 AMTView.cc File <strong>Reference</strong> 207<br />

9.3 AMTView.cc File <strong>Reference</strong><br />

#include "AMTView.h"<br />

#include "XmlResultDialog.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


208 <strong>JWS</strong> File Documentation<br />

9.4 AMTView.h File <strong>Reference</strong><br />

#include "SoundSource.h"<br />

#include "ComputationView.h"<br />

#include "AMT.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::AMTView<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.5 Application.cc File <strong>Reference</strong> 209<br />

9.5 Application.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "Application.h"<br />

#include "MixedSource.h"<br />

#include "SndfileSource.h"<br />

#include "STFFTView.h"<br />

#include "SourceView.h"<br />

#include "GenerateDialog.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


210 <strong>JWS</strong> File Documentation<br />

9.6 Application.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include "globals.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::Application<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.7 BWColorRGB.cc File <strong>Reference</strong> 211<br />

9.7 BWColorRGB.cc File <strong>Reference</strong><br />

#include "BWColorRGB.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


212 <strong>JWS</strong> File Documentation<br />

9.8 BWColorRGB.h File <strong>Reference</strong><br />

#include "PseudoColorRGB.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::BWColorRGB<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.9 ColorLegend.cc File <strong>Reference</strong> 213<br />

9.9 ColorLegend.cc File <strong>Reference</strong><br />

#include <br />

#include "ColorLegend.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


214 <strong>JWS</strong> File Documentation<br />

9.10 ColorLegend.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include "globals.h"<br />

#include "PseudoColorRGB.h"<br />

#include "GtkRuler.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::ColorLegend<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.11 Computation.cc File <strong>Reference</strong> 215<br />

9.11 Computation.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include "util.h"<br />

#include "Computation.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


216 <strong>JWS</strong> File Documentation<br />

9.12 Computation.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "globals.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::Computation<br />

An abstract computation.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.13 ComputationView.cc File <strong>Reference</strong> 217<br />

9.13 ComputationView.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include "ComputationView.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


218 <strong>JWS</strong> File Documentation<br />

9.14 ComputationView.h File <strong>Reference</strong><br />

#include "Computation.h"<br />

#include "View2D.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::ComputationView<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.15 CQT.cc File <strong>Reference</strong> 219<br />

9.15 CQT.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include "Window.h"<br />

#include "CQT.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


220 <strong>JWS</strong> File Documentation<br />

9.16 CQT.h File <strong>Reference</strong><br />

#include <br />

#include "globals.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::CQT<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.17 FFT.cc File <strong>Reference</strong> 221<br />

9.17 FFT.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include "Window.h"<br />

#include "FFT.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


222 <strong>JWS</strong> File Documentation<br />

9.18 FFT.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include "globals.h"<br />

#include "Window.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::FFT<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.19 GenerateDialog.cc File <strong>Reference</strong> 223<br />

9.19 GenerateDialog.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "GenerateDialog.h"<br />

#include "SoundGenerator.h"<br />

#include "MixedSource.h"<br />

#include "SourceView.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


224 <strong>JWS</strong> File Documentation<br />

9.20 GenerateDialog.h File <strong>Reference</strong><br />

#include "globals.h"<br />

#include <br />

#include <br />

#include <br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::GenerateDialog<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.21 GeoColorRGB.cc File <strong>Reference</strong> 225<br />

9.21 GeoColorRGB.cc File <strong>Reference</strong><br />

#include "GeoColorRGB.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


226 <strong>JWS</strong> File Documentation<br />

9.22 GeoColorRGB.h File <strong>Reference</strong><br />

#include "PseudoColorRGB.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::GeoColorRGB<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.23 gettext.h File <strong>Reference</strong> 227<br />

9.23 gettext.h File <strong>Reference</strong><br />

#include <br />

Defines<br />

• #define _LIBGETTEXT_H 1<br />

• #define gettext(Msgid) ((const char ∗) (Msgid))<br />

• #define dgettext(Domainname, Msgid) ((const char ∗) (Msgid))<br />

• #define dcgettext(Domainname, Msgid, Category) ((const char ∗) (Msgid))<br />

• #define ngettext(Msgid1, Msgid2, N) ((N) == 1 ? (const char ∗) (Msgid1) : (const char ∗) (Msgid2))<br />

• #define dngettext(Domainname, Msgid1, Msgid2, N) ((N) == 1 ? (const char ∗) (Msgid1) : (const<br />

char ∗) (Msgid2))<br />

• #define dcngettext(Domainname, Msgid1, Msgid2, N, Category) ((N) == 1 ? (const char ∗) (Msgid1)<br />

: (const char ∗) (Msgid2))<br />

• #define textdomain(Domainname) ((const char ∗) (Domainname))<br />

• #define bindtextdomain(Domainname, Dirname) ((const char ∗) (Dirname))<br />

• #define bind_textdomain_codeset(Domainname, Codeset) ((const char ∗) (Codeset))<br />

• #define gettext_noop(String) String<br />

9.23.1 Define Documentation<br />

9.23.1.1 #define _LIBGETTEXT_H 1<br />

9.23.1.2 #define bind_textdomain_codeset(Domainname, Codeset) ((const char ∗) (Codeset))<br />

9.23.1.3 #define bindtextdomain(Domainname, Dirname) ((const char ∗) (Dirname))<br />

9.23.1.4 #define dcgettext(Domainname, Msgid, Category) ((const char ∗) (Msgid))<br />

9.23.1.5 #define dcngettext(Domainname, Msgid1, Msgid2, N, Category) ((N) == 1 ? (const char ∗)<br />

(Msgid1) : (const char ∗) (Msgid2))<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


228 <strong>JWS</strong> File Documentation<br />

9.23.1.6 #define dgettext(Domainname, Msgid) ((const char ∗) (Msgid))<br />

9.23.1.7 #define dngettext(Domainname, Msgid1, Msgid2, N) ((N) == 1 ? (const char ∗) (Msgid1) :<br />

(const char ∗) (Msgid2))<br />

9.23.1.8 #define gettext(Msgid) ((const char ∗) (Msgid))<br />

9.23.1.9 #define gettext_noop(String) String<br />

9.23.1.10 #define ngettext(Msgid1, Msgid2, N) ((N) == 1 ? (const char ∗) (Msgid1) : (const char ∗)<br />

(Msgid2))<br />

9.23.1.11 #define textdomain(Domainname) ((const char ∗) (Domainname))<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.24 globals.h File <strong>Reference</strong> 229<br />

9.24 globals.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include "gettext.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::Exception<br />

Defines<br />

• #define TITLE "<strong>JWS</strong>"<br />

• #define _(String) gettext (String)<br />

• #define N_(String) gettext_noop (String)<br />

Variables<br />

• int debug<br />

9.24.1 Define Documentation<br />

9.24.1.1 #define _(String) gettext (String)<br />

9.24.1.2 #define N_(String) gettext_noop (String)<br />

9.24.1.3 #define TITLE "<strong>JWS</strong>"<br />

9.24.2 Variable Documentation<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


230 <strong>JWS</strong> File Documentation<br />

9.24.2.1 int debug<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.25 GtkRuler.cc File <strong>Reference</strong> 231<br />

9.25 GtkRuler.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "GtkRuler.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


232 <strong>JWS</strong> File Documentation<br />

9.26 GtkRuler.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "globals.h"<br />

#include "Ruler.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::GtkRuler<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.27 jws.cc File <strong>Reference</strong> 233<br />

9.27 jws.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "globals.h"<br />

#include "Application.h"<br />

#include "SoundSource.h"<br />

#include "SndfileSource.h"<br />

#include "MixedSource.h"<br />

#include "AMT.h"<br />

Functions<br />

• int main (int argc, char ∗argv[ ])<br />

Variables<br />

• int debug<br />

9.27.1 Function Documentation<br />

9.27.1.1 int main (int argc, char ∗ argv[ ])<br />

9.27.2 Variable Documentation<br />

9.27.2.1 int debug<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


234 <strong>JWS</strong> File Documentation<br />

9.28 MixedSource.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include "MixedSource.h"<br />

Namespaces<br />

• namespace std<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.29 MixedSource.h File <strong>Reference</strong> 235<br />

9.29 MixedSource.h File <strong>Reference</strong><br />

#include <br />

#include "SoundSource.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::MixedSource<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


236 <strong>JWS</strong> File Documentation<br />

9.30 Note.cc File <strong>Reference</strong><br />

#include <br />

#include "Note.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.31 Note.h File <strong>Reference</strong> 237<br />

9.31 Note.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include "Pitch.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::ScoreElement<br />

• class <strong>JWS</strong>::ScoreElementList<br />

• class <strong>JWS</strong>::TemporalScoreElement<br />

• class <strong>JWS</strong>::Note<br />

• class <strong>JWS</strong>::Rest<br />

• class <strong>JWS</strong>::InvisibleRest<br />

• class <strong>JWS</strong>::VoiceAttribute<br />

• class <strong>JWS</strong>::Clef<br />

• class <strong>JWS</strong>::KeySignature<br />

• class <strong>JWS</strong>::TimeSignature<br />

• class <strong>JWS</strong>::Bar<br />

• class <strong>JWS</strong>::DoubleBar<br />

• class <strong>JWS</strong>::EndBar<br />

• class <strong>JWS</strong>::Accentuation<br />

• class <strong>JWS</strong>::Staccato<br />

• class <strong>JWS</strong>::LegatoStart<br />

• class <strong>JWS</strong>::LegatoEnd<br />

• class <strong>JWS</strong>::Portato<br />

• class <strong>JWS</strong>::VoiceList<br />

• class <strong>JWS</strong>::Measure<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


238 <strong>JWS</strong> File Documentation<br />

9.32 NoteDetector.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include "math.h"<br />

#include "NoteDetector.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.33 NoteDetector.h File <strong>Reference</strong> 239<br />

9.33 NoteDetector.h File <strong>Reference</strong><br />

#include "OnsetDetector.h"<br />

#include "Note.h"<br />

#include "Computation.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::NoteDetector<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


240 <strong>JWS</strong> File Documentation<br />

9.34 Onset.cc File <strong>Reference</strong><br />

#include "Onset.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.35 Onset.h File <strong>Reference</strong> 241<br />

9.35 Onset.h File <strong>Reference</strong><br />

#include "globals.h"<br />

#include "Pitch.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::Onset<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


242 <strong>JWS</strong> File Documentation<br />

9.36 OnsetDetector.cc File <strong>Reference</strong><br />

#include <br />

#include "OnsetDetector.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.37 OnsetDetector.h File <strong>Reference</strong> 243<br />

9.37 OnsetDetector.h File <strong>Reference</strong><br />

#include <br />

#include "PitchDetector.h"<br />

#include "Computation.h"<br />

#include "Onset.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::OnsetDetector<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


244 <strong>JWS</strong> File Documentation<br />

9.38 Pitch.cc File <strong>Reference</strong><br />

#include <br />

#include "Pitch.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.39 Pitch.h File <strong>Reference</strong> 245<br />

9.39 Pitch.h File <strong>Reference</strong><br />

#include "globals.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::Pitch<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


246 <strong>JWS</strong> File Documentation<br />

9.40 PitchDetector.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "PitchDetector.h"<br />

#include "SoundGenerator.h"<br />

#include "CQT.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.41 PitchDetector.h File <strong>Reference</strong> 247<br />

9.41 PitchDetector.h File <strong>Reference</strong><br />

#include <br />

#include "STTransform.h"<br />

#include "Pitch.h"<br />

#include "Computation.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::PitchDetector<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


248 <strong>JWS</strong> File Documentation<br />

9.42 PseudoColorRGB.h File <strong>Reference</strong><br />

#include <br />

#include "globals.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::PseudoColorRGB<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.43 Ruler.cc File <strong>Reference</strong> 249<br />

9.43 Ruler.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "Ruler.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


250 <strong>JWS</strong> File Documentation<br />

9.44 Ruler.h File <strong>Reference</strong><br />

#include <br />

#include "globals.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::Ruler<br />

A general ruler.<br />

• struct <strong>JWS</strong>::Ruler::Mark<br />

• class <strong>JWS</strong>::Ruler::PositionStrategy<br />

The strategy to represent and implement the position.<br />

• class <strong>JWS</strong>::Ruler::Left<br />

• class <strong>JWS</strong>::Ruler::Right<br />

• class <strong>JWS</strong>::Ruler::Top<br />

• class <strong>JWS</strong>::Ruler::Bottom<br />

• class <strong>JWS</strong>::Ruler::ScaleStrategy<br />

Strategy to generate marks list (Linear / Logarithmic / ...).<br />

• class <strong>JWS</strong>::Ruler::Linear<br />

• class <strong>JWS</strong>::Ruler::Logarithmic<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.45 SavePlotDialog.cc File <strong>Reference</strong> 251<br />

9.45 SavePlotDialog.cc File <strong>Reference</strong><br />

#include "string.h"<br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "SavePlotDialog.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


252 <strong>JWS</strong> File Documentation<br />

9.46 SavePlotDialog.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include "globals.h"<br />

#include "View2D.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::SavePlotDialog<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.47 SavePlotDialog1D.cc File <strong>Reference</strong> 253<br />

9.47 SavePlotDialog1D.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "SavePlotDialog1D.h"<br />

#include "util.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


254 <strong>JWS</strong> File Documentation<br />

9.48 SavePlotDialog1D.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include "globals.h"<br />

#include "View1D.h"<br />

#include "SavePlotDialog.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::SavePlotDialog1D<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.49 SavePlotDialog2D.cc File <strong>Reference</strong> 255<br />

9.49 SavePlotDialog2D.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "SavePlotDialog2D.h"<br />

#include "util.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


256 <strong>JWS</strong> File Documentation<br />

9.50 SavePlotDialog2D.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include "globals.h"<br />

#include "View2D.h"<br />

#include "SavePlotDialog.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::SavePlotDialog2D<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.51 ScoreGenerator.cc File <strong>Reference</strong> 257<br />

9.51 ScoreGenerator.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "ScoreGenerator.h"<br />

#include "util.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


258 <strong>JWS</strong> File Documentation<br />

9.52 ScoreGenerator.h File <strong>Reference</strong><br />

#include "NoteDetector.h"<br />

#include "Computation.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::ScoreGenerator<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.53 SndfileSource.cc File <strong>Reference</strong> 259<br />

9.53 SndfileSource.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include "SndfileSource.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


260 <strong>JWS</strong> File Documentation<br />

9.54 SndfileSource.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include "SoundSource.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::SndfileSource<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.55 SoundGenerator.cc File <strong>Reference</strong> 261<br />

9.55 SoundGenerator.cc File <strong>Reference</strong><br />

#include <br />

#include "limits.h"<br />

#include "math.h"<br />

#include "SoundGenerator.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


262 <strong>JWS</strong> File Documentation<br />

9.56 SoundGenerator.h File <strong>Reference</strong><br />

#include <br />

#include "SoundSource.h"<br />

#include "util.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::SoundGenerator<br />

Abstract SoundGenerator Class.<br />

• class <strong>JWS</strong>::SineSoundGenerator<br />

Sine Generator.<br />

• class <strong>JWS</strong>::ChirpSoundGenerator<br />

Chirp Sound Generator.<br />

• class <strong>JWS</strong>::InstrumentSoundGenerator<br />

Model <strong>of</strong> Instrument with partials.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.57 SoundSource.h File <strong>Reference</strong> 263<br />

9.57 SoundSource.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include "globals.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::SoundSourceException<br />

• class <strong>JWS</strong>::SoundSource<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


264 <strong>JWS</strong> File Documentation<br />

9.58 SourceView.cc File <strong>Reference</strong><br />

#include "gtkmm/notebook.h"<br />

#include <br />

#include "SourceView.h"<br />

#include "WaveformView.h"<br />

#include "STFFTView.h"<br />

#include "STCQTView.h"<br />

#include "STFCQTView.h"<br />

#include "STACQTView.h"<br />

#include "AMTView.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.59 SourceView.h File <strong>Reference</strong> 265<br />

9.59 SourceView.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include "SoundSource.h"<br />

#include "View.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::SourceView<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


266 <strong>JWS</strong> File Documentation<br />

9.60 SpectrumView.cc File <strong>Reference</strong><br />

#include <br />

#include "SpectrumView.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.61 SpectrumView.h File <strong>Reference</strong> 267<br />

9.61 SpectrumView.h File <strong>Reference</strong><br />

#include "STTransform.h"<br />

#include "View1D.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::SpectrumView<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


268 <strong>JWS</strong> File Documentation<br />

9.62 STACQT.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "Window.h"<br />

#include "STACQT.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.63 STACQT.h File <strong>Reference</strong> 269<br />

9.63 STACQT.h File <strong>Reference</strong><br />

#include "globals.h"<br />

#include "SoundSource.h"<br />

#include "STTransform.h"<br />

#include "FFT.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::STACQT<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


270 <strong>JWS</strong> File Documentation<br />

9.64 STACQTView.cc File <strong>Reference</strong><br />

#include "STACQT.h"<br />

#include "STACQTView.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.65 STACQTView.h File <strong>Reference</strong> 271<br />

9.65 STACQTView.h File <strong>Reference</strong><br />

#include "STTransformView.h"<br />

#include "SoundSource.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::STACQTView<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


272 <strong>JWS</strong> File Documentation<br />

9.66 STCQT.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "Window.h"<br />

#include "STCQT.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.67 STCQT.h File <strong>Reference</strong> 273<br />

9.67 STCQT.h File <strong>Reference</strong><br />

#include <br />

#include "globals.h"<br />

#include "SoundSource.h"<br />

#include "STTransform.h"<br />

#include "CQT.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::STCQT<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


274 <strong>JWS</strong> File Documentation<br />

9.68 STCQTView.cc File <strong>Reference</strong><br />

#include "STCQT.h"<br />

#include "STCQTView.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.69 STCQTView.h File <strong>Reference</strong> 275<br />

9.69 STCQTView.h File <strong>Reference</strong><br />

#include "STTransformView.h"<br />

#include "SoundSource.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::STCQTView<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


276 <strong>JWS</strong> File Documentation<br />

9.70 STFCQT.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "Window.h"<br />

#include "STFCQT.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.71 STFCQT.h File <strong>Reference</strong> 277<br />

9.71 STFCQT.h File <strong>Reference</strong><br />

#include "globals.h"<br />

#include "SoundSource.h"<br />

#include "STTransform.h"<br />

#include "FFT.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::STFCQT<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


278 <strong>JWS</strong> File Documentation<br />

9.72 STFCQTView.cc File <strong>Reference</strong><br />

#include "STFCQT.h"<br />

#include "STFCQTView.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.73 STFCQTView.h File <strong>Reference</strong> 279<br />

9.73 STFCQTView.h File <strong>Reference</strong><br />

#include "STTransformView.h"<br />

#include "SoundSource.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::STFCQTView<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


280 <strong>JWS</strong> File Documentation<br />

9.74 STFFT.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include "STFFT.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.75 STFFT.h File <strong>Reference</strong> 281<br />

9.75 STFFT.h File <strong>Reference</strong><br />

#include "globals.h"<br />

#include "SoundSource.h"<br />

#include "FFT.h"<br />

#include "STTransform.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::STFFT<br />

STFFT with adjacent windows overlapping 50% Window function: Hann (the default FFT window).<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


282 <strong>JWS</strong> File Documentation<br />

9.76 STFFTView.cc File <strong>Reference</strong><br />

#include "STFFTView.h"<br />

#include "STFFT.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.77 STFFTView.h File <strong>Reference</strong> 283<br />

9.77 STFFTView.h File <strong>Reference</strong><br />

#include "STTransformView.h"<br />

#include "SoundSource.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::STFFTView<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


284 <strong>JWS</strong> File Documentation<br />

9.78 STTransform.cc File <strong>Reference</strong><br />

#include <br />

#include "STTransform.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.79 STTransform.h File <strong>Reference</strong> 285<br />

9.79 STTransform.h File <strong>Reference</strong><br />

#include <br />

#include "Computation.h"<br />

#include "globals.h"<br />

#include "SoundSource.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::STTransform<br />

A calculation <strong>of</strong> a Short Time transform.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


286 <strong>JWS</strong> File Documentation<br />

9.80 STTransformView.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "GeoColorRGB.h"<br />

#include "STTransformView.h"<br />

#include "SpectrumView.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.81 STTransformView.h File <strong>Reference</strong> 287<br />

9.81 STTransformView.h File <strong>Reference</strong><br />

#include "globals.h"<br />

#include "ComputationView.h"<br />

#include "STTransform.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::STTransformView<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


288 <strong>JWS</strong> File Documentation<br />

9.82 util.cc File <strong>Reference</strong><br />

#include "util.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.83 util.h File <strong>Reference</strong> 289<br />

9.83 util.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Enumerations<br />

• enum ScaleType { LINEAR, LOGARITHMIC, EXPONENTIAL }<br />

Functions<br />

• int timeval_subtract (struct timeval ∗result, struct timeval ∗x, struct timeval ∗y)<br />

Subtract two ’struct timeval’ values (x - y).<br />

• Glib::ustring str (int x)<br />

Converts integer to string.<br />

• Glib::ustring str (double x)<br />

Converts double to string.<br />

• Glib::ustring str (char x)<br />

Converts char to string.<br />

9.83.1 Enumeration Type Documentation<br />

9.83.1.1 enum ScaleType<br />

Enumeration values:<br />

LINEAR<br />

LOGARITHMIC<br />

EXPONENTIAL<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


290 <strong>JWS</strong> File Documentation<br />

9.83.2 Function Documentation<br />

9.83.2.1 Glib::ustring <strong>JWS</strong>::str (char x)<br />

Converts char to string.<br />

9.83.2.2 Glib::ustring <strong>JWS</strong>::str (double x)<br />

Converts double to string.<br />

9.83.2.3 Glib::ustring <strong>JWS</strong>::str (int x)<br />

Converts integer to string.<br />

9.83.2.4 int <strong>JWS</strong>::timeval_subtract (struct timeval ∗ result, struct timeval ∗ x, struct timeval ∗ y)<br />

Subtract two ’struct timeval’ values (x - y).<br />

Stores the result in result.<br />

Returns:<br />

1 if the difference is negative, otherwise 0.<br />

This function comes from the GNU C Library documentation.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.84 View.cc File <strong>Reference</strong> 291<br />

9.84 View.cc File <strong>Reference</strong><br />

#include <br />

#include "View.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


292 <strong>JWS</strong> File Documentation<br />

9.85 View.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "globals.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::View<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.86 View1D.cc File <strong>Reference</strong> 293<br />

9.86 View1D.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "GeoColorRGB.h"<br />

#include "BWColorRGB.h"<br />

#include "View1D.h"<br />

#include "SavePlotDialog1D.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


294 <strong>JWS</strong> File Documentation<br />

9.87 View1D.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "globals.h"<br />

#include "GtkRuler.h"<br />

#include "View.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::View1D<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.88 View2D.cc File <strong>Reference</strong> 295<br />

9.88 View2D.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "GeoColorRGB.h"<br />

#include "BWColorRGB.h"<br />

#include "View2D.h"<br />

#include "SavePlotDialog2D.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


296 <strong>JWS</strong> File Documentation<br />

9.89 View2D.h File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "globals.h"<br />

#include "util.h"<br />

#include "PseudoColorRGB.h"<br />

#include "GtkRuler.h"<br />

#include "ColorLegend.h"<br />

#include "View.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::View2D<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.90 WaveformView.cc File <strong>Reference</strong> 297<br />

9.90 WaveformView.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include "WaveformView.h"<br />

#include <br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


298 <strong>JWS</strong> File Documentation<br />

9.91 WaveformView.h File <strong>Reference</strong><br />

#include "SoundSource.h"<br />

#include "View1D.h"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::WaveformView<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.92 Window.cc File <strong>Reference</strong> 299<br />

9.92 Window.cc File <strong>Reference</strong><br />

#include <br />

#include "Window.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


300 <strong>JWS</strong> File Documentation<br />

9.93 Window.h File <strong>Reference</strong><br />

#include "globals.h"<br />

#include "Window.cc"<br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::Window< T ><br />

Window function.<br />

• class <strong>JWS</strong>::CosWindow< T ><br />

Cosine shaped windowing function.<br />

• class <strong>JWS</strong>::HannWindow< T ><br />

A Hann Window specialization.<br />

• class <strong>JWS</strong>::HammingWindow< T ><br />

A Hamming Window specialization.<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


9.94 XmlResultDialog.cc File <strong>Reference</strong> 301<br />

9.94 XmlResultDialog.cc File <strong>Reference</strong><br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include "XmlResultDialog.h"<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


302 <strong>JWS</strong> File Documentation<br />

9.95 XmlResultDialog.h File <strong>Reference</strong><br />

#include "globals.h"<br />

#include <br />

#include <br />

#include <br />

Namespaces<br />

• namespace <strong>JWS</strong><br />

Classes<br />

• class <strong>JWS</strong>::XmlResultDialog<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


Index<br />

∼AMT<br />

<strong>JWS</strong>::AMT, 24<br />

∼AMTView<br />

<strong>JWS</strong>::AMTView, 28<br />

∼Application<br />

<strong>JWS</strong>::Application, 30<br />

∼BWColorRGB<br />

<strong>JWS</strong>::BWColorRGB, 32<br />

∼CQT<br />

<strong>JWS</strong>::CQT, 47<br />

∼ColorLegend<br />

<strong>JWS</strong>::ColorLegend, 37<br />

∼Computation<br />

<strong>JWS</strong>::Computation, 40<br />

∼CosWindow<br />

<strong>JWS</strong>::CosWindow, 45<br />

∼FFT<br />

<strong>JWS</strong>::FFT, 52<br />

∼GenerateDialog<br />

<strong>JWS</strong>::GenerateDialog, 54<br />

∼GeoColorRGB<br />

<strong>JWS</strong>::GeoColorRGB, 56<br />

∼MixedSource<br />

<strong>JWS</strong>::MixedSource, 72<br />

∼NoteDetector<br />

<strong>JWS</strong>::NoteDetector, 78<br />

∼PitchDetector<br />

<strong>JWS</strong>::PitchDetector, 88<br />

∼PseudoColorRGB<br />

<strong>JWS</strong>::PseudoColorRGB, 92<br />

∼Ruler<br />

<strong>JWS</strong>::Ruler, 96<br />

∼STACQT<br />

<strong>JWS</strong>::STACQT, 151<br />

∼STCQT<br />

<strong>JWS</strong>::STCQT, 156<br />

∼STFCQT<br />

<strong>JWS</strong>::STFCQT, 161<br />

∼STFFT<br />

<strong>JWS</strong>::STFFT, 166<br />

∼STTransform<br />

<strong>JWS</strong>::STTransform, 171<br />

∼STTransformView<br />

<strong>JWS</strong>::STTransformView, 176<br />

∼SavePlotDialog<br />

<strong>JWS</strong>::SavePlotDialog, 117<br />

∼SavePlotDialog1D<br />

<strong>JWS</strong>::SavePlotDialog1D, 121<br />

∼SavePlotDialog2D<br />

<strong>JWS</strong>::SavePlotDialog2D, 124<br />

∼ScoreElement<br />

<strong>JWS</strong>::ScoreElement, 126<br />

∼ScoreElementList<br />

<strong>JWS</strong>::ScoreElementList, 127<br />

∼SndfileSource<br />

<strong>JWS</strong>::SndfileSource, 133<br />

∼SoundGenerator<br />

<strong>JWS</strong>::SoundGenerator, 137<br />

∼SoundSource<br />

<strong>JWS</strong>::SoundSource, 141<br />

∼SourceView<br />

<strong>JWS</strong>::SourceView, 145<br />

∼View<br />

<strong>JWS</strong>::View, 183<br />

∼View1D<br />

<strong>JWS</strong>::View1D, 187<br />

∼View2D<br />

<strong>JWS</strong>::View2D, 192<br />

∼WaveformView<br />

<strong>JWS</strong>::WaveformView, 198<br />

∼Window<br />

<strong>JWS</strong>::Window, 201<br />

∼XmlResultDialog<br />

<strong>JWS</strong>::XmlResultDialog, 202<br />

_<br />

globals.h, 229<br />

_LIBGETTEXT_H<br />

gettext.h, 227<br />

Accentuation<br />

<strong>JWS</strong>::Accentuation, 23<br />

adjustToNoteLength<br />

<strong>JWS</strong>::NoteDetector, 78<br />

AMT<br />

<strong>JWS</strong>::AMT, 24<br />

AMT.cc, 205<br />

AMT.h, 206<br />

AMTView<br />

<strong>JWS</strong>::AMTView, 28<br />

AMTView.cc, 207


304 INDEX<br />

AMTView.h, 208<br />

Application<br />

<strong>JWS</strong>::Application, 30<br />

Application.cc, 209<br />

Application.h, 210<br />

applyTo<br />

<strong>JWS</strong>::CosWindow, 46<br />

<strong>JWS</strong>::Window, 201<br />

ASCENDING<br />

<strong>JWS</strong>::Ruler, 95<br />

bind_textdomain_codeset<br />

gettext.h, 227<br />

bindtextdomain<br />

gettext.h, 227<br />

Bottom<br />

<strong>JWS</strong>::Ruler::Bottom, 100<br />

BWColorRGB<br />

<strong>JWS</strong>::BWColorRGB, 32<br />

BWColorRGB.cc, 211<br />

BWColorRGB.h, 212<br />

cancelCallback<br />

<strong>JWS</strong>::SavePlotDialog, 118<br />

channels<br />

<strong>JWS</strong>::MixedSource, 72<br />

<strong>JWS</strong>::SndfileSource, 133<br />

<strong>JWS</strong>::SoundGenerator, 137<br />

<strong>JWS</strong>::SoundSource, 141<br />

ChirpSoundGenerator<br />

<strong>JWS</strong>::ChirpSoundGenerator, 33<br />

Clef<br />

<strong>JWS</strong>::Clef, 35<br />

close<br />

<strong>JWS</strong>::MixedSource, 72<br />

<strong>JWS</strong>::SndfileSource, 133<br />

<strong>JWS</strong>::SoundGenerator, 137<br />

<strong>JWS</strong>::SoundSource, 141<br />

ColorLegend<br />

<strong>JWS</strong>::ColorLegend, 37<br />

ColorLegend.cc, 213<br />

ColorLegend.h, 214<br />

Computation<br />

<strong>JWS</strong>::Computation, 40<br />

Computation.cc, 215<br />

Computation.h, 216<br />

COMPUTATION_CALCULATING<br />

<strong>JWS</strong>::Computation, 40<br />

COMPUTATION_INIT<br />

<strong>JWS</strong>::Computation, 40<br />

COMPUTATION_READY<br />

<strong>JWS</strong>::Computation, 40<br />

ComputationState<br />

<strong>JWS</strong>::Computation, 40<br />

ComputationView<br />

<strong>JWS</strong>::ComputationView, 43<br />

ComputationView.cc, 217<br />

ComputationView.h, 218<br />

copy<br />

<strong>JWS</strong>::Bar, 31<br />

<strong>JWS</strong>::ChirpSoundGenerator, 34<br />

<strong>JWS</strong>::Clef, 35<br />

<strong>JWS</strong>::DoubleBar, 49<br />

<strong>JWS</strong>::EndBar, 50<br />

<strong>JWS</strong>::InstrumentSoundGenerator, 64<br />

<strong>JWS</strong>::InvisibleRest, 65<br />

<strong>JWS</strong>::KeySignature, 66<br />

<strong>JWS</strong>::LegatoEnd, 68<br />

<strong>JWS</strong>::LegatoStart, 69<br />

<strong>JWS</strong>::Measure, 70<br />

<strong>JWS</strong>::MixedSource, 72<br />

<strong>JWS</strong>::Note, 75<br />

<strong>JWS</strong>::Portato, 91<br />

<strong>JWS</strong>::Rest, 93<br />

<strong>JWS</strong>::ScoreElement, 126<br />

<strong>JWS</strong>::ScoreElementList, 127<br />

<strong>JWS</strong>::SineSoundGenerator, 131<br />

<strong>JWS</strong>::SndfileSource, 133<br />

<strong>JWS</strong>::SoundSource, 141<br />

<strong>JWS</strong>::Staccato, 149<br />

<strong>JWS</strong>::TimeSignature, 181<br />

<strong>JWS</strong>::VoiceList, 197<br />

CosWindow<br />

<strong>JWS</strong>::CosWindow, 45<br />

CQT<br />

<strong>JWS</strong>::CQT, 47<br />

CQT.cc, 219<br />

CQT.h, 220<br />

create<br />

<strong>JWS</strong>::GenerateDialog, 54<br />

<strong>JWS</strong>::GtkRuler, 58<br />

<strong>JWS</strong>::SavePlotDialog1D, 121<br />

<strong>JWS</strong>::SavePlotDialog2D, 124<br />

<strong>JWS</strong>::XmlResultDialog, 202<br />

dcgettext<br />

gettext.h, 227<br />

dcngettext<br />

gettext.h, 227<br />

debug<br />

globals.h, 229<br />

jws.cc, 233<br />

deleteMarksList<br />

<strong>JWS</strong>::Ruler, 96<br />

DESCENDING<br />

<strong>JWS</strong>::Ruler, 95<br />

dgettext<br />

gettext.h, 227<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


INDEX 305<br />

Direction<br />

<strong>JWS</strong>::ColorLegend, 37<br />

dngettext<br />

gettext.h, 228<br />

doCalculate<br />

<strong>JWS</strong>::STACQT, 151<br />

<strong>JWS</strong>::STCQT, 156<br />

<strong>JWS</strong>::STFCQT, 161<br />

<strong>JWS</strong>::STFFT, 166<br />

<strong>JWS</strong>::STTransform, 171<br />

doCompute<br />

<strong>JWS</strong>::AMT, 25<br />

<strong>JWS</strong>::Computation, 40<br />

<strong>JWS</strong>::NoteDetector, 78<br />

<strong>JWS</strong>::OnsetDetector, 82<br />

<strong>JWS</strong>::PitchDetector, 88<br />

<strong>JWS</strong>::ScoreGenerator, 128<br />

<strong>JWS</strong>::STTransform, 171<br />

doPrepare<br />

<strong>JWS</strong>::STACQT, 151<br />

<strong>JWS</strong>::STCQT, 156<br />

<strong>JWS</strong>::STFCQT, 161<br />

<strong>JWS</strong>::STFFT, 166<br />

<strong>JWS</strong>::STTransform, 171<br />

drawMarking<br />

<strong>JWS</strong>::Ruler::Bottom, 100<br />

<strong>JWS</strong>::Ruler::Left, 102<br />

<strong>JWS</strong>::Ruler::PositionStrategy, 109<br />

<strong>JWS</strong>::Ruler::Right, 111<br />

<strong>JWS</strong>::Ruler::Top, 115<br />

drawMarkingBottom<br />

<strong>JWS</strong>::GtkRuler, 58<br />

<strong>JWS</strong>::Ruler, 96<br />

drawMarkingLeft<br />

<strong>JWS</strong>::GtkRuler, 58<br />

<strong>JWS</strong>::Ruler, 96<br />

drawMarkingRight<br />

<strong>JWS</strong>::GtkRuler, 58<br />

<strong>JWS</strong>::Ruler, 96<br />

drawMarkingTop<br />

<strong>JWS</strong>::GtkRuler, 59<br />

<strong>JWS</strong>::Ruler, 96<br />

elapseTime<br />

<strong>JWS</strong>::Computation, 40<br />

e<strong>of</strong><br />

<strong>JWS</strong>::MixedSource, 72<br />

<strong>JWS</strong>::SndfileSource, 133<br />

<strong>JWS</strong>::SoundGenerator, 138<br />

<strong>JWS</strong>::SoundSource, 141<br />

Exception<br />

<strong>JWS</strong>::Exception, 51<br />

execute<br />

<strong>JWS</strong>::CQT, 47<br />

<strong>JWS</strong>::FFT, 52<br />

EXPONENTIAL<br />

<strong>JWS</strong>, 20<br />

util.h, 289<br />

FFT<br />

<strong>JWS</strong>::FFT, 52<br />

FFT.cc, 221<br />

FFT.h, 222<br />

GenerateDialog<br />

<strong>JWS</strong>::GenerateDialog, 54<br />

GenerateDialog.cc, 223<br />

GenerateDialog.h, 224<br />

GeoColorRGB<br />

<strong>JWS</strong>::GeoColorRGB, 56<br />

GeoColorRGB.cc, 225<br />

GeoColorRGB.h, 226<br />

getAccidentals<br />

<strong>JWS</strong>::Pitch, 84<br />

getAmplitude<br />

<strong>JWS</strong>::Onset, 80<br />

getBandsPerSemitone<br />

<strong>JWS</strong>::STACQT, 151<br />

<strong>JWS</strong>::STCQT, 156<br />

<strong>JWS</strong>::STFCQT, 161<br />

<strong>JWS</strong>::STTransform, 172<br />

getClef<br />

<strong>JWS</strong>::NoteDetector, 78<br />

getCoefficient<br />

<strong>JWS</strong>::AMT, 25<br />

<strong>JWS</strong>::AMTView, 28<br />

<strong>JWS</strong>::PitchDetector, 88<br />

<strong>JWS</strong>::STACQT, 151<br />

<strong>JWS</strong>::STCQT, 156<br />

<strong>JWS</strong>::STFCQT, 161<br />

<strong>JWS</strong>::STFFT, 166<br />

<strong>JWS</strong>::STTransform, 172<br />

<strong>JWS</strong>::STTransformView, 176<br />

<strong>JWS</strong>::View2D, 193<br />

getCoefficientMax<br />

<strong>JWS</strong>::AMT, 25<br />

getCoefficientRangeConsidered<br />

<strong>JWS</strong>::AMTView, 28<br />

<strong>JWS</strong>::STTransformView, 176<br />

<strong>JWS</strong>::View2D, 193<br />

getComputationProgress<br />

<strong>JWS</strong>::ComputationView, 44<br />

getComputationTime<br />

<strong>JWS</strong>::STTransform, 172<br />

getContextMenu<br />

<strong>JWS</strong>::View, 184<br />

getContextPosition<br />

<strong>JWS</strong>::View2D, 193<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


306 INDEX<br />

getDenominator<br />

<strong>JWS</strong>::TimeSignature, 181<br />

getDomain<br />

<strong>JWS</strong>::View1D, 187<br />

getElapsedTime<br />

<strong>JWS</strong>::Computation, 41<br />

getFrequency<br />

<strong>JWS</strong>::Pitch, 85<br />

getFrequencyOfBand<br />

<strong>JWS</strong>::STACQT, 151<br />

<strong>JWS</strong>::STCQT, 156<br />

<strong>JWS</strong>::STFCQT, 161<br />

<strong>JWS</strong>::STFFT, 166<br />

<strong>JWS</strong>::STTransform, 172<br />

getFullName<br />

<strong>JWS</strong>::Pitch, 85<br />

getGranularity<br />

<strong>JWS</strong>::View1D, 188<br />

getHighestConsideredPitch<br />

<strong>JWS</strong>::PitchDetector, 88<br />

getInfoTable<br />

<strong>JWS</strong>::View, 184<br />

getInputSize<br />

<strong>JWS</strong>::CQT, 48<br />

getInstance<br />

<strong>JWS</strong>::Application, 30<br />

getKey<br />

<strong>JWS</strong>::KeySignature, 66<br />

<strong>JWS</strong>::NoteDetector, 78<br />

<strong>JWS</strong>::Pitch, 85<br />

getLength<br />

<strong>JWS</strong>::Onset, 80<br />

<strong>JWS</strong>::TemporalScoreElement, 180<br />

getLine<br />

<strong>JWS</strong>::Clef, 35<br />

getLineDistance<br />

<strong>JWS</strong>::Ruler::Bottom, 100<br />

<strong>JWS</strong>::Ruler::Left, 102<br />

<strong>JWS</strong>::Ruler::PositionStrategy, 109<br />

<strong>JWS</strong>::Ruler::Right, 111<br />

<strong>JWS</strong>::Ruler::Top, 115<br />

getLineDistanceHorizontal<br />

<strong>JWS</strong>::GtkRuler, 59<br />

<strong>JWS</strong>::Ruler, 96<br />

getLineDistanceVertical<br />

<strong>JWS</strong>::GtkRuler, 59<br />

<strong>JWS</strong>::Ruler, 97<br />

getLowestConsideredBand<br />

<strong>JWS</strong>::PitchDetector, 88<br />

getLowestConsideredPitch<br />

<strong>JWS</strong>::PitchDetector, 88<br />

getMainWindow<br />

<strong>JWS</strong>::Application, 30<br />

getMarksList<br />

<strong>JWS</strong>::Ruler::Linear, 104<br />

<strong>JWS</strong>::Ruler::Logarithmic, 106<br />

<strong>JWS</strong>::Ruler::ScaleStrategy, 113<br />

getMatrixMax<br />

<strong>JWS</strong>::PitchDetector, 89<br />

getMaxAmplitude<br />

<strong>JWS</strong>::OnsetDetector, 83<br />

getMaxResultValue<br />

<strong>JWS</strong>::STACQT, 151<br />

<strong>JWS</strong>::STCQT, 156<br />

<strong>JWS</strong>::STFCQT, 161<br />

<strong>JWS</strong>::STFFT, 167<br />

<strong>JWS</strong>::STTransform, 172<br />

getMaxValueOfBand<br />

<strong>JWS</strong>::STTransform, 172<br />

getMaxValueOfTime<br />

<strong>JWS</strong>::STTransform, 172<br />

getMidiPitch<br />

<strong>JWS</strong>::Pitch, 85<br />

getMinValueOfBand<br />

<strong>JWS</strong>::STTransform, 173<br />

getMinValueOfTime<br />

<strong>JWS</strong>::STTransform, 173<br />

getName<br />

<strong>JWS</strong>::AMTView, 28<br />

<strong>JWS</strong>::ChirpSoundGenerator, 34<br />

<strong>JWS</strong>::InstrumentSoundGenerator, 64<br />

<strong>JWS</strong>::MixedSource, 73<br />

<strong>JWS</strong>::Pitch, 85<br />

<strong>JWS</strong>::SineSoundGenerator, 131<br />

<strong>JWS</strong>::SndfileSource, 134<br />

<strong>JWS</strong>::SoundSource, 141<br />

<strong>JWS</strong>::SpectrumView, 147<br />

<strong>JWS</strong>::STACQT, 152<br />

<strong>JWS</strong>::STCQT, 157<br />

<strong>JWS</strong>::STFCQT, 162<br />

<strong>JWS</strong>::STFFT, 167<br />

<strong>JWS</strong>::STTransform, 173<br />

<strong>JWS</strong>::STTransformView, 176<br />

<strong>JWS</strong>::View, 184<br />

<strong>JWS</strong>::View1D, 188<br />

<strong>JWS</strong>::View2D, 193<br />

<strong>JWS</strong>::WaveformView, 199<br />

getNoteInOctave<br />

<strong>JWS</strong>::Pitch, 85<br />

getNoteList<br />

<strong>JWS</strong>::NoteDetector, 78<br />

getNumberOfBands<br />

<strong>JWS</strong>::AMT, 25<br />

<strong>JWS</strong>::CQT, 48<br />

<strong>JWS</strong>::STACQT, 152<br />

<strong>JWS</strong>::STCQT, 157<br />

<strong>JWS</strong>::STFCQT, 162<br />

<strong>JWS</strong>::STFFT, 167<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


INDEX 307<br />

<strong>JWS</strong>::STTransform, 173<br />

getNumberOfConsideredPitches<br />

<strong>JWS</strong>::PitchDetector, 89<br />

getNumberOfDots<br />

<strong>JWS</strong>::TemporalScoreElement, 180<br />

getNumberOfElapsedTimes<br />

<strong>JWS</strong>::Computation, 41<br />

getNumberOfTimes<br />

<strong>JWS</strong>::AMT, 25<br />

<strong>JWS</strong>::PitchDetector, 89<br />

<strong>JWS</strong>::STACQT, 152<br />

<strong>JWS</strong>::STCQT, 157<br />

<strong>JWS</strong>::STFCQT, 162<br />

<strong>JWS</strong>::STFFT, 167<br />

<strong>JWS</strong>::STTransform, 173<br />

getNumerator<br />

<strong>JWS</strong>::TimeSignature, 181<br />

getOctave<br />

<strong>JWS</strong>::Pitch, 85<br />

getOnsets<br />

<strong>JWS</strong>::OnsetDetector, 83<br />

getOrder<br />

<strong>JWS</strong>::Ruler, 97<br />

getOutput<br />

<strong>JWS</strong>::CQT, 48<br />

<strong>JWS</strong>::FFT, 52, 53<br />

getPitch<br />

<strong>JWS</strong>::Note, 75<br />

<strong>JWS</strong>::Onset, 80<br />

getPitchAmplitude<br />

<strong>JWS</strong>::PitchDetector, 89<br />

getPitchAmplitudeMax<br />

<strong>JWS</strong>::PitchDetector, 89<br />

getPixelFromPositionX<br />

<strong>JWS</strong>::View2D, 193<br />

getPixelFromPositionY<br />

<strong>JWS</strong>::View2D, 193<br />

getPos<br />

<strong>JWS</strong>::MixedSource, 73<br />

<strong>JWS</strong>::SndfileSource, 134<br />

<strong>JWS</strong>::SoundGenerator, 138<br />

<strong>JWS</strong>::SoundSource, 142<br />

getPositionFromPixelX<br />

<strong>JWS</strong>::View2D, 193<br />

getPositionFromPixelY<br />

<strong>JWS</strong>::View2D, 193<br />

getPositionStrategy<br />

<strong>JWS</strong>::Ruler, 97<br />

getPreparationTime<br />

<strong>JWS</strong>::STTransform, 173<br />

getProgress<br />

<strong>JWS</strong>::AMT, 25<br />

<strong>JWS</strong>::Computation, 41<br />

getProminents<br />

<strong>JWS</strong>::PitchDetector, 89<br />

getRange<br />

<strong>JWS</strong>::Ruler, 97<br />

getResultSize<br />

<strong>JWS</strong>::AMTView, 28<br />

<strong>JWS</strong>::ComputationView, 44<br />

<strong>JWS</strong>::STTransformView, 176<br />

getRuler<br />

<strong>JWS</strong>::Ruler::PositionStrategy, 110<br />

<strong>JWS</strong>::Ruler::ScaleStrategy, 113<br />

getRulerDistance<br />

<strong>JWS</strong>::Ruler::Logarithmic, 106<br />

<strong>JWS</strong>::Ruler::ScaleStrategy, 114<br />

getRulerPosition<br />

<strong>JWS</strong>::Ruler::Linear, 104<br />

<strong>JWS</strong>::Ruler::Logarithmic, 107<br />

<strong>JWS</strong>::Ruler::ScaleStrategy, 114<br />

getScaleNameValues<br />

<strong>JWS</strong>::AMTView, 28<br />

<strong>JWS</strong>::SpectrumView, 147<br />

<strong>JWS</strong>::STTransformView, 177<br />

<strong>JWS</strong>::View1D, 188<br />

<strong>JWS</strong>::View2D, 193<br />

<strong>JWS</strong>::WaveformView, 199<br />

getScaleNameX<br />

<strong>JWS</strong>::AMTView, 28<br />

<strong>JWS</strong>::SpectrumView, 147<br />

<strong>JWS</strong>::STTransformView, 177<br />

<strong>JWS</strong>::View1D, 188<br />

<strong>JWS</strong>::View2D, 194<br />

<strong>JWS</strong>::WaveformView, 199<br />

getScaleNameY<br />

<strong>JWS</strong>::AMTView, 28<br />

<strong>JWS</strong>::STTransformView, 177<br />

<strong>JWS</strong>::View2D, 194<br />

getScaleStrategy<br />

<strong>JWS</strong>::Ruler, 97<br />

getScaleValueX<br />

<strong>JWS</strong>::AMT, 25<br />

<strong>JWS</strong>::AMTView, 29<br />

<strong>JWS</strong>::STTransformView, 177<br />

<strong>JWS</strong>::View2D, 194<br />

getScaleValueY<br />

<strong>JWS</strong>::AMT, 25<br />

<strong>JWS</strong>::AMTView, 29<br />

<strong>JWS</strong>::STTransformView, 177<br />

<strong>JWS</strong>::View2D, 194<br />

getSign<br />

<strong>JWS</strong>::Clef, 36<br />

getSize<br />

<strong>JWS</strong>::View2D, 194<br />

getSource<br />

<strong>JWS</strong>::STTransform, 173<br />

getSourceFilename<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


308 INDEX<br />

<strong>JWS</strong>::AMT, 25<br />

getSpectrum<br />

<strong>JWS</strong>::STACQT, 152<br />

<strong>JWS</strong>::STCQT, 157<br />

<strong>JWS</strong>::STFCQT, 162<br />

<strong>JWS</strong>::STTransform, 173<br />

getStartInMeasure<br />

<strong>JWS</strong>::NoteDetector, 78<br />

getStartTime<br />

<strong>JWS</strong>::Onset, 80<br />

getState<br />

<strong>JWS</strong>::Computation, 41<br />

getTatum<br />

<strong>JWS</strong>::NoteDetector, 79<br />

getTatumNoteLength<br />

<strong>JWS</strong>::NoteDetector, 79<br />

gettext<br />

gettext.h, 228<br />

gettext.h, 227<br />

_LIBGETTEXT_H, 227<br />

bind_textdomain_codeset, 227<br />

bindtextdomain, 227<br />

dcgettext, 227<br />

dcngettext, 227<br />

dgettext, 227<br />

dngettext, 228<br />

gettext, 228<br />

gettext_noop, 228<br />

ngettext, 228<br />

textdomain, 228<br />

gettext_noop<br />

gettext.h, 228<br />

getTextExtent<br />

<strong>JWS</strong>::Ruler::Bottom, 101<br />

<strong>JWS</strong>::Ruler::Left, 103<br />

<strong>JWS</strong>::Ruler::PositionStrategy, 110<br />

<strong>JWS</strong>::Ruler::Right, 112<br />

<strong>JWS</strong>::Ruler::Top, 116<br />

getTextExtentHorizontal<br />

<strong>JWS</strong>::GtkRuler, 59<br />

<strong>JWS</strong>::Ruler, 97<br />

getTextExtentVertical<br />

<strong>JWS</strong>::GtkRuler, 59<br />

<strong>JWS</strong>::Ruler, 97<br />

getTime<br />

<strong>JWS</strong>::PitchDetector, 89<br />

<strong>JWS</strong>::STACQT, 152<br />

<strong>JWS</strong>::STCQT, 157<br />

<strong>JWS</strong>::STFCQT, 162<br />

<strong>JWS</strong>::STFFT, 167<br />

<strong>JWS</strong>::STTransform, 174<br />

getTimeSignature<br />

<strong>JWS</strong>::NoteDetector, 79<br />

getTimeSpacing<br />

<strong>JWS</strong>::PitchDetector, 89<br />

<strong>JWS</strong>::STACQT, 152<br />

<strong>JWS</strong>::STCQT, 157<br />

<strong>JWS</strong>::STFCQT, 162<br />

<strong>JWS</strong>::STFFT, 167<br />

<strong>JWS</strong>::STTransform, 174<br />

getTitleFromDialog<br />

<strong>JWS</strong>::SavePlotDialog1D, 121<br />

<strong>JWS</strong>::SavePlotDialog2D, 124<br />

getTotalElapsedTime<br />

<strong>JWS</strong>::Computation, 41<br />

getTuning<br />

<strong>JWS</strong>::Pitch, 85<br />

getType<br />

<strong>JWS</strong>::TemporalScoreElement, 180<br />

getUnitValues<br />

<strong>JWS</strong>::AMTView, 29<br />

<strong>JWS</strong>::SpectrumView, 147<br />

<strong>JWS</strong>::STTransformView, 177<br />

<strong>JWS</strong>::View1D, 188<br />

<strong>JWS</strong>::View2D, 194<br />

<strong>JWS</strong>::WaveformView, 199<br />

getUnitX<br />

<strong>JWS</strong>::AMTView, 29<br />

<strong>JWS</strong>::SpectrumView, 147<br />

<strong>JWS</strong>::STTransformView, 177<br />

<strong>JWS</strong>::View1D, 188<br />

<strong>JWS</strong>::View2D, 194<br />

<strong>JWS</strong>::WaveformView, 199<br />

getUnitY<br />

<strong>JWS</strong>::AMTView, 29<br />

<strong>JWS</strong>::STTransformView, 177<br />

<strong>JWS</strong>::View2D, 194<br />

getValue<br />

<strong>JWS</strong>::Ruler, 97<br />

<strong>JWS</strong>::SpectrumView, 147<br />

<strong>JWS</strong>::View1D, 188<br />

<strong>JWS</strong>::WaveformView, 199<br />

getValueRange<br />

<strong>JWS</strong>::SpectrumView, 147<br />

<strong>JWS</strong>::View1D, 188<br />

<strong>JWS</strong>::WaveformView, 199<br />

getValueRangeConsidered<br />

<strong>JWS</strong>::SpectrumView, 147<br />

<strong>JWS</strong>::View1D, 188<br />

<strong>JWS</strong>::WaveformView, 199<br />

getWidth<br />

<strong>JWS</strong>::View1D, 189<br />

getXLabelFromDialog<br />

<strong>JWS</strong>::SavePlotDialog1D, 121<br />

<strong>JWS</strong>::SavePlotDialog2D, 124<br />

getXmlResult<br />

<strong>JWS</strong>::AMT, 26<br />

<strong>JWS</strong>::ScoreGenerator, 129<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


INDEX 309<br />

getXRangeFromDialog<br />

<strong>JWS</strong>::SavePlotDialog1D, 121<br />

<strong>JWS</strong>::SavePlotDialog2D, 124<br />

getXUnitFromDialog<br />

<strong>JWS</strong>::SavePlotDialog2D, 124<br />

getYLabelFromDialog<br />

<strong>JWS</strong>::SavePlotDialog1D, 121<br />

<strong>JWS</strong>::SavePlotDialog2D, 124<br />

getYRangeFromDialog<br />

<strong>JWS</strong>::SavePlotDialog1D, 121<br />

<strong>JWS</strong>::SavePlotDialog2D, 124<br />

getYUnitFromDialog<br />

<strong>JWS</strong>::SavePlotDialog2D, 125<br />

globals.h, 229<br />

_, 229<br />

debug, 229<br />

N_, 229<br />

TITLE, 229<br />

Gnome::Glade::Xml<br />

<strong>JWS</strong>::GenerateDialog, 55<br />

<strong>JWS</strong>::GtkRuler, 60<br />

<strong>JWS</strong>::SavePlotDialog, 119<br />

<strong>JWS</strong>::SavePlotDialog1D, 122<br />

<strong>JWS</strong>::SavePlotDialog2D, 125<br />

<strong>JWS</strong>::XmlResultDialog, 203<br />

GtkRuler<br />

<strong>JWS</strong>::GtkRuler, 58<br />

GtkRuler.cc, 231<br />

GtkRuler.h, 232<br />

HammingWindow<br />

<strong>JWS</strong>::HammingWindow, 61<br />

HannWindow<br />

<strong>JWS</strong>::HannWindow, 62<br />

hideContents<br />

<strong>JWS</strong>::View1D, 189<br />

<strong>JWS</strong>::View2D, 194<br />

hideInfo<br />

<strong>JWS</strong>::View, 184<br />

hideProgressBar<br />

<strong>JWS</strong>::View1D, 189<br />

<strong>JWS</strong>::View2D, 194<br />

HORIZONTAL<br />

<strong>JWS</strong>::ColorLegend, 37<br />

init<br />

<strong>JWS</strong>::Ruler, 97<br />

initPosition<br />

<strong>JWS</strong>::Ruler::Bottom, 101<br />

<strong>JWS</strong>::Ruler::Left, 103<br />

<strong>JWS</strong>::Ruler::PositionStrategy, 110<br />

<strong>JWS</strong>::Ruler::Right, 112<br />

<strong>JWS</strong>::Ruler::Top, 116<br />

initPositionBottom<br />

<strong>JWS</strong>::GtkRuler, 59<br />

<strong>JWS</strong>::Ruler, 98<br />

initPositionLeft<br />

<strong>JWS</strong>::GtkRuler, 59<br />

<strong>JWS</strong>::Ruler, 98<br />

initPositionRight<br />

<strong>JWS</strong>::GtkRuler, 59<br />

<strong>JWS</strong>::Ruler, 98<br />

initPositionTop<br />

<strong>JWS</strong>::GtkRuler, 59<br />

<strong>JWS</strong>::Ruler, 98<br />

InstrumentSoundGenerator<br />

<strong>JWS</strong>::InstrumentSoundGenerator, 63<br />

InvisibleRest<br />

<strong>JWS</strong>::InvisibleRest, 65<br />

isDataValid<br />

<strong>JWS</strong>::ComputationView, 44<br />

isOpen<br />

<strong>JWS</strong>::MixedSource, 73<br />

<strong>JWS</strong>::SndfileSource, 134<br />

<strong>JWS</strong>::SoundGenerator, 138<br />

<strong>JWS</strong>::SoundSource, 142<br />

<strong>JWS</strong>, 17<br />

EXPONENTIAL, 20<br />

LINEAR, 20<br />

LOGARITHMIC, 20<br />

ScaleType, 20<br />

str, 20<br />

timeval_subtract, 20<br />

jws.cc, 233<br />

debug, 233<br />

main, 233<br />

<strong>JWS</strong>::Accentuation, 23<br />

Accentuation, 23<br />

<strong>JWS</strong>::AMT, 24<br />

∼AMT, 24<br />

AMT, 24<br />

doCompute, 25<br />

getCoefficient, 25<br />

getCoefficientMax, 25<br />

getNumberOfBands, 25<br />

getNumberOfTimes, 25<br />

getProgress, 25<br />

getScaleValueX, 25<br />

getScaleValueY, 25<br />

getSourceFilename, 25<br />

getXmlResult, 26<br />

<strong>JWS</strong>::AMTView, 27<br />

∼AMTView, 28<br />

AMTView, 28<br />

getCoefficient, 28<br />

getCoefficientRangeConsidered, 28<br />

getName, 28<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


310 INDEX<br />

getResultSize, 28<br />

getScaleNameValues, 28<br />

getScaleNameX, 28<br />

getScaleNameY, 28<br />

getScaleValueX, 29<br />

getScaleValueY, 29<br />

getUnitValues, 29<br />

getUnitX, 29<br />

getUnitY, 29<br />

<strong>JWS</strong>::Application, 30<br />

∼Application, 30<br />

Application, 30<br />

getInstance, 30<br />

getMainWindow, 30<br />

<strong>JWS</strong>::Bar, 31<br />

copy, 31<br />

<strong>JWS</strong>::BWColorRGB, 32<br />

<strong>JWS</strong>::BWColorRGB<br />

∼BWColorRGB, 32<br />

BWColorRGB, 32<br />

lookup, 32<br />

<strong>JWS</strong>::ChirpSoundGenerator, 33<br />

<strong>JWS</strong>::ChirpSoundGenerator<br />

ChirpSoundGenerator, 33<br />

copy, 34<br />

getName, 34<br />

read, 34<br />

<strong>JWS</strong>::Clef, 35<br />

Clef, 35<br />

copy, 35<br />

getLine, 35<br />

getSign, 36<br />

setSign, 36<br />

<strong>JWS</strong>::ColorLegend, 37<br />

HORIZONTAL, 37<br />

VERTICAL, 37<br />

<strong>JWS</strong>::ColorLegend<br />

∼ColorLegend, 37<br />

ColorLegend, 37<br />

Direction, 37<br />

setDirection, 38<br />

setPseudoColorRGB, 38<br />

setRange, 38<br />

<strong>JWS</strong>::Computation, 39<br />

∼Computation, 40<br />

Computation, 40<br />

COMPUTATION_CALCULATING, 40<br />

COMPUTATION_INIT, 40<br />

COMPUTATION_READY, 40<br />

ComputationState, 40<br />

doCompute, 40<br />

elapseTime, 40<br />

getElapsedTime, 41<br />

getNumberOfElapsedTimes, 41<br />

getProgress, 41<br />

getState, 41<br />

getTotalElapsedTime, 41<br />

setProgress, 41<br />

start, 41<br />

<strong>JWS</strong>::ComputationView, 43<br />

<strong>JWS</strong>::ComputationView<br />

ComputationView, 43<br />

getComputationProgress, 44<br />

getResultSize, 44<br />

isDataValid, 44<br />

onComputationReady, 44<br />

startComputation, 44<br />

<strong>JWS</strong>::CosWindow, 45<br />

<strong>JWS</strong>::CosWindow<br />

∼CosWindow, 45<br />

applyTo, 46<br />

CosWindow, 45<br />

<strong>JWS</strong>::CQT, 47<br />

∼CQT, 47<br />

CQT, 47<br />

execute, 47<br />

getInputSize, 48<br />

getNumberOfBands, 48<br />

getOutput, 48<br />

setInput, 48<br />

<strong>JWS</strong>::DoubleBar, 49<br />

<strong>JWS</strong>::DoubleBar<br />

copy, 49<br />

<strong>JWS</strong>::EndBar, 50<br />

<strong>JWS</strong>::EndBar<br />

copy, 50<br />

<strong>JWS</strong>::Exception, 51<br />

Exception, 51<br />

reason, 51<br />

<strong>JWS</strong>::FFT, 52<br />

∼FFT, 52<br />

execute, 52<br />

FFT, 52<br />

getOutput, 52, 53<br />

setInput, 53<br />

<strong>JWS</strong>::GenerateDialog, 54<br />

<strong>JWS</strong>::GenerateDialog<br />

∼GenerateDialog, 54<br />

create, 54<br />

GenerateDialog, 54<br />

Gnome::Glade::Xml, 55<br />

on_delete_event, 55<br />

<strong>JWS</strong>::GeoColorRGB, 56<br />

<strong>JWS</strong>::GeoColorRGB<br />

∼GeoColorRGB, 56<br />

GeoColorRGB, 56<br />

lookup, 56<br />

<strong>JWS</strong>::GtkRuler, 57<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


INDEX 311<br />

<strong>JWS</strong>::GtkRuler<br />

create, 58<br />

drawMarkingBottom, 58<br />

drawMarkingLeft, 58<br />

drawMarkingRight, 58<br />

drawMarkingTop, 59<br />

getLineDistanceHorizontal, 59<br />

getLineDistanceVertical, 59<br />

getTextExtentHorizontal, 59<br />

getTextExtentVertical, 59<br />

Gnome::Glade::Xml, 60<br />

GtkRuler, 58<br />

initPositionBottom, 59<br />

initPositionLeft, 59<br />

initPositionRight, 59<br />

initPositionTop, 59<br />

setRange, 59<br />

<strong>JWS</strong>::HammingWindow, 61<br />

<strong>JWS</strong>::HammingWindow<br />

HammingWindow, 61<br />

<strong>JWS</strong>::HannWindow, 62<br />

<strong>JWS</strong>::HannWindow<br />

HannWindow, 62<br />

<strong>JWS</strong>::InstrumentSoundGenerator, 63<br />

<strong>JWS</strong>::InstrumentSoundGenerator<br />

copy, 64<br />

getName, 64<br />

InstrumentSoundGenerator, 63<br />

read, 64<br />

<strong>JWS</strong>::InvisibleRest, 65<br />

<strong>JWS</strong>::InvisibleRest<br />

copy, 65<br />

InvisibleRest, 65<br />

<strong>JWS</strong>::KeySignature, 66<br />

<strong>JWS</strong>::KeySignature<br />

copy, 66<br />

getKey, 66<br />

KeySignature, 66<br />

setKey, 66<br />

<strong>JWS</strong>::LegatoEnd, 68<br />

<strong>JWS</strong>::LegatoEnd<br />

copy, 68<br />

<strong>JWS</strong>::LegatoStart, 69<br />

<strong>JWS</strong>::LegatoStart<br />

copy, 69<br />

<strong>JWS</strong>::Measure, 70<br />

copy, 70<br />

<strong>JWS</strong>::MixedSource, 71<br />

<strong>JWS</strong>::MixedSource<br />

∼MixedSource, 72<br />

channels, 72<br />

close, 72<br />

copy, 72<br />

e<strong>of</strong>, 72<br />

getName, 73<br />

getPos, 73<br />

isOpen, 73<br />

MixedSource, 72<br />

open, 73<br />

rate, 73<br />

read, 73<br />

seek, 74<br />

size, 74<br />

<strong>JWS</strong>::Note, 75<br />

copy, 75<br />

getPitch, 75<br />

Note, 75<br />

setPitch, 76<br />

<strong>JWS</strong>::NoteDetector, 77<br />

<strong>JWS</strong>::NoteDetector<br />

∼NoteDetector, 78<br />

adjustToNoteLength, 78<br />

doCompute, 78<br />

getClef, 78<br />

getKey, 78<br />

getNoteList, 78<br />

getStartInMeasure, 78<br />

getTatum, 79<br />

getTatumNoteLength, 79<br />

getTimeSignature, 79<br />

NoteDetector, 77<br />

<strong>JWS</strong>::Onset, 80<br />

getAmplitude, 80<br />

getLength, 80<br />

getPitch, 80<br />

getStartTime, 80<br />

Onset, 80<br />

setAmplitude, 80<br />

setLength, 81<br />

setPitch, 81<br />

setStartTime, 81<br />

<strong>JWS</strong>::OnsetDetector, 82<br />

<strong>JWS</strong>::OnsetDetector<br />

doCompute, 82<br />

getMaxAmplitude, 83<br />

getOnsets, 83<br />

OnsetDetector, 82<br />

<strong>JWS</strong>::Pitch, 84<br />

getAccidentals, 84<br />

getFrequency, 85<br />

getFullName, 85<br />

getKey, 85<br />

getMidiPitch, 85<br />

getName, 85<br />

getNoteInOctave, 85<br />

getOctave, 85<br />

getTuning, 85<br />

Pitch, 84<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


312 INDEX<br />

setKey, 86<br />

setTuning, 86<br />

transpose, 86<br />

<strong>JWS</strong>::PitchDetector, 87<br />

<strong>JWS</strong>::PitchDetector<br />

∼PitchDetector, 88<br />

doCompute, 88<br />

getCoefficient, 88<br />

getHighestConsideredPitch, 88<br />

getLowestConsideredBand, 88<br />

getLowestConsideredPitch, 88<br />

getMatrixMax, 89<br />

getNumberOfConsideredPitches, 89<br />

getNumberOfTimes, 89<br />

getPitchAmplitude, 89<br />

getPitchAmplitudeMax, 89<br />

getProminents, 89<br />

getTime, 89<br />

getTimeSpacing, 89<br />

PitchDetector, 87<br />

<strong>JWS</strong>::Portato, 91<br />

copy, 91<br />

<strong>JWS</strong>::PseudoColorRGB, 92<br />

<strong>JWS</strong>::PseudoColorRGB<br />

∼PseudoColorRGB, 92<br />

lookup, 92<br />

<strong>JWS</strong>::Rest, 93<br />

copy, 93<br />

Rest, 93<br />

<strong>JWS</strong>::Ruler, 94<br />

∼Ruler, 96<br />

ASCENDING, 95<br />

deleteMarksList, 96<br />

DESCENDING, 95<br />

drawMarkingBottom, 96<br />

drawMarkingLeft, 96<br />

drawMarkingRight, 96<br />

drawMarkingTop, 96<br />

getLineDistanceHorizontal, 96<br />

getLineDistanceVertical, 97<br />

getOrder, 97<br />

getPositionStrategy, 97<br />

getRange, 97<br />

getScaleStrategy, 97<br />

getTextExtentHorizontal, 97<br />

getTextExtentVertical, 97<br />

getValue, 97<br />

init, 97<br />

initPositionBottom, 98<br />

initPositionLeft, 98<br />

initPositionRight, 98<br />

initPositionTop, 98<br />

Order, 95<br />

Ruler, 96<br />

setOrder, 98<br />

setPositionStrategy, 98<br />

setRange, 98<br />

setScaleStrategy, 99<br />

setValue, 99<br />

<strong>JWS</strong>::Ruler::Bottom, 100<br />

Bottom, 100<br />

drawMarking, 100<br />

getLineDistance, 100<br />

getTextExtent, 101<br />

initPosition, 101<br />

<strong>JWS</strong>::Ruler::Left, 102<br />

drawMarking, 102<br />

getLineDistance, 102<br />

getTextExtent, 103<br />

initPosition, 103<br />

Left, 102<br />

<strong>JWS</strong>::Ruler::Linear, 104<br />

getMarksList, 104<br />

getRulerPosition, 104<br />

Linear, 104<br />

<strong>JWS</strong>::Ruler::Logarithmic, 106<br />

getMarksList, 106<br />

getRulerDistance, 106<br />

getRulerPosition, 107<br />

Logarithmic, 106<br />

<strong>JWS</strong>::Ruler::Mark, 108<br />

Mark, 108<br />

pos, 108<br />

show_value, 108<br />

size, 108<br />

value, 108<br />

<strong>JWS</strong>::Ruler::PositionStrategy, 109<br />

<strong>JWS</strong>::Ruler::PositionStrategy<br />

drawMarking, 109<br />

getLineDistance, 109<br />

getRuler, 110<br />

getTextExtent, 110<br />

initPosition, 110<br />

setRuler, 110<br />

<strong>JWS</strong>::Ruler::Right, 111<br />

drawMarking, 111<br />

getLineDistance, 111<br />

getTextExtent, 112<br />

initPosition, 112<br />

Right, 111<br />

<strong>JWS</strong>::Ruler::ScaleStrategy, 113<br />

<strong>JWS</strong>::Ruler::ScaleStrategy<br />

getMarksList, 113<br />

getRuler, 113<br />

getRulerDistance, 114<br />

getRulerPosition, 114<br />

setRuler, 114<br />

<strong>JWS</strong>::Ruler::Top, 115<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


INDEX 313<br />

drawMarking, 115<br />

getLineDistance, 115<br />

getTextExtent, 116<br />

initPosition, 116<br />

Top, 115<br />

<strong>JWS</strong>::SavePlotDialog, 117<br />

<strong>JWS</strong>::SavePlotDialog<br />

∼SavePlotDialog, 117<br />

cancelCallback, 118<br />

Gnome::Glade::Xml, 119<br />

m_ref_xml, 119<br />

okCallback, 118<br />

on_delete_event, 118<br />

savePlotData, 118<br />

SavePlotDialog, 118<br />

savePlotGnu, 118<br />

<strong>JWS</strong>::SavePlotDialog1D, 120<br />

<strong>JWS</strong>::SavePlotDialog1D<br />

∼SavePlotDialog1D, 121<br />

create, 121<br />

getTitleFromDialog, 121<br />

getXLabelFromDialog, 121<br />

getXRangeFromDialog, 121<br />

getYLabelFromDialog, 121<br />

getYRangeFromDialog, 121<br />

Gnome::Glade::Xml, 122<br />

savePlotData, 121<br />

SavePlotDialog1D, 121<br />

savePlotGnu, 122<br />

<strong>JWS</strong>::SavePlotDialog2D, 123<br />

<strong>JWS</strong>::SavePlotDialog2D<br />

∼SavePlotDialog2D, 124<br />

create, 124<br />

getTitleFromDialog, 124<br />

getXLabelFromDialog, 124<br />

getXRangeFromDialog, 124<br />

getXUnitFromDialog, 124<br />

getYLabelFromDialog, 124<br />

getYRangeFromDialog, 124<br />

getYUnitFromDialog, 125<br />

Gnome::Glade::Xml, 125<br />

savePlotData, 125<br />

SavePlotDialog2D, 124<br />

savePlotGnu, 125<br />

<strong>JWS</strong>::ScoreElement, 126<br />

<strong>JWS</strong>::ScoreElement<br />

∼ScoreElement, 126<br />

copy, 126<br />

<strong>JWS</strong>::ScoreElementList, 127<br />

<strong>JWS</strong>::ScoreElementList<br />

∼ScoreElementList, 127<br />

copy, 127<br />

<strong>JWS</strong>::ScoreGenerator, 128<br />

<strong>JWS</strong>::ScoreGenerator<br />

doCompute, 128<br />

getXmlResult, 129<br />

ScoreGenerator, 128<br />

<strong>JWS</strong>::SineSoundGenerator, 130<br />

<strong>JWS</strong>::SineSoundGenerator<br />

copy, 131<br />

getName, 131<br />

read, 131<br />

SineSoundGenerator, 130<br />

<strong>JWS</strong>::SndfileSource, 132<br />

<strong>JWS</strong>::SndfileSource<br />

∼SndfileSource, 133<br />

channels, 133<br />

close, 133<br />

copy, 133<br />

e<strong>of</strong>, 133<br />

getName, 134<br />

getPos, 134<br />

isOpen, 134<br />

open, 134<br />

rate, 134<br />

read, 134<br />

seek, 135<br />

size, 135<br />

SndfileSource, 133<br />

<strong>JWS</strong>::SoundGenerator, 136<br />

<strong>JWS</strong>::SoundGenerator<br />

∼SoundGenerator, 137<br />

channels, 137<br />

close, 137<br />

e<strong>of</strong>, 138<br />

getPos, 138<br />

isOpen, 138<br />

open, 138<br />

rate, 138<br />

seek, 138<br />

size, 139<br />

SoundGenerator, 137<br />

<strong>JWS</strong>::SoundSource, 140<br />

<strong>JWS</strong>::SoundSource<br />

∼SoundSource, 141<br />

channels, 141<br />

close, 141<br />

copy, 141<br />

e<strong>of</strong>, 141<br />

getName, 141<br />

getPos, 142<br />

isOpen, 142<br />

open, 142<br />

rate, 142<br />

read, 142, 143<br />

seek, 143<br />

size, 143<br />

<strong>JWS</strong>::SoundSourceException, 144<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


314 INDEX<br />

<strong>JWS</strong>::SoundSourceException<br />

SoundSourceException, 144<br />

<strong>JWS</strong>::SourceView, 145<br />

<strong>JWS</strong>::SourceView<br />

∼SourceView, 145<br />

on_delete_event, 145<br />

SourceView, 145<br />

<strong>JWS</strong>::SpectrumView, 146<br />

<strong>JWS</strong>::SpectrumView<br />

getName, 147<br />

getScaleNameValues, 147<br />

getScaleNameX, 147<br />

getUnitValues, 147<br />

getUnitX, 147<br />

getValue, 147<br />

getValueRange, 147<br />

getValueRangeConsidered, 147<br />

SpectrumView, 146<br />

<strong>JWS</strong>::Staccato, 149<br />

copy, 149<br />

<strong>JWS</strong>::STACQT, 150<br />

∼STACQT, 151<br />

doCalculate, 151<br />

doPrepare, 151<br />

getBandsPerSemitone, 151<br />

getCoefficient, 151<br />

getFrequencyOfBand, 151<br />

getMaxResultValue, 151<br />

getName, 152<br />

getNumberOfBands, 152<br />

getNumberOfTimes, 152<br />

getSpectrum, 152<br />

getTime, 152<br />

getTimeSpacing, 152<br />

STACQT, 151<br />

<strong>JWS</strong>::STACQTView, 154<br />

STACQTView, 154<br />

<strong>JWS</strong>::STCQT, 155<br />

∼STCQT, 156<br />

doCalculate, 156<br />

doPrepare, 156<br />

getBandsPerSemitone, 156<br />

getCoefficient, 156<br />

getFrequencyOfBand, 156<br />

getMaxResultValue, 156<br />

getName, 157<br />

getNumberOfBands, 157<br />

getNumberOfTimes, 157<br />

getSpectrum, 157<br />

getTime, 157<br />

getTimeSpacing, 157<br />

STCQT, 156<br />

<strong>JWS</strong>::STCQTView, 159<br />

STCQTView, 159<br />

<strong>JWS</strong>::STFCQT, 160<br />

∼STFCQT, 161<br />

doCalculate, 161<br />

doPrepare, 161<br />

getBandsPerSemitone, 161<br />

getCoefficient, 161<br />

getFrequencyOfBand, 161<br />

getMaxResultValue, 161<br />

getName, 162<br />

getNumberOfBands, 162<br />

getNumberOfTimes, 162<br />

getSpectrum, 162<br />

getTime, 162<br />

getTimeSpacing, 162<br />

STFCQT, 161<br />

<strong>JWS</strong>::STFCQTView, 164<br />

STFCQTView, 164<br />

<strong>JWS</strong>::STFFT, 165<br />

∼STFFT, 166<br />

doCalculate, 166<br />

doPrepare, 166<br />

getCoefficient, 166<br />

getFrequencyOfBand, 166<br />

getMaxResultValue, 167<br />

getName, 167<br />

getNumberOfBands, 167<br />

getNumberOfTimes, 167<br />

getTime, 167<br />

getTimeSpacing, 167<br />

STFFT, 166<br />

<strong>JWS</strong>::STFFTView, 169<br />

STFFTView, 169<br />

<strong>JWS</strong>::STTransform, 170<br />

∼STTransform, 171<br />

doCalculate, 171<br />

doCompute, 171<br />

doPrepare, 171<br />

getBandsPerSemitone, 172<br />

getCoefficient, 172<br />

getComputationTime, 172<br />

getFrequencyOfBand, 172<br />

getMaxResultValue, 172<br />

getMaxValueOfBand, 172<br />

getMaxValueOfTime, 172<br />

getMinValueOfBand, 173<br />

getMinValueOfTime, 173<br />

getName, 173<br />

getNumberOfBands, 173<br />

getNumberOfTimes, 173<br />

getPreparationTime, 173<br />

getSource, 173<br />

getSpectrum, 173<br />

getTime, 174<br />

getTimeSpacing, 174<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


INDEX 315<br />

STTransform, 171<br />

<strong>JWS</strong>::STTransformView, 175<br />

<strong>JWS</strong>::STTransformView<br />

∼STTransformView, 176<br />

getCoefficient, 176<br />

getCoefficientRangeConsidered, 176<br />

getName, 176<br />

getResultSize, 176<br />

getScaleNameValues, 177<br />

getScaleNameX, 177<br />

getScaleNameY, 177<br />

getScaleValueX, 177<br />

getScaleValueY, 177<br />

getUnitValues, 177<br />

getUnitX, 177<br />

getUnitY, 177<br />

onComputationReady, 177<br />

STTransformView, 176<br />

<strong>JWS</strong>::TemporalScoreElement, 179<br />

<strong>JWS</strong>::TemporalScoreElement<br />

getLength, 180<br />

getNumberOfDots, 180<br />

getType, 180<br />

setLength, 180<br />

splitMusicalElement, 180<br />

TemporalScoreElement, 179<br />

<strong>JWS</strong>::TimeSignature, 181<br />

<strong>JWS</strong>::TimeSignature<br />

copy, 181<br />

getDenominator, 181<br />

getNumerator, 181<br />

setDenominator, 182<br />

setNumerator, 182<br />

TimeSignature, 181<br />

<strong>JWS</strong>::View, 183<br />

∼View, 183<br />

getContextMenu, 184<br />

getInfoTable, 184<br />

getName, 184<br />

hideInfo, 184<br />

m_context_menu, 185<br />

registerChildWindow, 184<br />

showInfo, 184<br />

unregisterChildWindow, 184<br />

updateInfo, 184<br />

View, 184<br />

<strong>JWS</strong>::View1D, 186<br />

∼View1D, 187<br />

getDomain, 187<br />

getGranularity, 188<br />

getName, 188<br />

getScaleNameValues, 188<br />

getScaleNameX, 188<br />

getUnitValues, 188<br />

getUnitX, 188<br />

getValue, 188<br />

getValueRange, 188<br />

getValueRangeConsidered, 188<br />

getWidth, 189<br />

hideContents, 189<br />

hideProgressBar, 189<br />

LINEAR, 187<br />

LOGARITHMIC, 187<br />

packWidget, 189<br />

ScaleType, 187<br />

setDomain, 189<br />

setGranularity, 189<br />

setProgress, 189<br />

setStatus, 189<br />

showContents, 189<br />

showProgressBar, 190<br />

updatePosition, 190<br />

View1D, 187<br />

<strong>JWS</strong>::View2D, 191<br />

∼View2D, 192<br />

getCoefficient, 193<br />

getCoefficientRangeConsidered, 193<br />

getContextPosition, 193<br />

getName, 193<br />

getPixelFromPositionX, 193<br />

getPixelFromPositionY, 193<br />

getPositionFromPixelX, 193<br />

getPositionFromPixelY, 193<br />

getScaleNameValues, 193<br />

getScaleNameX, 194<br />

getScaleNameY, 194<br />

getScaleValueX, 194<br />

getScaleValueY, 194<br />

getSize, 194<br />

getUnitValues, 194<br />

getUnitX, 194<br />

getUnitY, 194<br />

hideContents, 194<br />

hideProgressBar, 194<br />

LINEAR, 192<br />

LOGARITHMIC, 192<br />

packWidget, 195<br />

ScaleType, 192<br />

setProgress, 195<br />

setPseudoColorRGB, 195<br />

setSize, 195<br />

setStatus, 195<br />

showContents, 195<br />

showProgressBar, 195<br />

updatePosition, 195<br />

View2D, 192<br />

<strong>JWS</strong>::VoiceAttribute, 196<br />

<strong>JWS</strong>::VoiceList, 197<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


316 INDEX<br />

<strong>JWS</strong>::VoiceList<br />

copy, 197<br />

<strong>JWS</strong>::WaveformView, 198<br />

<strong>JWS</strong>::WaveformView<br />

∼WaveformView, 198<br />

getName, 199<br />

getScaleNameValues, 199<br />

getScaleNameX, 199<br />

getUnitValues, 199<br />

getUnitX, 199<br />

getValue, 199<br />

getValueRange, 199<br />

getValueRangeConsidered, 199<br />

WaveformView, 198<br />

<strong>JWS</strong>::Window, 201<br />

∼Window, 201<br />

applyTo, 201<br />

<strong>JWS</strong>::XmlResultDialog, 202<br />

<strong>JWS</strong>::XmlResultDialog<br />

∼XmlResultDialog, 202<br />

create, 202<br />

Gnome::Glade::Xml, 203<br />

on_delete_event, 203<br />

XmlResultDialog, 202<br />

KeySignature<br />

<strong>JWS</strong>::KeySignature, 66<br />

Left<br />

<strong>JWS</strong>::Ruler::Left, 102<br />

LINEAR<br />

<strong>JWS</strong>, 20<br />

<strong>JWS</strong>::View1D, 187<br />

<strong>JWS</strong>::View2D, 192<br />

util.h, 289<br />

Linear<br />

<strong>JWS</strong>::Ruler::Linear, 104<br />

LOGARITHMIC<br />

<strong>JWS</strong>, 20<br />

<strong>JWS</strong>::View1D, 187<br />

<strong>JWS</strong>::View2D, 192<br />

util.h, 289<br />

Logarithmic<br />

<strong>JWS</strong>::Ruler::Logarithmic, 106<br />

lookup<br />

<strong>JWS</strong>::BWColorRGB, 32<br />

<strong>JWS</strong>::GeoColorRGB, 56<br />

<strong>JWS</strong>::PseudoColorRGB, 92<br />

m_context_menu<br />

<strong>JWS</strong>::View, 185<br />

m_ref_xml<br />

<strong>JWS</strong>::SavePlotDialog, 119<br />

main<br />

jws.cc, 233<br />

Mark<br />

<strong>JWS</strong>::Ruler::Mark, 108<br />

MixedSource<br />

<strong>JWS</strong>::MixedSource, 72<br />

MixedSource.cc, 234<br />

MixedSource.h, 235<br />

N_<br />

globals.h, 229<br />

ngettext<br />

gettext.h, 228<br />

Note<br />

<strong>JWS</strong>::Note, 75<br />

Note.cc, 236<br />

Note.h, 237<br />

NoteDetector<br />

<strong>JWS</strong>::NoteDetector, 77<br />

NoteDetector.cc, 238<br />

NoteDetector.h, 239<br />

okCallback<br />

<strong>JWS</strong>::SavePlotDialog, 118<br />

on_delete_event<br />

<strong>JWS</strong>::GenerateDialog, 55<br />

<strong>JWS</strong>::SavePlotDialog, 118<br />

<strong>JWS</strong>::SourceView, 145<br />

<strong>JWS</strong>::XmlResultDialog, 203<br />

onComputationReady<br />

<strong>JWS</strong>::ComputationView, 44<br />

<strong>JWS</strong>::STTransformView, 177<br />

Onset<br />

<strong>JWS</strong>::Onset, 80<br />

Onset.cc, 240<br />

Onset.h, 241<br />

OnsetDetector<br />

<strong>JWS</strong>::OnsetDetector, 82<br />

OnsetDetector.cc, 242<br />

OnsetDetector.h, 243<br />

open<br />

<strong>JWS</strong>::MixedSource, 73<br />

<strong>JWS</strong>::SndfileSource, 134<br />

<strong>JWS</strong>::SoundGenerator, 138<br />

<strong>JWS</strong>::SoundSource, 142<br />

Order<br />

<strong>JWS</strong>::Ruler, 95<br />

packWidget<br />

<strong>JWS</strong>::View1D, 189<br />

<strong>JWS</strong>::View2D, 195<br />

Pitch<br />

<strong>JWS</strong>::Pitch, 84<br />

Pitch.cc, 244<br />

Pitch.h, 245<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


INDEX 317<br />

PitchDetector<br />

<strong>JWS</strong>::PitchDetector, 87<br />

PitchDetector.cc, 246<br />

PitchDetector.h, 247<br />

pos<br />

<strong>JWS</strong>::Ruler::Mark, 108<br />

PseudoColorRGB.h, 248<br />

rate<br />

<strong>JWS</strong>::MixedSource, 73<br />

<strong>JWS</strong>::SndfileSource, 134<br />

<strong>JWS</strong>::SoundGenerator, 138<br />

<strong>JWS</strong>::SoundSource, 142<br />

read<br />

<strong>JWS</strong>::ChirpSoundGenerator, 34<br />

<strong>JWS</strong>::InstrumentSoundGenerator, 64<br />

<strong>JWS</strong>::MixedSource, 73<br />

<strong>JWS</strong>::SineSoundGenerator, 131<br />

<strong>JWS</strong>::SndfileSource, 134<br />

<strong>JWS</strong>::SoundSource, 142, 143<br />

reason<br />

<strong>JWS</strong>::Exception, 51<br />

registerChildWindow<br />

<strong>JWS</strong>::View, 184<br />

Rest<br />

<strong>JWS</strong>::Rest, 93<br />

Right<br />

<strong>JWS</strong>::Ruler::Right, 111<br />

Ruler<br />

<strong>JWS</strong>::Ruler, 96<br />

Ruler.cc, 249<br />

Ruler.h, 250<br />

savePlotData<br />

<strong>JWS</strong>::SavePlotDialog, 118<br />

<strong>JWS</strong>::SavePlotDialog1D, 121<br />

<strong>JWS</strong>::SavePlotDialog2D, 125<br />

SavePlotDialog<br />

<strong>JWS</strong>::SavePlotDialog, 118<br />

SavePlotDialog.cc, 251<br />

SavePlotDialog.h, 252<br />

SavePlotDialog1D<br />

<strong>JWS</strong>::SavePlotDialog1D, 121<br />

SavePlotDialog1D.cc, 253<br />

SavePlotDialog1D.h, 254<br />

SavePlotDialog2D<br />

<strong>JWS</strong>::SavePlotDialog2D, 124<br />

SavePlotDialog2D.cc, 255<br />

SavePlotDialog2D.h, 256<br />

savePlotGnu<br />

<strong>JWS</strong>::SavePlotDialog, 118<br />

<strong>JWS</strong>::SavePlotDialog1D, 122<br />

<strong>JWS</strong>::SavePlotDialog2D, 125<br />

ScaleType<br />

<strong>JWS</strong>, 20<br />

<strong>JWS</strong>::View1D, 187<br />

<strong>JWS</strong>::View2D, 192<br />

util.h, 289<br />

ScoreGenerator<br />

<strong>JWS</strong>::ScoreGenerator, 128<br />

ScoreGenerator.cc, 257<br />

ScoreGenerator.h, 258<br />

seek<br />

<strong>JWS</strong>::MixedSource, 74<br />

<strong>JWS</strong>::SndfileSource, 135<br />

<strong>JWS</strong>::SoundGenerator, 138<br />

<strong>JWS</strong>::SoundSource, 143<br />

setAmplitude<br />

<strong>JWS</strong>::Onset, 80<br />

setDenominator<br />

<strong>JWS</strong>::TimeSignature, 182<br />

setDirection<br />

<strong>JWS</strong>::ColorLegend, 38<br />

setDomain<br />

<strong>JWS</strong>::View1D, 189<br />

setGranularity<br />

<strong>JWS</strong>::View1D, 189<br />

setInput<br />

<strong>JWS</strong>::CQT, 48<br />

<strong>JWS</strong>::FFT, 53<br />

setKey<br />

<strong>JWS</strong>::KeySignature, 66<br />

<strong>JWS</strong>::Pitch, 86<br />

setLength<br />

<strong>JWS</strong>::Onset, 81<br />

<strong>JWS</strong>::TemporalScoreElement, 180<br />

setNumerator<br />

<strong>JWS</strong>::TimeSignature, 182<br />

setOrder<br />

<strong>JWS</strong>::Ruler, 98<br />

setPitch<br />

<strong>JWS</strong>::Note, 76<br />

<strong>JWS</strong>::Onset, 81<br />

setPositionStrategy<br />

<strong>JWS</strong>::Ruler, 98<br />

setProgress<br />

<strong>JWS</strong>::Computation, 41<br />

<strong>JWS</strong>::View1D, 189<br />

<strong>JWS</strong>::View2D, 195<br />

setPseudoColorRGB<br />

<strong>JWS</strong>::ColorLegend, 38<br />

<strong>JWS</strong>::View2D, 195<br />

setRange<br />

<strong>JWS</strong>::ColorLegend, 38<br />

<strong>JWS</strong>::GtkRuler, 59<br />

<strong>JWS</strong>::Ruler, 98<br />

setRuler<br />

<strong>JWS</strong>::Ruler::PositionStrategy, 110<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


318 INDEX<br />

<strong>JWS</strong>::Ruler::ScaleStrategy, 114<br />

setScaleStrategy<br />

<strong>JWS</strong>::Ruler, 99<br />

setSign<br />

<strong>JWS</strong>::Clef, 36<br />

setSize<br />

<strong>JWS</strong>::View2D, 195<br />

setStartTime<br />

<strong>JWS</strong>::Onset, 81<br />

setStatus<br />

<strong>JWS</strong>::View1D, 189<br />

<strong>JWS</strong>::View2D, 195<br />

setTuning<br />

<strong>JWS</strong>::Pitch, 86<br />

setValue<br />

<strong>JWS</strong>::Ruler, 99<br />

show_value<br />

<strong>JWS</strong>::Ruler::Mark, 108<br />

showContents<br />

<strong>JWS</strong>::View1D, 189<br />

<strong>JWS</strong>::View2D, 195<br />

showInfo<br />

<strong>JWS</strong>::View, 184<br />

showProgressBar<br />

<strong>JWS</strong>::View1D, 190<br />

<strong>JWS</strong>::View2D, 195<br />

SineSoundGenerator<br />

<strong>JWS</strong>::SineSoundGenerator, 130<br />

size<br />

<strong>JWS</strong>::MixedSource, 74<br />

<strong>JWS</strong>::Ruler::Mark, 108<br />

<strong>JWS</strong>::SndfileSource, 135<br />

<strong>JWS</strong>::SoundGenerator, 139<br />

<strong>JWS</strong>::SoundSource, 143<br />

SndfileSource<br />

<strong>JWS</strong>::SndfileSource, 133<br />

SndfileSource.cc, 259<br />

SndfileSource.h, 260<br />

SoundGenerator<br />

<strong>JWS</strong>::SoundGenerator, 137<br />

SoundGenerator.cc, 261<br />

SoundGenerator.h, 262<br />

SoundSource.h, 263<br />

SoundSourceException<br />

<strong>JWS</strong>::SoundSourceException, 144<br />

SourceView<br />

<strong>JWS</strong>::SourceView, 145<br />

SourceView.cc, 264<br />

SourceView.h, 265<br />

SpectrumView<br />

<strong>JWS</strong>::SpectrumView, 146<br />

SpectrumView.cc, 266<br />

SpectrumView.h, 267<br />

splitMusicalElement<br />

<strong>JWS</strong>::TemporalScoreElement, 180<br />

src/ Directory <strong>Reference</strong>, 13<br />

STACQT<br />

<strong>JWS</strong>::STACQT, 151<br />

STACQT.cc, 268<br />

STACQT.h, 269<br />

STACQTView<br />

<strong>JWS</strong>::STACQTView, 154<br />

STACQTView.cc, 270<br />

STACQTView.h, 271<br />

start<br />

<strong>JWS</strong>::Computation, 41<br />

startComputation<br />

<strong>JWS</strong>::ComputationView, 44<br />

STCQT<br />

<strong>JWS</strong>::STCQT, 156<br />

STCQT.cc, 272<br />

STCQT.h, 273<br />

STCQTView<br />

<strong>JWS</strong>::STCQTView, 159<br />

STCQTView.cc, 274<br />

STCQTView.h, 275<br />

std, 21<br />

STFCQT<br />

<strong>JWS</strong>::STFCQT, 161<br />

STFCQT.cc, 276<br />

STFCQT.h, 277<br />

STFCQTView<br />

<strong>JWS</strong>::STFCQTView, 164<br />

STFCQTView.cc, 278<br />

STFCQTView.h, 279<br />

STFFT<br />

<strong>JWS</strong>::STFFT, 166<br />

STFFT.cc, 280<br />

STFFT.h, 281<br />

STFFTView<br />

<strong>JWS</strong>::STFFTView, 169<br />

STFFTView.cc, 282<br />

STFFTView.h, 283<br />

str<br />

<strong>JWS</strong>, 20<br />

util.h, 290<br />

STTransform<br />

<strong>JWS</strong>::STTransform, 171<br />

STTransform.cc, 284<br />

STTransform.h, 285<br />

STTransformView<br />

<strong>JWS</strong>::STTransformView, 176<br />

STTransformView.cc, 286<br />

STTransformView.h, 287<br />

TemporalScoreElement<br />

<strong>JWS</strong>::TemporalScoreElement, 179<br />

textdomain<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen


INDEX 319<br />

gettext.h, 228<br />

TimeSignature<br />

<strong>JWS</strong>::TimeSignature, 181<br />

timeval_subtract<br />

<strong>JWS</strong>, 20<br />

util.h, 290<br />

TITLE<br />

globals.h, 229<br />

Top<br />

<strong>JWS</strong>::Ruler::Top, 115<br />

transpose<br />

<strong>JWS</strong>::Pitch, 86<br />

<strong>JWS</strong>::XmlResultDialog, 202<br />

XmlResultDialog.cc, 301<br />

XmlResultDialog.h, 302<br />

unregisterChildWindow<br />

<strong>JWS</strong>::View, 184<br />

updateInfo<br />

<strong>JWS</strong>::View, 184<br />

updatePosition<br />

<strong>JWS</strong>::View1D, 190<br />

<strong>JWS</strong>::View2D, 195<br />

util.cc, 288<br />

util.h, 289<br />

EXPONENTIAL, 289<br />

LINEAR, 289<br />

LOGARITHMIC, 289<br />

ScaleType, 289<br />

str, 290<br />

timeval_subtract, 290<br />

value<br />

<strong>JWS</strong>::Ruler::Mark, 108<br />

VERTICAL<br />

<strong>JWS</strong>::ColorLegend, 37<br />

View<br />

<strong>JWS</strong>::View, 184<br />

View.cc, 291<br />

View.h, 292<br />

View1D<br />

<strong>JWS</strong>::View1D, 187<br />

View1D.cc, 293<br />

View1D.h, 294<br />

View2D<br />

<strong>JWS</strong>::View2D, 192<br />

View2D.cc, 295<br />

View2D.h, 296<br />

WaveformView<br />

<strong>JWS</strong>::WaveformView, 198<br />

WaveformView.cc, 297<br />

WaveformView.h, 298<br />

Window.cc, 299<br />

Window.h, 300<br />

XmlResultDialog<br />

Generated on Mon Oct 25 10:08:47 2004 for <strong>JWS</strong> by Doxygen

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!