From 1a8403e203a20fc9d188543e9fca0271921ddf68 Mon Sep 17 00:00:00 2001
From: Gary Scavone
Date: Sun, 29 Sep 2013 23:41:50 +0200
Subject: [PATCH] Release 4.3.0 tarball
---
configure | 540 ++++----
doc/html/ADSR_8h-source.html | 21 +-
doc/html/Asymp_8h-source.html | 17 +-
doc/html/BandedWG_8h-source.html | 4 +-
doc/html/BeeThree_8h-source.html | 4 +-
doc/html/BiQuad_8h-source.html | 94 +-
doc/html/BlitSaw_8h-source.html | 4 +-
doc/html/BlitSquare_8h-source.html | 84 +-
doc/html/Blit_8h-source.html | 4 +-
doc/html/BlowBotl_8h-source.html | 4 +-
doc/html/BlowHole_8h-source.html | 4 +-
doc/html/BowTable_8h-source.html | 4 +-
doc/html/Bowed_8h-source.html | 4 +-
doc/html/Brass_8h-source.html | 4 +-
doc/html/Chorus_8h-source.html | 4 +-
doc/html/Clarinet_8h-source.html | 4 +-
doc/html/DelayA_8h-source.html | 4 +-
doc/html/DelayL_8h-source.html | 4 +-
doc/html/Delay_8h-source.html | 4 +-
doc/html/Drummer_8h-source.html | 4 +-
doc/html/Echo_8h-source.html | 4 +-
doc/html/Effect_8h-source.html | 4 +-
doc/html/Envelope_8h-source.html | 21 +-
doc/html/FMVoices_8h-source.html | 4 +-
doc/html/FM_8h-source.html | 4 +-
doc/html/FileRead_8h-source.html | 4 +-
doc/html/FileWrite_8h-source.html | 4 +-
doc/html/FileWvIn_8h-source.html | 35 +-
doc/html/FileWvOut_8h-source.html | 4 +-
doc/html/Filter_8h-source.html | 4 +-
doc/html/Flute_8h-source.html | 4 +-
doc/html/FormSwep_8h-source.html | 4 +-
doc/html/Function_8h-source.html | 4 +-
doc/html/Generator_8h-source.html | 4 +-
doc/html/Granulate_8h-source.html | 108 +-
doc/html/HevyMetl_8h-source.html | 4 +-
doc/html/InetWvIn_8h-source.html | 4 +-
doc/html/InetWvOut_8h-source.html | 4 +-
doc/html/Instrmnt_8h-source.html | 4 +-
doc/html/JCRev_8h-source.html | 4 +-
doc/html/JetTable_8h-source.html | 4 +-
doc/html/Mandolin_8h-source.html | 4 +-
doc/html/Mesh2D_8h-source.html | 4 +-
doc/html/Messager_8h-source.html | 4 +-
doc/html/MidiFileIn_8h-source.html | 4 +-
doc/html/ModalBar_8h-source.html | 4 +-
doc/html/Modal_8h-source.html | 4 +-
doc/html/Modulate_8h-source.html | 4 +-
doc/html/Moog_8h-source.html | 4 +-
doc/html/Mutex_8h-source.html | 4 +-
doc/html/NRev_8h-source.html | 4 +-
doc/html/Noise_8h-source.html | 4 +-
doc/html/OnePole_8h-source.html | 4 +-
doc/html/OneZero_8h-source.html | 4 +-
doc/html/PRCRev_8h-source.html | 4 +-
doc/html/PercFlut_8h-source.html | 4 +-
doc/html/Phonemes_8h-source.html | 4 +-
doc/html/PitShift_8h-source.html | 4 +-
doc/html/PluckTwo_8h-source.html | 4 +-
doc/html/Plucked_8h-source.html | 4 +-
doc/html/PoleZero_8h-source.html | 4 +-
doc/html/ReedTable_8h-source.html | 4 +-
doc/html/Resonate_8h-source.html | 4 +-
doc/html/Rhodey_8h-source.html | 4 +-
doc/html/RtAudio_8h-source.html | 1194 +++++++++--------
doc/html/RtAudio_8h.html | 180 +++
doc/html/RtDuplex_8h-source.html | 4 +-
doc/html/RtError_8h-source.html | 76 +-
doc/html/RtMidi_8h-source.html | 14 +-
doc/html/RtWvIn_8h-source.html | 57 +-
doc/html/RtWvOut_8h-source.html | 64 +-
doc/html/SKINI_8msg-source.html | 2 +-
doc/html/Sampler_8h-source.html | 4 +-
doc/html/Saxofony_8h-source.html | 4 +-
doc/html/Shakers_8h-source.html | 4 +-
doc/html/Simple_8h-source.html | 4 +-
doc/html/SineWave_8h-source.html | 23 +-
doc/html/SingWave_8h-source.html | 4 +-
doc/html/Sitar_8h-source.html | 4 +-
doc/html/Skini_8h-source.html | 4 +-
doc/html/Socket_8h-source.html | 4 +-
doc/html/Sphere_8h-source.html | 4 +-
doc/html/StifKarp_8h-source.html | 4 +-
doc/html/Stk_8h-source.html | 454 ++++---
doc/html/SubNoise_8h-source.html | 4 +-
doc/html/TcpClient_8h-source.html | 4 +-
doc/html/TcpServer_8h-source.html | 4 +-
doc/html/Thread_8h-source.html | 4 +-
doc/html/TubeBell_8h-source.html | 4 +-
doc/html/TwoPole_8h-source.html | 46 +-
doc/html/TwoZero_8h-source.html | 46 +-
doc/html/UdpSocket_8h-source.html | 4 +-
doc/html/Vector3D_8h-source.html | 4 +-
doc/html/VoicForm_8h-source.html | 4 +-
doc/html/Voicer_8h-source.html | 4 +-
doc/html/WaveLoop_8h-source.html | 19 +-
doc/html/Whistle_8h-source.html | 4 +-
doc/html/Wurley_8h-source.html | 4 +-
doc/html/WvIn_8h-source.html | 4 +-
doc/html/WvOut_8h-source.html | 4 +-
doc/html/annotated.html | 9 +-
doc/html/classADSR-members.html | 11 +-
doc/html/classADSR.html | 6 +-
doc/html/classAsymp-members.html | 11 +-
doc/html/classAsymp.html | 6 +-
doc/html/classBandedWG-members.html | 12 +-
doc/html/classBandedWG.html | 4 +-
doc/html/classBeeThree-members.html | 12 +-
doc/html/classBeeThree.html | 6 +-
doc/html/classBiQuad-members.html | 39 +-
doc/html/classBiQuad.html | 80 +-
doc/html/classBlit-members.html | 12 +-
doc/html/classBlit.html | 4 +-
doc/html/classBlitSaw-members.html | 12 +-
doc/html/classBlitSaw.html | 4 +-
doc/html/classBlitSquare-members.html | 12 +-
doc/html/classBlitSquare.html | 10 +-
doc/html/classBlowBotl-members.html | 12 +-
doc/html/classBlowBotl.html | 6 +-
doc/html/classBlowHole-members.html | 12 +-
doc/html/classBlowHole.html | 6 +-
doc/html/classBowTable-members.html | 12 +-
doc/html/classBowTable.html | 6 +-
doc/html/classBowed-members.html | 12 +-
doc/html/classBowed.html | 6 +-
doc/html/classBrass-members.html | 12 +-
doc/html/classBrass.html | 6 +-
doc/html/classChorus-members.html | 12 +-
doc/html/classChorus.html | 6 +-
doc/html/classClarinet-members.html | 12 +-
doc/html/classClarinet.html | 6 +-
doc/html/classDelay-members.html | 12 +-
doc/html/classDelay.html | 6 +-
doc/html/classDelayA-members.html | 12 +-
doc/html/classDelayA.html | 6 +-
doc/html/classDelayL-members.html | 12 +-
doc/html/classDelayL.html | 6 +-
doc/html/classDrummer-members.html | 12 +-
doc/html/classDrummer.html | 6 +-
doc/html/classEcho-members.html | 12 +-
doc/html/classEcho.html | 6 +-
doc/html/classEffect-members.html | 12 +-
doc/html/classEffect.html | 6 +-
doc/html/classEnvelope-members.html | 11 +-
doc/html/classEnvelope.html | 6 +-
doc/html/classFM-members.html | 12 +-
doc/html/classFM.html | 6 +-
doc/html/classFMVoices-members.html | 12 +-
doc/html/classFMVoices.html | 6 +-
doc/html/classFileRead-members.html | 12 +-
doc/html/classFileRead.html | 6 +-
doc/html/classFileWrite-members.html | 12 +-
doc/html/classFileWrite.html | 6 +-
doc/html/classFileWvIn-members.html | 11 +-
doc/html/classFileWvIn.html | 6 +-
doc/html/classFileWvOut-members.html | 12 +-
doc/html/classFileWvOut.html | 6 +-
doc/html/classFilter-members.html | 12 +-
doc/html/classFilter.html | 10 +-
doc/html/classFlute-members.html | 12 +-
doc/html/classFlute.html | 6 +-
doc/html/classFormSwep-members.html | 39 +-
doc/html/classFormSwep.html | 6 +-
doc/html/classFunction-members.html | 12 +-
doc/html/classFunction.html | 6 +-
doc/html/classGenerator-members.html | 12 +-
doc/html/classGenerator.html | 6 +-
doc/html/classGranulate-members.html | 12 +-
doc/html/classGranulate.html | 6 +-
doc/html/classHevyMetl-members.html | 12 +-
doc/html/classHevyMetl.html | 6 +-
doc/html/classInetWvIn-members.html | 12 +-
doc/html/classInetWvIn.html | 6 +-
doc/html/classInetWvOut-members.html | 12 +-
doc/html/classInetWvOut.html | 6 +-
doc/html/classInstrmnt-members.html | 12 +-
doc/html/classInstrmnt.html | 6 +-
doc/html/classJCRev-members.html | 12 +-
doc/html/classJCRev.html | 6 +-
doc/html/classJetTable-members.html | 12 +-
doc/html/classJetTable.html | 6 +-
doc/html/classMandolin-members.html | 12 +-
doc/html/classMandolin.html | 6 +-
doc/html/classMesh2D-members.html | 12 +-
doc/html/classMesh2D.html | 4 +-
doc/html/classMessager-members.html | 12 +-
doc/html/classMessager.html | 6 +-
doc/html/classMidiFileIn-members.html | 12 +-
doc/html/classMidiFileIn.html | 4 +-
doc/html/classModal-members.html | 12 +-
doc/html/classModal.html | 6 +-
doc/html/classModalBar-members.html | 12 +-
doc/html/classModalBar.html | 6 +-
doc/html/classModulate-members.html | 12 +-
doc/html/classModulate.html | 6 +-
doc/html/classMoog-members.html | 12 +-
doc/html/classMoog.html | 6 +-
doc/html/classMutex-members.html | 12 +-
doc/html/classMutex.html | 6 +-
doc/html/classNRev-members.html | 12 +-
doc/html/classNRev.html | 6 +-
doc/html/classNoise-members.html | 12 +-
doc/html/classNoise.html | 6 +-
doc/html/classOnePole-members.html | 12 +-
doc/html/classOnePole.html | 6 +-
doc/html/classOneZero-members.html | 12 +-
doc/html/classOneZero.html | 6 +-
doc/html/classPRCRev-members.html | 12 +-
doc/html/classPRCRev.html | 6 +-
doc/html/classPercFlut-members.html | 12 +-
doc/html/classPercFlut.html | 6 +-
doc/html/classPhonemes-members.html | 12 +-
doc/html/classPhonemes.html | 6 +-
doc/html/classPitShift-members.html | 12 +-
doc/html/classPitShift.html | 6 +-
doc/html/classPluckTwo-members.html | 12 +-
doc/html/classPluckTwo.html | 6 +-
doc/html/classPlucked-members.html | 12 +-
doc/html/classPlucked.html | 6 +-
doc/html/classPoleZero-members.html | 12 +-
doc/html/classPoleZero.html | 6 +-
doc/html/classReedTable-members.html | 12 +-
doc/html/classReedTable.html | 6 +-
doc/html/classResonate-members.html | 12 +-
doc/html/classResonate.html | 6 +-
doc/html/classRhodey-members.html | 12 +-
doc/html/classRhodey.html | 6 +-
doc/html/classRtApi-members.html | 2 +-
doc/html/classRtApi.html | 2 +-
doc/html/classRtApiAl-members.html | 2 +-
doc/html/classRtApiAl.html | 2 +-
doc/html/classRtApiAlsa-members.html | 2 +-
doc/html/classRtApiAlsa.html | 2 +-
doc/html/classRtApiAsio-members.html | 2 +-
doc/html/classRtApiAsio.html | 2 +-
doc/html/classRtApiCore-members.html | 2 +-
doc/html/classRtApiCore.html | 2 +-
doc/html/classRtApiDs-members.html | 2 +-
doc/html/classRtApiDs.html | 2 +-
doc/html/classRtApiJack-members.html | 2 +-
doc/html/classRtApiJack.html | 2 +-
doc/html/classRtApiOss-members.html | 2 +-
doc/html/classRtApiOss.html | 2 +-
doc/html/classRtAudio-members.html | 48 +-
doc/html/classRtAudio.html | 710 ++++------
doc/html/classRtDuplex-members.html | 4 +-
doc/html/classRtDuplex.html | 6 +-
doc/html/classRtError-members.html | 12 +-
doc/html/classRtError.html | 34 +-
doc/html/classRtMidi-members.html | 6 +-
doc/html/classRtMidi.html | 8 +-
doc/html/classRtMidiIn-members.html | 6 +-
doc/html/classRtMidiIn.html | 11 +-
doc/html/classRtMidiOut-members.html | 8 +-
doc/html/classRtMidiOut.html | 17 +-
doc/html/classRtWvIn-members.html | 14 +-
doc/html/classRtWvIn.html | 16 +-
doc/html/classRtWvOut-members.html | 14 +-
doc/html/classRtWvOut.html | 16 +-
doc/html/classSampler-members.html | 12 +-
doc/html/classSampler.html | 6 +-
doc/html/classSaxofony-members.html | 12 +-
doc/html/classSaxofony.html | 6 +-
doc/html/classShakers-members.html | 12 +-
doc/html/classShakers.html | 4 +-
doc/html/classSimple-members.html | 12 +-
doc/html/classSimple.html | 6 +-
doc/html/classSineWave-members.html | 11 +-
doc/html/classSineWave.html | 6 +-
doc/html/classSingWave-members.html | 12 +-
doc/html/classSingWave.html | 6 +-
doc/html/classSitar-members.html | 12 +-
doc/html/classSitar.html | 6 +-
doc/html/classSkini-members.html | 12 +-
doc/html/classSkini.html | 6 +-
doc/html/classSocket-members.html | 12 +-
doc/html/classSocket.html | 6 +-
doc/html/classSphere-members.html | 12 +-
doc/html/classSphere.html | 4 +-
doc/html/classStifKarp-members.html | 12 +-
doc/html/classStifKarp.html | 6 +-
doc/html/classStk-members.html | 12 +-
doc/html/classStk.html | 87 +-
doc/html/classStk.png | Bin 2120 -> 2024 bytes
doc/html/classStkError-members.html | 4 +-
doc/html/classStkError.html | 4 +-
doc/html/classStkFrames-members.html | 4 +-
doc/html/classStkFrames.html | 6 +-
doc/html/classSubNoise-members.html | 12 +-
doc/html/classSubNoise.html | 6 +-
doc/html/classTcpClient-members.html | 12 +-
doc/html/classTcpClient.html | 6 +-
doc/html/classTcpServer-members.html | 12 +-
doc/html/classTcpServer.html | 6 +-
doc/html/classThread-members.html | 12 +-
doc/html/classThread.html | 6 +-
doc/html/classTubeBell-members.html | 12 +-
doc/html/classTubeBell.html | 6 +-
doc/html/classTwoPole-members.html | 31 +-
doc/html/classTwoPole.html | 56 +-
doc/html/classTwoZero-members.html | 31 +-
doc/html/classTwoZero.html | 56 +-
doc/html/classUdpSocket-members.html | 12 +-
doc/html/classUdpSocket.html | 6 +-
doc/html/classVector3D-members.html | 12 +-
doc/html/classVector3D.html | 4 +-
doc/html/classVoicForm-members.html | 12 +-
doc/html/classVoicForm.html | 6 +-
doc/html/classVoicer-members.html | 12 +-
doc/html/classVoicer.html | 6 +-
doc/html/classWaveLoop-members.html | 11 +-
doc/html/classWaveLoop.html | 6 +-
doc/html/classWhistle-members.html | 12 +-
doc/html/classWhistle.html | 4 +-
doc/html/classWurley-members.html | 12 +-
doc/html/classWurley.html | 6 +-
doc/html/classWvIn-members.html | 12 +-
doc/html/classWvIn.html | 6 +-
doc/html/classWvOut-members.html | 12 +-
doc/html/classWvOut.html | 6 +-
doc/html/classes.html | 4 +-
doc/html/compile.html | 20 +-
doc/html/controlin.html | 43 +-
doc/html/crealtime.html | 61 +-
doc/html/dir_000000.html | 8 +-
doc/html/dirs.html | 4 +-
doc/html/download.html | 42 +-
doc/html/faq.html | 46 +
doc/html/files.html | 7 +-
doc/html/filtering.html | 14 +-
doc/html/functions.html | 12 +-
doc/html/functions_0x62.html | 4 +-
doc/html/functions_0x63.html | 11 +-
doc/html/functions_0x64.html | 9 +-
doc/html/functions_0x65.html | 4 +-
doc/html/functions_0x66.html | 8 +-
doc/html/functions_0x67.html | 24 +-
doc/html/functions_0x68.html | 6 +-
doc/html/functions_0x69.html | 23 +-
doc/html/functions_0x6a.html | 4 +-
doc/html/functions_0x6b.html | 4 +-
doc/html/functions_0x6c.html | 11 +-
doc/html/functions_0x6d.html | 6 +-
doc/html/functions_0x6e.html | 12 +-
doc/html/functions_0x6f.html | 8 +-
doc/html/functions_0x70.html | 6 +-
doc/html/functions_0x71.html | 4 +-
doc/html/functions_0x72.html | 12 +-
doc/html/functions_0x73.html | 41 +-
doc/html/functions_0x74.html | 9 +-
doc/html/functions_0x75.html | 7 +-
doc/html/functions_0x76.html | 4 +-
doc/html/functions_0x77.html | 11 +-
doc/html/functions_0x78.html | 2 +-
doc/html/functions_0x79.html | 2 +-
doc/html/functions_0x7a.html | 2 +-
doc/html/functions_0x7e.html | 7 +-
doc/html/functions_enum.html | 6 +-
doc/html/functions_eval.html | 24 +-
doc/html/functions_func.html | 9 +-
doc/html/functions_func_0x62.html | 4 +-
doc/html/functions_func_0x63.html | 11 +-
doc/html/functions_func_0x64.html | 4 +-
doc/html/functions_func_0x65.html | 4 +-
doc/html/functions_func_0x66.html | 4 +-
doc/html/functions_func_0x67.html | 24 +-
doc/html/functions_func_0x68.html | 6 +-
doc/html/functions_func_0x69.html | 11 +-
doc/html/functions_func_0x6a.html | 4 +-
doc/html/functions_func_0x6b.html | 4 +-
doc/html/functions_func_0x6c.html | 8 +-
doc/html/functions_func_0x6d.html | 4 +-
doc/html/functions_func_0x6e.html | 6 +-
doc/html/functions_func_0x6f.html | 6 +-
doc/html/functions_func_0x70.html | 4 +-
doc/html/functions_func_0x71.html | 4 +-
doc/html/functions_func_0x72.html | 10 +-
doc/html/functions_func_0x73.html | 38 +-
doc/html/functions_func_0x74.html | 9 +-
doc/html/functions_func_0x75.html | 4 +-
doc/html/functions_func_0x76.html | 4 +-
doc/html/functions_func_0x77.html | 7 +-
doc/html/functions_func_0x7e.html | 7 +-
doc/html/functions_type.html | 4 +-
doc/html/functions_vars.html | 62 +-
doc/html/functions_vars_0x62.html | 2 +-
doc/html/functions_vars_0x63.html | 2 +-
doc/html/functions_vars_0x64.html | 2 +-
doc/html/functions_vars_0x65.html | 2 +-
doc/html/functions_vars_0x66.html | 2 +-
doc/html/functions_vars_0x67.html | 2 +-
doc/html/functions_vars_0x68.html | 2 +-
doc/html/functions_vars_0x69.html | 2 +-
doc/html/functions_vars_0x6a.html | 2 +-
doc/html/functions_vars_0x6c.html | 2 +-
doc/html/functions_vars_0x6d.html | 2 +-
doc/html/functions_vars_0x6e.html | 2 +-
doc/html/functions_vars_0x6f.html | 2 +-
doc/html/functions_vars_0x70.html | 2 +-
doc/html/functions_vars_0x71.html | 2 +-
doc/html/functions_vars_0x72.html | 2 +-
doc/html/functions_vars_0x73.html | 2 +-
doc/html/functions_vars_0x74.html | 2 +-
doc/html/functions_vars_0x75.html | 2 +-
doc/html/functions_vars_0x76.html | 2 +-
doc/html/functions_vars_0x77.html | 2 +-
doc/html/functions_vars_0x78.html | 2 +-
doc/html/functions_vars_0x79.html | 2 +-
doc/html/functions_vars_0x7a.html | 2 +-
doc/html/fundamentals.html | 10 +-
doc/html/globals.html | 29 +
doc/html/globals_type.html | 29 +
doc/html/hello.html | 6 +-
doc/html/hierarchy.html | 9 +-
doc/html/index.html | 10 +-
doc/html/information.html | 22 +-
doc/html/instruments.html | 43 +-
doc/html/links.html | 10 +-
doc/html/maillist.html | 4 +-
doc/html/main.html | 2 +-
doc/html/multichannel.html | 4 +-
doc/html/pages.html | 6 +-
doc/html/polyvoices.html | 43 +-
doc/html/realtime.html | 24 +-
doc/html/skini.html | 4 +-
doc/html/structCallbackInfo-members.html | 2 +-
doc/html/structCallbackInfo.html | 2 +-
.../structGranulate_1_1Grain-members.html | 2 +-
doc/html/structGranulate_1_1Grain.html | 2 +-
...tructMessager_1_1MessagerData-members.html | 2 +-
doc/html/structMessager_1_1MessagerData.html | 2 +-
...ructMidiFileIn_1_1TempoChange-members.html | 2 +-
doc/html/structMidiFileIn_1_1TempoChange.html | 2 +-
...ructRtApiDs_1_1RtDsStatistics-members.html | 2 +-
doc/html/structRtApiDs_1_1RtDsStatistics.html | 2 +-
.../structRtApi_1_1ConvertInfo-members.html | 2 +-
doc/html/structRtApi_1_1ConvertInfo.html | 2 +-
.../structRtApi_1_1RtApiDevice-members.html | 2 +-
doc/html/structRtApi_1_1RtApiDevice.html | 2 +-
.../structRtApi_1_1RtApiStream-members.html | 2 +-
doc/html/structRtApi_1_1RtApiStream.html | 2 +-
doc/html/structRtAudioDeviceInfo-members.html | 4 +-
doc/html/structRtAudioDeviceInfo.html | 4 +-
.../structRtAudio_1_1DeviceInfo-members.html | 30 +
doc/html/structRtAudio_1_1DeviceInfo.html | 259 ++++
...tructRtAudio_1_1StreamOptions-members.html | 24 +
doc/html/structRtAudio_1_1StreamOptions.html | 119 ++
...ctRtAudio_1_1StreamParameters-members.html | 24 +
.../structRtAudio_1_1StreamParameters.html | 109 ++
...structRtMidiIn_1_1MidiMessage-members.html | 2 +-
doc/html/structRtMidiIn_1_1MidiMessage.html | 2 +-
...tructRtMidiIn_1_1RtMidiInData-members.html | 2 +-
doc/html/structRtMidiIn_1_1RtMidiInData.html | 2 +-
doc/html/structSkini_1_1Message-members.html | 4 +-
doc/html/structSkini_1_1Message.html | 4 +-
doc/html/structThreadInfo-members.html | 2 +-
doc/html/structThreadInfo.html | 2 +-
doc/html/structVoicer_1_1Voice-members.html | 2 +-
doc/html/structVoicer_1_1Voice.html | 2 +-
doc/html/system.html | 12 +-
doc/html/tutorial.html | 4 +-
doc/html/usage.html | 33 +-
462 files changed, 4751 insertions(+), 3397 deletions(-)
create mode 100644 doc/html/RtAudio_8h.html
create mode 100644 doc/html/faq.html
create mode 100644 doc/html/globals.html
create mode 100644 doc/html/globals_type.html
create mode 100644 doc/html/structRtAudio_1_1DeviceInfo-members.html
create mode 100644 doc/html/structRtAudio_1_1DeviceInfo.html
create mode 100644 doc/html/structRtAudio_1_1StreamOptions-members.html
create mode 100644 doc/html/structRtAudio_1_1StreamOptions.html
create mode 100644 doc/html/structRtAudio_1_1StreamParameters-members.html
create mode 100644 doc/html/structRtAudio_1_1StreamParameters.html
diff --git a/configure b/configure
index 3565e8b..e898329 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for STK 4.2.1.
+# Generated by GNU Autoconf 2.59 for STK 4.3.
#
# Report bugs to .
#
@@ -269,8 +269,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='STK'
PACKAGE_TARNAME='stk'
-PACKAGE_VERSION='4.2.1'
-PACKAGE_STRING='STK 4.2.1'
+PACKAGE_VERSION='4.3'
+PACKAGE_STRING='STK 4.3'
PACKAGE_BUGREPORT='gary@music.mcgill.ca'
ac_unique_file="src/Stk.cpp"
@@ -311,7 +311,7 @@ ac_includes_default="\
# include
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP EGREP byte_order rawwaves include realtime sound_api debug cflags object_path warn build build_cpu build_vendor build_os host host_cpu host_vendor host_os audio_apis frameworks LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP EGREP byte_order rawwaves include realtime sound_api debug cflags object_path warn build build_cpu build_vendor build_os host host_cpu host_vendor host_os frameworks audio_apis LIBOBJS LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
@@ -788,7 +788,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures STK 4.2.1 to adapt to many kinds of systems.
+\`configure' configures STK 4.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -849,7 +849,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of STK 4.2.1:";;
+ short | recursive ) echo "Configuration of STK 4.3:";;
esac
cat <<\_ACEOF
@@ -865,6 +865,8 @@ Optional Packages:
--with-jack = choose JACK server support (linux only)
--with-alsa = choose native ALSA API support (linux only)
--with-oss = choose OSS API support (linux only)
+ --with-jack = choose JACK server support (unix only)
+ --with-core = choose CoreAudio API support (mac only)
Some influential environment variables:
CC C compiler command
@@ -976,7 +978,7 @@ fi
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-STK configure 4.2.1
+STK configure 4.3
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -990,7 +992,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by STK $as_me 4.2.1, which was
+It was created by STK $as_me 4.3, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -4599,11 +4601,11 @@ fi
# Check whether --with-jack or --without-jack was given.
if test "${with_jack+set}" = set; then
withval="$with_jack"
- sound_api=-D__LINUX_JACK__
+ sound_api=-D__UNIX_JACK__
echo "$as_me:$LINENO: result: using JACK" >&5
echo "${ECHO_T}using JACK" >&6
fi;
- if test $sound_api = -D__LINUX_JACK__; then
+ if test $sound_api = -D__UNIX_JACK__; then
TEMP_LIBS=$LIBS
echo "$as_me:$LINENO: checking for jack_client_new in -ljack" >&5
@@ -4684,7 +4686,7 @@ echo "$as_me: error: JACK support requires the jack library!" >&2;}
fi
LIBS="`pkg-config --cflags --libs jack` $TEMP_LIBS -lasound"
- audio_apis="-D__LINUX_JACK__ $audio_apis"
+ audio_apis="-D__UNIX_JACK__ $audio_apis"
fi
# Look for Alsa flag
@@ -4721,189 +4723,123 @@ echo "${ECHO_T}using ALSA" >&6
fi
;;
- *-sgi*)
- audio_apis="-D__IRIX_AL__ -D__IRIX_MD__ -LANG:std -w"
-
- echo "$as_me:$LINENO: result: using IRIX AL" >&5
-echo "${ECHO_T}using IRIX AL" >&6
-
-echo "$as_me:$LINENO: checking for alOpenPort in -laudio" >&5
-echo $ECHO_N "checking for alOpenPort in -laudio... $ECHO_C" >&6
-if test "${ac_cv_lib_audio_alOpenPort+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-laudio $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char alOpenPort ();
-int
-main ()
-{
-alOpenPort ();
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -z "$ac_c_werror_flag"
- || test ! -s conftest.err'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } &&
- { ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- ac_cv_lib_audio_alOpenPort=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-ac_cv_lib_audio_alOpenPort=no
-fi
-rm -f conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_audio_alOpenPort" >&5
-echo "${ECHO_T}$ac_cv_lib_audio_alOpenPort" >&6
-if test $ac_cv_lib_audio_alOpenPort = yes; then
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBAUDIO 1
-_ACEOF
-
- LIBS="-laudio $LIBS"
-
-else
- { { echo "$as_me:$LINENO: error: IRIX audio support requires the audio library!" >&5
-echo "$as_me: error: IRIX audio support requires the audio library!" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-echo "$as_me:$LINENO: checking for mdOpenInPort in -lmd" >&5
-echo $ECHO_N "checking for mdOpenInPort in -lmd... $ECHO_C" >&6
-if test "${ac_cv_lib_md_mdOpenInPort+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lmd $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char mdOpenInPort ();
-int
-main ()
-{
-mdOpenInPort ();
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -z "$ac_c_werror_flag"
- || test ! -s conftest.err'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } &&
- { ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- ac_cv_lib_md_mdOpenInPort=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-ac_cv_lib_md_mdOpenInPort=no
-fi
-rm -f conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_md_mdOpenInPort" >&5
-echo "${ECHO_T}$ac_cv_lib_md_mdOpenInPort" >&6
-if test $ac_cv_lib_md_mdOpenInPort = yes; then
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBMD 1
-_ACEOF
-
- LIBS="-lmd $LIBS"
-
-else
- { { echo "$as_me:$LINENO: error: IRIX MIDI support requires the md library!" >&5
-echo "$as_me: error: IRIX MIDI support requires the md library!" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
- ;;
-
*-apple*)
- # Check for CoreAudio and CoreMIDI framework
+ sound_api=_NO_API_
+ # Look for JACK flag
-for ac_header in CoreAudio/CoreAudio.h CoreMIDI/CoreMIDI.h CoreServices/CoreServices.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
- echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
+# Check whether --with-jack or --without-jack was given.
+if test "${with_jack+set}" = set; then
+ withval="$with_jack"
+ sound_api=-D__UNIX_JACK__
+ echo "$as_me:$LINENO: result: using JACK" >&5
+echo "${ECHO_T}using JACK" >&6
+fi;
+ if test $sound_api = -D__UNIX_JACK__; then
+
+echo "$as_me:$LINENO: checking for jack_client_new in -ljack" >&5
+echo $ECHO_N "checking for jack_client_new in -ljack... $ECHO_C" >&6
+if test "${ac_cv_lib_jack_jack_client_new+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ljack $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char jack_client_new ();
+int
+main ()
+{
+jack_client_new ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_lib_jack_jack_client_new=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_jack_jack_client_new=no
+fi
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_jack_jack_client_new" >&5
+echo "${ECHO_T}$ac_cv_lib_jack_jack_client_new" >&6
+if test $ac_cv_lib_jack_jack_client_new = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBJACK 1
+_ACEOF
+
+ LIBS="-ljack $LIBS"
+
+else
+ { { echo "$as_me:$LINENO: error: JACK support requires the jack library!" >&5
+echo "$as_me: error: JACK support requires the jack library!" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+ audio_apis="-D__UNIX_JACK__"
+ fi
+
+ # Look for Core flag
+
+# Check whether --with-core or --without-core was given.
+if test "${with_core+set}" = set; then
+ withval="$with_core"
+ sound_api=-D__MACOSX_CORE__
+ echo "$as_me:$LINENO: result: using CoreAudio" >&5
+echo "${ECHO_T}using CoreAudio" >&6
+fi;
+ if test $sound_api = -D__MACOSX_CORE__; then
+ if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
+ echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
+echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
+if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
fi
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
+echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
else
# Is the header compilable?
-echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
+echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -4911,7 +4847,7 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
-#include <$ac_header>
+#include
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
@@ -4947,15 +4883,15 @@ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
# Is the header present?
-echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
+echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include <$ac_header>
+#include
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
@@ -4989,25 +4925,25 @@ echo "${ECHO_T}$ac_header_preproc" >&6
# So? What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
yes:no: )
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
ac_header_preproc=yes
;;
no:yes:* )
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
## ----------------------------------- ##
@@ -5018,33 +4954,187 @@ _ASBOX
sed "s/^/$as_me: WARNING: /" >&2
;;
esac
-echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
+echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
+echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
+if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- eval "$as_ac_Header=\$ac_header_preproc"
+ ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
fi
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
+echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
- cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
- audio_apis=-D__MACOSX_CORE__
-
+if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
+ :
else
- { { echo "$as_me:$LINENO: error: CoreAudio and/or CoreMIDI header files not found!" >&5
-echo "$as_me: error: CoreAudio and/or CoreMIDI header files not found!" >&2;}
+ { { echo "$as_me:$LINENO: error: CoreAudio header files not found!" >&5
+echo "$as_me: error: CoreAudio header files not found!" >&2;}
{ (exit 1); exit 1; }; }
fi
-done
- frameworks="-framework CoreAudio -framework CoreMIDI -framework CoreFoundation"
+ frameworks="-framework CoreAudio -framework CoreFoundation -framework CoreMidi"
+ audio_apis="-D__MACOSX_CORE__ $audio_apis"
+ fi
+
+ # If no audio api flags specified, use CoreAudio
+ if test $sound_api = _NO_API_; then
+ sound_api=-D__MACOSX_CORE__
+
+ echo "$as_me:$LINENO: result: using CoreAudio" >&5
+echo "${ECHO_T}using CoreAudio" >&6
+ if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
+ echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
+echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
+if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
+echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
+else
+ # Is the header compilable?
+echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
+echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_header_compiler=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
+echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
+ (
+ cat <<\_ASBOX
+## ----------------------------------- ##
+## Report this to gary@music.mcgill.ca ##
+## ----------------------------------- ##
+_ASBOX
+ ) |
+ sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
+echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
+if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
+fi
+echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
+echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
+
+fi
+if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
+ audio_apis=-D__MACOSX_CORE__
+
+else
+ { { echo "$as_me:$LINENO: error: CoreAudio header files not found!" >&5
+echo "$as_me: error: CoreAudio header files not found!" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+
+ frameworks="-framework CoreAudio -framework CoreFoundation -framework CoreMidi"
+
+ fi
;;
*)
@@ -5603,7 +5693,7 @@ _ASBOX
} >&5
cat >&5 <<_CSEOF
-This file was extended by STK $as_me 4.2.1, which was
+This file was extended by STK $as_me 4.3, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -5658,7 +5748,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-STK config.status 4.2.1
+STK config.status 4.3
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
@@ -5878,8 +5968,8 @@ s,@host@,$host,;t t
s,@host_cpu@,$host_cpu,;t t
s,@host_vendor@,$host_vendor,;t t
s,@host_os@,$host_os,;t t
-s,@audio_apis@,$audio_apis,;t t
s,@frameworks@,$frameworks,;t t
+s,@audio_apis@,$audio_apis,;t t
s,@LIBOBJS@,$LIBOBJS,;t t
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
CEOF
diff --git a/doc/html/ADSR_8h-source.html b/doc/html/ADSR_8h-source.html
index 6db83e2..8bc6b94 100644
--- a/doc/html/ADSR_8h-source.html
+++ b/doc/html/ADSR_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -58,19 +58,20 @@
00075
protected :
00076
00077 StkFloat computeSample(
void );
-
00078
-
00079 StkFloat attackRate_;
-
00080 StkFloat decayRate_;
-
00081 StkFloat sustainLevel_;
-
00082 StkFloat releaseRate_;
-
00083 };
-
00084
-
00085
#endif
+
00078
void sampleRateChanged( StkFloat newRate, StkFloat oldRate );
+
00079
+
00080 StkFloat attackRate_;
+
00081 StkFloat decayRate_;
+
00082 StkFloat sustainLevel_;
+
00083 StkFloat releaseRate_;
+
00084 };
+
00085
+
00086
#endif
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Asymp_8h-source.html b/doc/html/Asymp_8h-source.html
index adcb518..fd8836c 100644
--- a/doc/html/Asymp_8h-source.html
+++ b/doc/html/Asymp_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -43,17 +43,18 @@
00064
protected :
00065
00066 StkFloat computeSample(
void );
-
00067
-
00068 StkFloat factor_;
-
00069 StkFloat constant_;
-
00070 };
-
00071
-
00072
#endif
+
00067
void sampleRateChanged( StkFloat newRate, StkFloat oldRate );
+
00068
+
00069 StkFloat factor_;
+
00070 StkFloat constant_;
+
00071 };
+
00072
+
00073
#endif
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/BandedWG_8h-source.html b/doc/html/BandedWG_8h-source.html
index af30726..8e0cecf 100644
--- a/doc/html/BandedWG_8h-source.html
+++ b/doc/html/BandedWG_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -86,7 +86,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/BeeThree_8h-source.html b/doc/html/BeeThree_8h-source.html
index cb32a27..df9e349 100644
--- a/doc/html/BeeThree_8h-source.html
+++ b/doc/html/BeeThree_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -39,7 +39,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/BiQuad_8h-source.html b/doc/html/BiQuad_8h-source.html
index cfbd6f2..5c0974b 100644
--- a/doc/html/BiQuad_8h-source.html
+++ b/doc/html/BiQuad_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -27,52 +27,78 @@
00026
00028
virtual ~BiQuad ();
00029
-
00031
void clear (
void );
+
00031 void ignoreSampleRateChange (
bool ignore =
true ) { ignoreSampleRateChange_ = ignore; };
00032
-
00034
void setB0 (StkFloat b0);
+
00034
void clear (
void );
00035
-
00037
void setB1 (StkFloat b1);
+
00037
void setB0 (StkFloat b0);
00038
-
00040
void setB2 (StkFloat b2);
+
00040
void setB1 (StkFloat b1);
00041
-
00043
void setA1 (StkFloat a1);
+
00043
void setB2 (StkFloat b2);
00044
-
00046
void setA2 (StkFloat a2);
+
00046
void setA1 (StkFloat a1);
00047
-
00049
-
00060
void setResonance (StkFloat frequency, StkFloat radius,
bool normalize =
false );
-
00061
-
00063
-
00069
void setNotch (StkFloat frequency, StkFloat radius);
-
00070
-
00072
-
00078
void setEqualGainZeroes ();
-
00079
-
00081
-
00085
void setGain (StkFloat gain);
-
00086
-
00088 StkFloat
getGain (
void )
const ;
+
00049
void setA2 (StkFloat a2);
+
00050
+
00052
+
00063
void setResonance (StkFloat frequency, StkFloat radius,
bool normalize =
false );
+
00064
+
00066
+
00072
void setNotch (StkFloat frequency, StkFloat radius);
+
00073
+
00075
+
00081
void setEqualGainZeroes ();
+
00082
+
00084
+
00088
void setGain (StkFloat gain);
00089
-
00091 StkFloat
lastOut (
void )
const ;
+
00091 StkFloat
getGain (
void )
const ;
00092
-
00094
virtual StkFloat
tick (StkFloat sample);
+
00094 StkFloat
lastOut (
void )
const ;
00095
-
00097
-
00103
virtual StkFrames &
tick (
StkFrames & frames,
unsigned int channel = 0 );
-
00104
-
00105
protected :
-
00106
-
00107
-
00108
-
00109
virtual StkFloat computeSample( StkFloat input );
-
00110 };
-
00111
-
00112
#endif
+
00097
virtual StkFloat
tick (StkFloat sample);
+
00098
+
00100
+
00106
virtual StkFrames &
tick (
StkFrames & frames,
unsigned int channel = 0 );
+
00107
+
00108
protected :
+
00109
+
00110
+
00111
+
00112
virtual StkFloat computeSample( StkFloat input );
+
00113
virtual void sampleRateChanged( StkFloat newRate, StkFloat oldRate );
+
00114 };
+
00115
+
00116
inline StkFloat BiQuad :: computeSample( StkFloat input )
+
00117 {
+
00118 inputs_[0] = gain_ * input;
+
00119 outputs_[0] = b_[0] * inputs_[0] + b_[1] * inputs_[1] + b_[2] * inputs_[2];
+
00120 outputs_[0] -= a_[2] * outputs_[2] + a_[1] * outputs_[1];
+
00121 inputs_[2] = inputs_[1];
+
00122 inputs_[1] = inputs_[0];
+
00123 outputs_[2] = outputs_[1];
+
00124 outputs_[1] = outputs_[0];
+
00125
+
00126
return outputs_[0];
+
00127 }
+
00128
+
00129 inline StkFloat
BiQuad :: tick ( StkFloat input )
+
00130 {
+
00131
return this->computeSample( input );
+
00132 }
+
00133
+
00134 inline StkFrames &
BiQuad :: tick (
StkFrames & frames,
unsigned int channel )
+
00135 {
+
00136
return Filter::tick ( frames, channel );
+
00137 }
+
00138
+
00139
#endif
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/BlitSaw_8h-source.html b/doc/html/BlitSaw_8h-source.html
index c771921..b07968a 100644
--- a/doc/html/BlitSaw_8h-source.html
+++ b/doc/html/BlitSaw_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -54,7 +54,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/BlitSquare_8h-source.html b/doc/html/BlitSquare_8h-source.html
index ab3c436..736064f 100644
--- a/doc/html/BlitSquare_8h-source.html
+++ b/doc/html/BlitSquare_8h-source.html
@@ -6,58 +6,60 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BlitSquare.h 00001
- 00027
- 00028
- 00029 #ifndef STK_BLITSQUARE_H
- 00030 #define STK_BLITSQUARE_H
- 00031
- 00032 #include "Generator.h"
- 00033
-00034 class BlitSquare : public Generator
- 00035 {
- 00036 public :
- 00038 BlitSquare ( StkFloat frequency = 220.0 );
- 00039
- 00041 ~BlitSquare ();
- 00042
- 00044 void reset ();
- 00045
- 00047
-00050 void setPhase ( StkFloat phase ) { phase_ = PI * phase; };
+ 00031
+ 00032
+ 00033 #ifndef STK_BLITSQUARE_H
+ 00034 #define STK_BLITSQUARE_H
+ 00035
+ 00036 #include "Generator.h"
+ 00037
+00038 class BlitSquare : public Generator
+ 00039 {
+ 00040 public :
+ 00042 BlitSquare ( StkFloat frequency = 220.0 );
+ 00043
+ 00045 ~BlitSquare ();
+ 00046
+ 00048 void reset ();
+ 00049
00051
- 00053
-00056 StkFloat getPhase () const { return phase_ / PI; };
+00054 void setPhase ( StkFloat phase ) { phase_ = PI * phase; };
+ 00055
00057
- 00059 void setFrequency ( StkFloat frequency );
- 00060
- 00062
- 00074 void setHarmonics ( unsigned int nHarmonics = 0 );
- 00075
- 00076 protected :
- 00077
- 00078 void updateHarmonics( void );
- 00079 StkFloat computeSample( void );
- 00080
- 00081 unsigned int nHarmonics_;
- 00082 unsigned int m_;
- 00083 StkFloat rate_;
- 00084 StkFloat phase_;
- 00085 StkFloat p_;
- 00086 StkFloat offset_;
- 00087 };
- 00088
- 00089 #endif
+00060 StkFloat getPhase () const { return phase_ / PI; };
+ 00061
+ 00063 void setFrequency ( StkFloat frequency );
+ 00064
+ 00066
+ 00078 void setHarmonics ( unsigned int nHarmonics = 0 );
+ 00079
+ 00080 protected :
+ 00081
+ 00082 void updateHarmonics( void );
+ 00083 StkFloat computeSample( void );
+ 00084
+ 00085 unsigned int nHarmonics_;
+ 00086 unsigned int m_;
+ 00087 StkFloat rate_;
+ 00088 StkFloat phase_;
+ 00089 StkFloat p_;
+ 00090 StkFloat a_;
+ 00091 StkFloat lastBlitOutput_;
+ 00092 StkFloat dcbState_;
+ 00093 };
+ 00094
+ 00095 #endif
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Blit_8h-source.html b/doc/html/Blit_8h-source.html
index b3b291f..8d49922 100644
--- a/doc/html/Blit_8h-source.html
+++ b/doc/html/Blit_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -57,7 +57,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/BlowBotl_8h-source.html b/doc/html/BlowBotl_8h-source.html
index 5b65202..c202e97 100644
--- a/doc/html/BlowBotl_8h-source.html
+++ b/doc/html/BlowBotl_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -69,7 +69,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/BlowHole_8h-source.html b/doc/html/BlowHole_8h-source.html
index db4aca0..6b99b99 100644
--- a/doc/html/BlowHole_8h-source.html
+++ b/doc/html/BlowHole_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -79,7 +79,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/BowTable_8h-source.html b/doc/html/BowTable_8h-source.html
index 0d434f7..f217f66 100644
--- a/doc/html/BowTable_8h-source.html
+++ b/doc/html/BowTable_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -46,7 +46,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Bowed_8h-source.html b/doc/html/Bowed_8h-source.html
index 5caf6d7..cb20d9e 100644
--- a/doc/html/Bowed_8h-source.html
+++ b/doc/html/Bowed_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -71,7 +71,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Brass_8h-source.html b/doc/html/Brass_8h-source.html
index 24e1055..f4b2300 100644
--- a/doc/html/Brass_8h-source.html
+++ b/doc/html/Brass_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -70,7 +70,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Chorus_8h-source.html b/doc/html/Chorus_8h-source.html
index 4f2e690..9f3a36d 100644
--- a/doc/html/Chorus_8h-source.html
+++ b/doc/html/Chorus_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -52,7 +52,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Clarinet_8h-source.html b/doc/html/Clarinet_8h-source.html
index c7123f2..1b14f42 100644
--- a/doc/html/Clarinet_8h-source.html
+++ b/doc/html/Clarinet_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -69,7 +69,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/DelayA_8h-source.html b/doc/html/DelayA_8h-source.html
index 7e58249..ea7acfd 100644
--- a/doc/html/DelayA_8h-source.html
+++ b/doc/html/DelayA_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -56,7 +56,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/DelayL_8h-source.html b/doc/html/DelayL_8h-source.html
index fb58f06..4d1782b 100644
--- a/doc/html/DelayL_8h-source.html
+++ b/doc/html/DelayL_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -53,7 +53,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Delay_8h-source.html b/doc/html/Delay_8h-source.html
index b0168ee..45fe41c 100644
--- a/doc/html/Delay_8h-source.html
+++ b/doc/html/Delay_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -72,7 +72,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Drummer_8h-source.html b/doc/html/Drummer_8h-source.html
index b8efc7b..2881cec 100644
--- a/doc/html/Drummer_8h-source.html
+++ b/doc/html/Drummer_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -53,7 +53,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Echo_8h-source.html b/doc/html/Echo_8h-source.html
index 5d479f9..f64f538 100644
--- a/doc/html/Echo_8h-source.html
+++ b/doc/html/Echo_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -49,7 +49,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Effect_8h-source.html b/doc/html/Effect_8h-source.html
index 36cbf8b..9bd90ab 100644
--- a/doc/html/Effect_8h-source.html
+++ b/doc/html/Effect_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -62,7 +62,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Envelope_8h-source.html b/doc/html/Envelope_8h-source.html
index 9f65d60..f4f5408 100644
--- a/doc/html/Envelope_8h-source.html
+++ b/doc/html/Envelope_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -48,19 +48,20 @@
00058
protected :
00059
00060
virtual StkFloat computeSample(
void );
-
00061
-
00062 StkFloat value_;
-
00063 StkFloat target_;
-
00064 StkFloat rate_;
-
00065
int state_;
-
00066 };
-
00067
-
00068
#endif
+
00061
virtual void sampleRateChanged( StkFloat newRate, StkFloat oldRate );
+
00062
+
00063 StkFloat value_;
+
00064 StkFloat target_;
+
00065 StkFloat rate_;
+
00066
int state_;
+
00067 };
+
00068
+
00069
#endif
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/FMVoices_8h-source.html b/doc/html/FMVoices_8h-source.html
index 53c531a..8f6501a 100644
--- a/doc/html/FMVoices_8h-source.html
+++ b/doc/html/FMVoices_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -47,7 +47,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/FM_8h-source.html b/doc/html/FM_8h-source.html
index d794bb4..0852cf7 100644
--- a/doc/html/FM_8h-source.html
+++ b/doc/html/FM_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -83,7 +83,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/FileRead_8h-source.html b/doc/html/FileRead_8h-source.html
index 108fa53..f4e2dc2 100644
--- a/doc/html/FileRead_8h-source.html
+++ b/doc/html/FileRead_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -78,7 +78,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/FileWrite_8h-source.html b/doc/html/FileWrite_8h-source.html
index 7f27f47..cb04048 100644
--- a/doc/html/FileWrite_8h-source.html
+++ b/doc/html/FileWrite_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -92,7 +92,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/FileWvIn_8h-source.html b/doc/html/FileWvIn_8h-source.html
index 6e2abde..44a1f06 100644
--- a/doc/html/FileWvIn_8h-source.html
+++ b/doc/html/FileWvIn_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -65,26 +65,27 @@
00126
protected :
00127
00128
virtual void computeFrame(
void );
-
00129
-
00130
FileRead file_;
-
00131
bool finished_;
-
00132
bool interpolate_;
-
00133
bool normalizing_;
-
00134
bool chunking_;
-
00135 StkFloat time_;
-
00136 StkFloat rate_;
-
00137
unsigned long chunkThreshold_;
-
00138
unsigned long chunkSize_;
-
00139
long chunkPointer_;
-
00140
-
00141 };
-
00142
-
00143
#endif
+
00129
virtual void sampleRateChanged( StkFloat newRate, StkFloat oldRate );
+
00130
+
00131
FileRead file_;
+
00132
bool finished_;
+
00133
bool interpolate_;
+
00134
bool normalizing_;
+
00135
bool chunking_;
+
00136 StkFloat time_;
+
00137 StkFloat rate_;
+
00138
unsigned long chunkThreshold_;
+
00139
unsigned long chunkSize_;
+
00140
long chunkPointer_;
+
00141
+
00142 };
+
00143
+
00144
#endif
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/FileWvOut_8h-source.html b/doc/html/FileWvOut_8h-source.html
index c46d65b..3bf31e4 100644
--- a/doc/html/FileWvOut_8h-source.html
+++ b/doc/html/FileWvOut_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -65,7 +65,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Filter_8h-source.html b/doc/html/Filter_8h-source.html
index 2fe10cf..f31c1e5 100644
--- a/doc/html/Filter_8h-source.html
+++ b/doc/html/Filter_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -68,7 +68,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Flute_8h-source.html b/doc/html/Flute_8h-source.html
index 3822e69..3999944 100644
--- a/doc/html/Flute_8h-source.html
+++ b/doc/html/Flute_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -83,7 +83,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/FormSwep_8h-source.html b/doc/html/FormSwep_8h-source.html
index 4e113a6..7ef613f 100644
--- a/doc/html/FormSwep_8h-source.html
+++ b/doc/html/FormSwep_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -66,7 +66,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Function_8h-source.html b/doc/html/Function_8h-source.html
index 40c8429..11ac7a0 100644
--- a/doc/html/Function_8h-source.html
+++ b/doc/html/Function_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -50,7 +50,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Generator_8h-source.html b/doc/html/Generator_8h-source.html
index da97d2d..afedcb9 100644
--- a/doc/html/Generator_8h-source.html
+++ b/doc/html/Generator_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -50,7 +50,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Granulate_8h-source.html b/doc/html/Granulate_8h-source.html
index d3fdb74..ce385b7 100644
--- a/doc/html/Granulate_8h-source.html
+++ b/doc/html/Granulate_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -44,66 +44,66 @@
00067
void setStretch (
unsigned int stretchFactor = 1 );
00068
00070
-
00083
void setGrainParameters (
unsigned int duration = 30,
unsigned int rampPercent = 50,
-
00084
int offset = 0,
unsigned int delay = 0 );
-
00085
+
00085
void setGrainParameters (
unsigned int duration = 30,
unsigned int rampPercent = 50,
+
00086
int offset = 0,
unsigned int delay = 0 );
00087
-
00095
void setRandomFactor ( StkFloat randomness = 0.1 );
-
00096
-
00097
enum GrainState {
-
00098 GRAIN_STOPPED,
-
00099 GRAIN_FADEIN,
-
00100 GRAIN_SUSTAIN,
-
00101 GRAIN_FADEOUT
-
00102 };
-
00103
-
00104
protected :
+
00089
+
00097
void setRandomFactor ( StkFloat randomness = 0.1 );
+
00098
+
00099
enum GrainState {
+
00100 GRAIN_STOPPED,
+
00101 GRAIN_FADEIN,
+
00102 GRAIN_SUSTAIN,
+
00103 GRAIN_FADEOUT
+
00104 };
00105
-
00106
struct Grain {
-
00107 StkFloat eScaler;
-
00108 StkFloat eRate;
-
00109
unsigned long attackCount;
-
00110
unsigned long sustainCount;
-
00111
unsigned long decayCount;
-
00112
unsigned long delayCount;
-
00113
unsigned long counter;
-
00114
unsigned long pointer;
-
00115
unsigned long startPointer;
-
00116
unsigned int repeats;
-
00117 GrainState state;
-
00118
-
00119
-
00120 Grain()
-
00121 :eScaler(0.0), eRate(0.0), attackCount(0), sustainCount(0), decayCount(0),
-
00122 delayCount(0), counter(0), pointer(0), startPointer(0), repeats(0), state(GRAIN_STOPPED) {}
-
00123 };
-
00124
-
00125 StkFloat computeSample(
void );
-
00126
void calculateGrain( Granulate::Grain& grain );
-
00127
-
00128
StkFrames data_;
-
00129 std::vector<Grain> grains_;
-
00130
Noise noise;
-
00131
long gPointer_;
-
00132
-
00133
-
00134
unsigned int gDuration_;
-
00135
unsigned int gRampPercent_;
-
00136
unsigned int gDelay_;
-
00137
unsigned int gStretch_;
-
00138
unsigned int stretchCounter_;
-
00139
int gOffset_;
-
00140 StkFloat gRandomFactor_;
-
00141 StkFloat gain_;
-
00142
-
00143 };
+
00106
protected :
+
00107
+
00108
struct Grain {
+
00109 StkFloat eScaler;
+
00110 StkFloat eRate;
+
00111
unsigned long attackCount;
+
00112
unsigned long sustainCount;
+
00113
unsigned long decayCount;
+
00114
unsigned long delayCount;
+
00115
unsigned long counter;
+
00116
unsigned long pointer;
+
00117
unsigned long startPointer;
+
00118
unsigned int repeats;
+
00119 GrainState state;
+
00120
+
00121
+
00122 Grain()
+
00123 :eScaler(0.0), eRate(0.0), attackCount(0), sustainCount(0), decayCount(0),
+
00124 delayCount(0), counter(0), pointer(0), startPointer(0), repeats(0), state(GRAIN_STOPPED) {}
+
00125 };
+
00126
+
00127 StkFloat computeSample(
void );
+
00128
void calculateGrain( Granulate::Grain& grain );
+
00129
+
00130
StkFrames data_;
+
00131 std::vector<Grain> grains_;
+
00132
Noise noise;
+
00133
long gPointer_;
+
00134
+
00135
+
00136
unsigned int gDuration_;
+
00137
unsigned int gRampPercent_;
+
00138
unsigned int gDelay_;
+
00139
unsigned int gStretch_;
+
00140
unsigned int stretchCounter_;
+
00141
int gOffset_;
+
00142 StkFloat gRandomFactor_;
+
00143 StkFloat gain_;
00144
-
00145
#endif
+
00145 };
+
00146
+
00147
#endif
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/HevyMetl_8h-source.html b/doc/html/HevyMetl_8h-source.html
index c28af74..9ffde42 100644
--- a/doc/html/HevyMetl_8h-source.html
+++ b/doc/html/HevyMetl_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -39,7 +39,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/InetWvIn_8h-source.html b/doc/html/InetWvIn_8h-source.html
index 57ef294..57641b1 100644
--- a/doc/html/InetWvIn_8h-source.html
+++ b/doc/html/InetWvIn_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -80,7 +80,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/InetWvOut_8h-source.html b/doc/html/InetWvOut_8h-source.html
index 24a9969..45a79fa 100644
--- a/doc/html/InetWvOut_8h-source.html
+++ b/doc/html/InetWvOut_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -64,7 +64,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Instrmnt_8h-source.html b/doc/html/Instrmnt_8h-source.html
index 02c343a..651aaec 100644
--- a/doc/html/Instrmnt_8h-source.html
+++ b/doc/html/Instrmnt_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -61,7 +61,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/JCRev_8h-source.html b/doc/html/JCRev_8h-source.html
index 437f565..5be3637 100644
--- a/doc/html/JCRev_8h-source.html
+++ b/doc/html/JCRev_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -50,7 +50,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/JetTable_8h-source.html b/doc/html/JetTable_8h-source.html
index a2d1ead..d1f53a1 100644
--- a/doc/html/JetTable_8h-source.html
+++ b/doc/html/JetTable_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -37,7 +37,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Mandolin_8h-source.html b/doc/html/Mandolin_8h-source.html
index 146e892..fa18750 100644
--- a/doc/html/Mandolin_8h-source.html
+++ b/doc/html/Mandolin_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -52,7 +52,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Mesh2D_8h-source.html b/doc/html/Mesh2D_8h-source.html
index b968667..9748c44 100644
--- a/doc/html/Mesh2D_8h-source.html
+++ b/doc/html/Mesh2D_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -82,7 +82,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Messager_8h-source.html b/doc/html/Messager_8h-source.html
index 8bb3da6..9ed3e99 100644
--- a/doc/html/Messager_8h-source.html
+++ b/doc/html/Messager_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -102,7 +102,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/MidiFileIn_8h-source.html b/doc/html/MidiFileIn_8h-source.html
index b975329..f7e017a 100644
--- a/doc/html/MidiFileIn_8h-source.html
+++ b/doc/html/MidiFileIn_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -87,7 +87,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/ModalBar_8h-source.html b/doc/html/ModalBar_8h-source.html
index 1f506ec..0c5e973 100644
--- a/doc/html/ModalBar_8h-source.html
+++ b/doc/html/ModalBar_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -42,7 +42,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Modal_8h-source.html b/doc/html/Modal_8h-source.html
index a268ca9..8717ce9 100644
--- a/doc/html/Modal_8h-source.html
+++ b/doc/html/Modal_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -81,7 +81,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Modulate_8h-source.html b/doc/html/Modulate_8h-source.html
index c99427a..bd8ad66 100644
--- a/doc/html/Modulate_8h-source.html
+++ b/doc/html/Modulate_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -55,7 +55,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Moog_8h-source.html b/doc/html/Moog_8h-source.html
index 8b0c32b..02343b4 100644
--- a/doc/html/Moog_8h-source.html
+++ b/doc/html/Moog_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -54,7 +54,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Mutex_8h-source.html b/doc/html/Mutex_8h-source.html
index 43de6b1..1083906 100644
--- a/doc/html/Mutex_8h-source.html
+++ b/doc/html/Mutex_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -63,7 +63,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/NRev_8h-source.html b/doc/html/NRev_8h-source.html
index 2068664..8e6d1a0 100644
--- a/doc/html/NRev_8h-source.html
+++ b/doc/html/NRev_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -49,7 +49,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Noise_8h-source.html b/doc/html/Noise_8h-source.html
index 764cd5e..33232f9 100644
--- a/doc/html/Noise_8h-source.html
+++ b/doc/html/Noise_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -44,7 +44,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/OnePole_8h-source.html b/doc/html/OnePole_8h-source.html
index 8b787ca..b465e50 100644
--- a/doc/html/OnePole_8h-source.html
+++ b/doc/html/OnePole_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -57,7 +57,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/OneZero_8h-source.html b/doc/html/OneZero_8h-source.html
index fdef7ee..5e240a9 100644
--- a/doc/html/OneZero_8h-source.html
+++ b/doc/html/OneZero_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -57,7 +57,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/PRCRev_8h-source.html b/doc/html/PRCRev_8h-source.html
index 6c09970..8f532de 100644
--- a/doc/html/PRCRev_8h-source.html
+++ b/doc/html/PRCRev_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -48,7 +48,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/PercFlut_8h-source.html b/doc/html/PercFlut_8h-source.html
index f902aab..fe96fe0 100644
--- a/doc/html/PercFlut_8h-source.html
+++ b/doc/html/PercFlut_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -41,7 +41,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Phonemes_8h-source.html b/doc/html/Phonemes_8h-source.html
index 704d709..2ab6779 100644
--- a/doc/html/Phonemes_8h-source.html
+++ b/doc/html/Phonemes_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -50,7 +50,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/PitShift_8h-source.html b/doc/html/PitShift_8h-source.html
index 21345cf..ed25ff3 100644
--- a/doc/html/PitShift_8h-source.html
+++ b/doc/html/PitShift_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -50,7 +50,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/PluckTwo_8h-source.html b/doc/html/PluckTwo_8h-source.html
index 6f170a7..8147abb 100644
--- a/doc/html/PluckTwo_8h-source.html
+++ b/doc/html/PluckTwo_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -70,7 +70,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Plucked_8h-source.html b/doc/html/Plucked_8h-source.html
index 2e46443..8317b89 100644
--- a/doc/html/Plucked_8h-source.html
+++ b/doc/html/Plucked_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -59,7 +59,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/PoleZero_8h-source.html b/doc/html/PoleZero_8h-source.html
index e83c2b7..d9117d6 100644
--- a/doc/html/PoleZero_8h-source.html
+++ b/doc/html/PoleZero_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -60,7 +60,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/ReedTable_8h-source.html b/doc/html/ReedTable_8h-source.html
index 3a48063..108d79b 100644
--- a/doc/html/ReedTable_8h-source.html
+++ b/doc/html/ReedTable_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -46,7 +46,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Resonate_8h-source.html b/doc/html/Resonate_8h-source.html
index ab76689..cd0bde8 100644
--- a/doc/html/Resonate_8h-source.html
+++ b/doc/html/Resonate_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -66,7 +66,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Rhodey_8h-source.html b/doc/html/Rhodey_8h-source.html
index a943d0d..a820ba3 100644
--- a/doc/html/Rhodey_8h-source.html
+++ b/doc/html/Rhodey_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -41,7 +41,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/RtAudio_8h-source.html b/doc/html/RtAudio_8h-source.html
index 3d67d17..11ae22d 100644
--- a/doc/html/RtAudio_8h-source.html
+++ b/doc/html/RtAudio_8h-source.html
@@ -6,618 +6,626 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
-
RtAudio.h 00001
- 00038
- 00039
- 00040
- 00041
- 00042 #ifndef __RTAUDIO_H
- 00043 #define __RTAUDIO_H
- 00044
- 00045 #include "RtError.h"
- 00046 #include <string>
- 00047 #include <vector>
- 00048
- 00049
- 00050 #if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__)
- 00051 #include <windows.h>
- 00052 #include <process.h>
+RtAudio.h Go to the documentation of this file. 00001
+ 00039
+ 00040
+ 00045
+ 00046
+ 00047 #ifndef __RTAUDIO_H
+ 00048 #define __RTAUDIO_H
+ 00049
+ 00050 #include <string>
+ 00051 #include <vector>
+ 00052 #include "RtError.h"
00053
- 00054 typedef unsigned long ThreadHandle;
- 00055 typedef CRITICAL_SECTION StreamMutex;
- 00056
- 00057 #else // Various unix flavors with pthread support.
- 00058 #include <pthread.h>
- 00059
- 00060 typedef pthread_t ThreadHandle;
- 00061 typedef pthread_mutex_t StreamMutex;
- 00062
- 00063 #endif
- 00064
- 00065
- 00066
- 00067
- 00068 struct CallbackInfo {
- 00069 void *object;
- 00070 ThreadHandle thread;
- 00071 bool usingCallback;
- 00072 void *callback;
- 00073 void *userData;
- 00074 void *apiInfo;
- 00075
- 00076
- 00077 CallbackInfo()
- 00078 :object(0), usingCallback(false), callback(0),
- 00079 userData(0), apiInfo(0) {}
- 00080 };
- 00081
- 00082
- 00083
- 00084
- 00085
- 00086
- 00087
- 00088 typedef unsigned long RtAudioFormat;
- 00089 static const RtAudioFormat RTAUDIO_SINT8 = 0x1;
- 00090 static const RtAudioFormat RTAUDIO_SINT16 = 0x2;
- 00091 static const RtAudioFormat RTAUDIO_SINT24 = 0x4;
- 00092 static const RtAudioFormat RTAUDIO_SINT32 = 0x8;
- 00093 static const RtAudioFormat RTAUDIO_FLOAT32 = 0x10;
- 00094 static const RtAudioFormat RTAUDIO_FLOAT64 = 0x20;
- 00096 typedef int (*RtAudioCallback)(char *buffer, int bufferSize, void *userData);
- 00097
-00099 struct RtAudioDeviceInfo {
-00100 std::string name ;
-00101 bool probed ;
-00102 int outputChannels ;
-00103 int inputChannels ;
-00104 int duplexChannels ;
-00105 bool isDefault ;
-00106 std::vector<int> sampleRates ;
-00107 RtAudioFormat nativeFormats ;
- 00109
- 00110 RtAudioDeviceInfo ()
- 00111 :probed (false), outputChannels (0), inputChannels (0),
- 00112 duplexChannels (0), isDefault (false), nativeFormats (0) {}
- 00113 };
- 00114
- 00115
- 00116
- 00117
- 00118
- 00119
- 00120
- 00121
- 00122
- 00123
- 00124
- 00125
- 00126 class RtApi
- 00127 {
- 00128 public :
- 00129
- 00130 enum StreamState {
- 00131 STREAM_STOPPED,
- 00132 STREAM_RUNNING
- 00133 };
- 00134
- 00135 RtApi();
- 00136 virtual ~RtApi();
- 00137 void openStream( int outputDevice, int outputChannels,
- 00138 int inputDevice, int inputChannels,
- 00139 RtAudioFormat format, int sampleRate,
- 00140 int *bufferSize, int numberOfBuffers );
- 00141 void openStream( int outputDevice, int outputChannels,
- 00142 int inputDevice, int inputChannels,
- 00143 RtAudioFormat format, int sampleRate,
- 00144 int *bufferSize, int *numberOfBuffers );
- 00145 virtual void setStreamCallback( RtAudioCallback callback, void *userData ) = 0;
- 00146 virtual void cancelStreamCallback() = 0;
- 00147 int getDeviceCount(void );
- 00148 RtAudioDeviceInfo getDeviceInfo( int device );
- 00149 char * const getStreamBuffer();
- 00150 RtApi::StreamState getStreamState() const ;
- 00151 virtual void tickStream() = 0;
- 00152 virtual void closeStream();
- 00153 virtual void startStream() = 0;
- 00154 virtual void stopStream() = 0;
- 00155 virtual void abortStream() = 0;
- 00156
- 00157 protected :
- 00158
- 00159 static const unsigned int MAX_SAMPLE_RATES;
- 00160 static const unsigned int SAMPLE_RATES[];
- 00161
- 00162 enum { FAILURE, SUCCESS };
- 00163
- 00164 enum StreamMode {
- 00165 OUTPUT,
- 00166 INPUT,
- 00167 DUPLEX,
- 00168 UNINITIALIZED = -75
- 00169 };
- 00170
- 00171
- 00172 struct ConvertInfo {
- 00173 int channels;
- 00174 int inJump, outJump;
- 00175 RtAudioFormat inFormat, outFormat;
- 00176 std::vector<int> inOffset;
- 00177 std::vector<int> outOffset;
- 00178 };
- 00179
- 00180
- 00181 struct RtApiStream {
- 00182 int device[2];
- 00183 void *apiHandle;
- 00184 StreamMode mode;
- 00185 StreamState state;
- 00186 char *userBuffer;
- 00187 char *deviceBuffer;
- 00188 bool doConvertBuffer[2];
- 00189 bool deInterleave[2];
- 00190 bool doByteSwap[2];
- 00191 int sampleRate;
- 00192 int bufferSize;
- 00193 int nBuffers;
- 00194 int nUserChannels[2];
- 00195 int nDeviceChannels[2];
- 00196 RtAudioFormat userFormat;
- 00197 RtAudioFormat deviceFormat[2];
- 00198 StreamMutex mutex;
- 00199 CallbackInfo callbackInfo;
- 00200 ConvertInfo convertInfo[2];
- 00201
- 00202 RtApiStream()
- 00203 :apiHandle(0), userBuffer(0), deviceBuffer(0) {}
- 00204 };
- 00205
- 00206
- 00207 struct RtApiDevice {
- 00208 std::string name;
- 00209 bool probed;
- 00210 void *apiDeviceId;
- 00211 int maxOutputChannels;
- 00212 int maxInputChannels;
- 00213 int maxDuplexChannels;
- 00214 int minOutputChannels;
- 00215 int minInputChannels;
- 00216 int minDuplexChannels;
- 00217 bool hasDuplexSupport;
- 00218 bool isDefault;
- 00219 std::vector<int> sampleRates;
- 00220 RtAudioFormat nativeFormats;
- 00222
- 00223 RtApiDevice()
- 00224 :probed(false), apiDeviceId(0), maxOutputChannels(0), maxInputChannels(0),
- 00225 maxDuplexChannels(0), minOutputChannels(0), minInputChannels(0),
- 00226 minDuplexChannels(0), isDefault(false), nativeFormats(0) {}
- 00227 };
- 00228
- 00229 typedef signed short Int16;
- 00230 typedef signed int Int32;
- 00231 typedef float Float32;
- 00232 typedef double Float64;
- 00233
- 00234 char message_[1024];
- 00235 int nDevices_;
- 00236 std::vector<RtApiDevice> devices_;
- 00237 RtApiStream stream_;
- 00238
- 00243 virtual void initialize(void ) = 0;
- 00244
- 00253 virtual void probeDeviceInfo( RtApiDevice *info );
- 00254
- 00263 virtual bool probeDeviceOpen( int device, StreamMode mode, int channels,
- 00264 int sampleRate, RtAudioFormat format,
- 00265 int *bufferSize, int numberOfBuffers );
- 00266
- 00271 virtual int getDefaultInputDevice(void );
- 00272
- 00277 virtual int getDefaultOutputDevice(void );
- 00278
- 00280 void clearDeviceInfo( RtApiDevice *info );
- 00281
- 00283 void clearStreamInfo();
- 00284
- 00286 void error( RtError::Type type );
- 00287
- 00292 void verifyStream();
+00070 typedef unsigned long RtAudioFormat ;
+ 00071 static const RtAudioFormat RTAUDIO_SINT8 = 0x1;
+ 00072 static const RtAudioFormat RTAUDIO_SINT16 = 0x2;
+ 00073 static const RtAudioFormat RTAUDIO_SINT24 = 0x4;
+ 00074 static const RtAudioFormat RTAUDIO_SINT32 = 0x8;
+ 00075 static const RtAudioFormat RTAUDIO_FLOAT32 = 0x10;
+ 00076 static const RtAudioFormat RTAUDIO_FLOAT64 = 0x20;
+ 00077
+00112 typedef unsigned int RtAudioStreamFlags ;
+ 00113 static const RtAudioStreamFlags RTAUDIO_NONINTERLEAVED = 0x1;
+ 00114 static const RtAudioStreamFlags RTAUDIO_MINIMIZE_LATENCY = 0x2;
+ 00115 static const RtAudioStreamFlags RTAUDIO_HOG_DEVICE = 0x4;
+ 00116
+00128 typedef unsigned int RtAudioStreamStatus ;
+ 00129 static const RtAudioStreamStatus RTAUDIO_INPUT_OVERFLOW = 0x1;
+ 00130 static const RtAudioStreamStatus RTAUDIO_OUTPUT_UNDERFLOW = 0x2;
+ 00131
+ 00133
+00171 typedef int (*RtAudioCallback )( void *outputBuffer, void *inputBuffer,
+ 00172 unsigned int nFrames,
+ 00173 double streamTime,
+ 00174 RtAudioStreamStatus status,
+ 00175 void *userData );
+ 00176
+ 00177
+ 00178
+ 00179
+ 00180
+ 00181
+ 00182
+ 00183
+ 00184
+ 00185
+ 00186
+ 00187
+ 00188
+ 00189
+ 00190
+ 00191 class RtApi;
+ 00192
+00193 class RtAudio
+ 00194 {
+ 00195 public :
+ 00196
+00198 enum Api {
+ 00199 UNSPECIFIED ,
+ 00200 LINUX_ALSA ,
+ 00201 LINUX_OSS ,
+ 00202 UNIX_JACK ,
+ 00203 MACOSX_CORE ,
+ 00204 WINDOWS_ASIO ,
+ 00205 WINDOWS_DS ,
+00206 RTAUDIO_DUMMY
+ 00207 };
+ 00208
+00210 struct DeviceInfo {
+00211 bool probed ;
+00212 std::string name ;
+00213 unsigned int outputChannels ;
+00214 unsigned int inputChannels ;
+00215 unsigned int duplexChannels ;
+00216 bool isDefaultOutput ;
+00217 bool isDefaultInput ;
+00218 std::vector<unsigned int> sampleRates ;
+00219 RtAudioFormat nativeFormats ;
+ 00221
+ 00222 DeviceInfo ()
+ 00223 :probed (false), outputChannels (0), inputChannels (0), duplexChannels (0),
+ 00224 isDefaultOutput (false), isDefaultInput (false), nativeFormats (0) {}
+ 00225 };
+ 00226
+00228 struct StreamParameters {
+00229 unsigned int deviceId ;
+00230 unsigned int nChannels ;
+00231 unsigned int firstChannel ;
+ 00233
+ 00234 StreamParameters ()
+ 00235 : deviceId (0), nChannels (0), firstChannel (0) {}
+ 00236 };
+ 00237
+ 00239
+00284 struct StreamOptions {
+00285 RtAudioStreamFlags flags ;
+00286 unsigned int numberOfBuffers ;
+00287 std::string streamName ;
+ 00289
+ 00290 StreamOptions ()
+ 00291 : flags (0), numberOfBuffers (0) {}
+ 00292 };
00293
- 00298 void convertBuffer( char *outBuffer, char *inBuffer, ConvertInfo &info );
- 00299
- 00301 void byteSwapBuffer( char *buffer, int samples, RtAudioFormat format );
- 00302
- 00304 int formatBytes( RtAudioFormat format );
- 00305 };
- 00306
- 00307
- 00308
- 00309
- 00310
- 00311
- 00312
- 00313
- 00314
- 00315
- 00316
- 00317
- 00318
- 00319
- 00320
-00321 class RtAudio
- 00322 {
- 00323 public :
+ 00295
+ 00300 static void getCompiledApi ( std::vector<RtAudio::Api> &apis ) throw ();
+ 00301
+ 00303
+ 00311 RtAudio ( RtAudio::Api api=UNSPECIFIED ) throw();
+ 00312
+ 00314
+ 00318 ~RtAudio () throw();
+ 00319
+ 00321 RtAudio ::Api getCurrentApi ( void ) throw();
+ 00322
00324
-00326 enum RtAudioApi {
- 00327 UNSPECIFIED ,
- 00328 LINUX_ALSA ,
- 00329 LINUX_OSS ,
- 00330 LINUX_JACK ,
- 00331 MACOSX_CORE ,
- 00332 IRIX_AL ,
- 00333 WINDOWS_ASIO ,
-00334 WINDOWS_DS
- 00335 };
- 00336
- 00338
- 00348 RtAudio ( RtAudioApi api=UNSPECIFIED );
- 00349
- 00351
- 00362 RtAudio ( int outputDevice, int outputChannels,
- 00363 int inputDevice, int inputChannels,
- 00364 RtAudioFormat format, int sampleRate,
- 00365 int *bufferSize, int numberOfBuffers, RtAudioApi api=UNSPECIFIED );
- 00366
- 00368
- 00376 RtAudio ( int outputDevice, int outputChannels,
- 00377 int inputDevice, int inputChannels,
- 00378 RtAudioFormat format, int sampleRate,
- 00379 int *bufferSize, int *numberOfBuffers, RtAudioApi api=UNSPECIFIED );
- 00380
- 00382
- 00386 ~RtAudio ();
- 00387
- 00389
- 00415 void openStream ( int outputDevice, int outputChannels,
- 00416 int inputDevice, int inputChannels,
- 00417 RtAudioFormat format, int sampleRate,
- 00418 int *bufferSize, int numberOfBuffers );
- 00419
- 00421
- 00429 void openStream ( int outputDevice, int outputChannels,
- 00430 int inputDevice, int inputChannels,
- 00431 RtAudioFormat format, int sampleRate,
- 00432 int *bufferSize, int *numberOfBuffers );
- 00433
- 00435
-00454 void setStreamCallback (RtAudioCallback callback, void *userData) { rtapi_->setStreamCallback( callback, userData ); };
+ 00329 unsigned int getDeviceCount ( void ) throw();
+ 00330
+ 00332
+ 00342 RtAudio ::DeviceInfo getDeviceInfo ( unsigned int device );
+ 00343
+ 00345
+ 00352 unsigned int getDefaultOutputDevice ( void ) throw();
+ 00353
+ 00355
+ 00362 unsigned int getDefaultInputDevice ( void ) throw();
+ 00363
+ 00365
+ 00402 void openStream ( RtAudio ::StreamParameters *outputParameters,
+ 00403 RtAudio ::StreamParameters *inputParameters,
+ 00404 RtAudioFormat format, unsigned int sampleRate,
+ 00405 unsigned int *bufferFrames, RtAudioCallback callback,
+ 00406 void *userData = NULL, RtAudio ::StreamOptions *options = NULL );
+ 00407
+ 00409
+ 00413 void closeStream ( void ) throw();
+ 00414
+ 00416
+ 00422 void startStream ( void );
+ 00423
+ 00425
+ 00431 void stopStream ( void );
+ 00432
+ 00434
+ 00440 void abortStream ( void );
+ 00441
+ 00443 bool isStreamOpen ( void ) throw();
+ 00444
+ 00446 bool isStreamRunning ( void ) throw();
+ 00447
+ 00449
+ 00452 double getStreamTime ( void );
+ 00453
00455
- 00457
-00464 void cancelStreamCallback () { rtapi_->cancelStreamCallback(); };
- 00465
-00467 int getDeviceCount (void ) { return rtapi_->getDeviceCount(); };
- 00468
- 00470
-00478 RtAudioDeviceInfo getDeviceInfo (int device) { return rtapi_->getDeviceInfo( device ); };
- 00479
+ 00463 long getStreamLatency ( void );
+ 00464
+ 00466 void showWarnings ( bool value = true ) throw();
+ 00467
+ 00468 protected:
+ 00469
+ 00470 void openRtApi( RtAudio ::Api api );
+ 00471 RtApi *rtapi_;
+ 00472 };
+ 00473
+ 00474
+ 00475 #if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__)
+ 00476 #include <windows.h>
+ 00477 #include <process.h>
+ 00478
+ 00479 typedef unsigned long ThreadHandle;
+ 00480 typedef CRITICAL_SECTION StreamMutex;
00481
-00486 char * const getStreamBuffer () { return rtapi_->getStreamBuffer(); };
- 00487
- 00489
-00494 void tickStream () { rtapi_->tickStream(); };
- 00495
- 00497
-00501 void closeStream () { rtapi_->closeStream(); };
- 00502
- 00504
-00508 void startStream () { rtapi_->startStream(); };
- 00509
- 00511
-00515 void stopStream () { rtapi_->stopStream(); };
- 00516
- 00518
-00522 void abortStream () { rtapi_->abortStream(); };
- 00523
- 00524
- 00525 protected :
+ 00482 #elif defined(__LINUX_ALSA__) || defined(__UNIX_JACK__) || defined(__LINUX_OSS__) || defined(__MACOSX_CORE__)
+ 00483
+ 00484 #include <pthread.h>
+ 00485
+ 00486 typedef pthread_t ThreadHandle;
+ 00487 typedef pthread_mutex_t StreamMutex;
+ 00488
+ 00489 #else
+ 00490
+ 00491 #define __RTAUDIO_DUMMY__
+ 00492 typedef int ThreadHandle;
+ 00493 typedef int StreamMutex;
+ 00494
+ 00495 #endif
+ 00496
+ 00497
+ 00498
+ 00499
+ 00500 struct CallbackInfo {
+ 00501 void *object;
+ 00502 ThreadHandle thread;
+ 00503 void *callback;
+ 00504 void *userData;
+ 00505 void *apiInfo;
+ 00506 bool isRunning;
+ 00507
+ 00508
+ 00509 CallbackInfo()
+ 00510 :object(0), callback(0), userData(0), apiInfo(0), isRunning(false) {}
+ 00511 };
+ 00512
+ 00513
+ 00514
+ 00515
+ 00516
+ 00517
+ 00518
+ 00519
+ 00520
+ 00521
+ 00522
+ 00523
+ 00524
+ 00525
00526
- 00527 void initialize( RtAudioApi api );
- 00528
- 00529 RtApi *rtapi_;
- 00530 };
- 00531
+ 00527 #if defined( HAVE_GETTIMEOFDAY )
+ 00528 #include <sys/time.h>
+ 00529 #endif
+ 00530
+ 00531 #include <sstream>
00532
- 00533
- 00534
- 00535 #if defined(__LINUX_ALSA__)
- 00536
- 00537 class RtApiAlsa: public RtApi
- 00538 {
- 00539 public :
- 00540
- 00541 RtApiAlsa();
- 00542 ~RtApiAlsa();
- 00543 void tickStream();
- 00544 void closeStream();
- 00545 void startStream();
- 00546 void stopStream();
- 00547 void abortStream();
- 00548 int streamWillBlock();
- 00549 void setStreamCallback( RtAudioCallback callback, void *userData );
- 00550 void cancelStreamCallback();
- 00551
- 00552 private :
- 00553
- 00554 void initialize(void );
- 00555 void probeDeviceInfo( RtApiDevice *info );
- 00556 bool probeDeviceOpen( int device, StreamMode mode, int channels,
- 00557 int sampleRate, RtAudioFormat format,
- 00558 int *bufferSize, int numberOfBuffers );
- 00559 };
- 00560
- 00561 #endif
- 00562
- 00563 #if defined(__LINUX_JACK__)
- 00564
- 00565 class RtApiJack: public RtApi
- 00566 {
- 00567 public :
- 00568
- 00569 RtApiJack();
- 00570 ~RtApiJack();
- 00571 void tickStream();
- 00572 void closeStream();
- 00573 void startStream();
- 00574 void stopStream();
- 00575 void abortStream();
- 00576 void setStreamCallback( RtAudioCallback callback, void *userData );
- 00577 void cancelStreamCallback();
- 00578
- 00579
- 00580
- 00581
- 00582 void callbackEvent( unsigned long nframes );
- 00583
- 00584 private :
- 00585
- 00586 void initialize(void );
- 00587 void probeDeviceInfo( RtApiDevice *info );
- 00588 bool probeDeviceOpen( int device, StreamMode mode, int channels,
- 00589 int sampleRate, RtAudioFormat format,
- 00590 int *bufferSize, int numberOfBuffers );
- 00591 };
- 00592
- 00593 #endif
- 00594
- 00595 #if defined(__LINUX_OSS__)
- 00596
- 00597 class RtApiOss: public RtApi
- 00598 {
- 00599 public :
- 00600
- 00601 RtApiOss();
- 00602 ~RtApiOss();
- 00603 void tickStream();
- 00604 void closeStream();
- 00605 void startStream();
- 00606 void stopStream();
- 00607 void abortStream();
- 00608 int streamWillBlock();
- 00609 void setStreamCallback( RtAudioCallback callback, void *userData );
- 00610 void cancelStreamCallback();
- 00611
- 00612 private :
- 00613
- 00614 void initialize(void );
- 00615 void probeDeviceInfo( RtApiDevice *info );
- 00616 bool probeDeviceOpen( int device, StreamMode mode, int channels,
- 00617 int sampleRate, RtAudioFormat format,
- 00618 int *bufferSize, int numberOfBuffers );
- 00619 };
- 00620
- 00621 #endif
- 00622
- 00623 #if defined(__MACOSX_CORE__)
- 00624
- 00625 #include <CoreAudio/AudioHardware.h>
- 00626
- 00627 class RtApiCore: public RtApi
- 00628 {
- 00629 public :
- 00630
- 00631 RtApiCore();
- 00632 ~RtApiCore();
- 00633 int getDefaultOutputDevice(void );
- 00634 int getDefaultInputDevice(void );
- 00635 void tickStream();
- 00636 void closeStream();
- 00637 void startStream();
- 00638 void stopStream();
- 00639 void abortStream();
- 00640 void setStreamCallback( RtAudioCallback callback, void *userData );
- 00641 void cancelStreamCallback();
- 00642
- 00643
- 00644
- 00645
- 00646
- 00647 void callbackEvent( AudioDeviceID deviceId, void *inData, void *outData );
- 00648
- 00649 private :
+ 00533 class RtApi
+ 00534 {
+ 00535 public :
+ 00536
+ 00537 RtApi();
+ 00538 virtual ~RtApi();
+ 00539 virtual RtAudio::Api getCurrentApi ( void ) = 0;
+ 00540 virtual unsigned int getDeviceCount ( void ) = 0;
+ 00541 virtual RtAudio::DeviceInfo getDeviceInfo ( unsigned int device ) = 0;
+ 00542 virtual unsigned int getDefaultInputDevice ( void );
+ 00543 virtual unsigned int getDefaultOutputDevice ( void );
+ 00544 void openStream ( RtAudio::StreamParameters *outputParameters,
+ 00545 RtAudio::StreamParameters *inputParameters,
+ 00546 RtAudioFormat format, unsigned int sampleRate,
+ 00547 unsigned int *bufferFrames, RtAudioCallback callback,
+ 00548 void *userData, RtAudio::StreamOptions *options );
+ 00549 virtual void closeStream ( void );
+ 00550 virtual void startStream ( void ) = 0;
+ 00551 virtual void stopStream ( void ) = 0;
+ 00552 virtual void abortStream ( void ) = 0;
+ 00553 long getStreamLatency ( void );
+ 00554 virtual double getStreamTime ( void );
+ 00555 bool isStreamOpen ( void ) { return stream_.state != STREAM_CLOSED; };
+ 00556 bool isStreamRunning ( void ) { return stream_.state == STREAM_RUNNING; };
+ 00557 void showWarnings ( bool value ) { showWarnings_ = value; };
+ 00558
+ 00559
+ 00560 protected :
+ 00561
+ 00562 static const unsigned int MAX_SAMPLE_RATES;
+ 00563 static const unsigned int SAMPLE_RATES[];
+ 00564
+ 00565 enum { FAILURE, SUCCESS };
+ 00566
+ 00567 enum StreamState {
+ 00568 STREAM_STOPPED,
+ 00569 STREAM_RUNNING,
+ 00570 STREAM_CLOSED = -50
+ 00571 };
+ 00572
+ 00573 enum StreamMode {
+ 00574 OUTPUT,
+ 00575 INPUT,
+ 00576 DUPLEX,
+ 00577 UNINITIALIZED = -75
+ 00578 };
+ 00579
+ 00580
+ 00581 struct ConvertInfo {
+ 00582 int channels;
+ 00583 int inJump, outJump;
+ 00584 RtAudioFormat inFormat, outFormat;
+ 00585 std::vector<int> inOffset;
+ 00586 std::vector<int> outOffset;
+ 00587 };
+ 00588
+ 00589
+ 00590 struct RtApiStream {
+ 00591 unsigned int device[2];
+ 00592 void *apiHandle;
+ 00593 StreamMode mode;
+ 00594 StreamState state;
+ 00595 char *userBuffer[2];
+ 00596 char *deviceBuffer;
+ 00597 bool doConvertBuffer[2];
+ 00598 bool userInterleaved;
+ 00599 bool deviceInterleaved[2];
+ 00600 bool doByteSwap[2];
+ 00601 unsigned int sampleRate;
+ 00602 unsigned int bufferSize;
+ 00603 unsigned int nBuffers;
+ 00604 unsigned int nUserChannels[2];
+ 00605 unsigned int nDeviceChannels[2];
+ 00606 unsigned int channelOffset[2];
+ 00607 unsigned long latency[2];
+ 00608 RtAudioFormat userFormat;
+ 00609 RtAudioFormat deviceFormat[2];
+ 00610 StreamMutex mutex;
+ 00611 CallbackInfo callbackInfo;
+ 00612 ConvertInfo convertInfo[2];
+ 00613 double streamTime;
+ 00614
+ 00615 #if defined(HAVE_GETTIMEOFDAY)
+ 00616 struct timeval lastTickTimestamp;
+ 00617 #endif
+ 00618
+ 00619 RtApiStream()
+ 00620 :apiHandle(0), deviceBuffer(0) {}
+ 00621 };
+ 00622
+ 00623 typedef signed short Int16;
+ 00624 typedef signed int Int32;
+ 00625 typedef float Float32;
+ 00626 typedef double Float64;
+ 00627
+ 00628 std::ostringstream errorStream_;
+ 00629 std::string errorText_;
+ 00630 bool showWarnings_;
+ 00631 RtApiStream stream_;
+ 00632
+ 00640 virtual bool probeDeviceOpen( unsigned int device, StreamMode mode, unsigned int channels,
+ 00641 unsigned int firstChannel, unsigned int sampleRate,
+ 00642 RtAudioFormat format, unsigned int *bufferSize,
+ 00643 RtAudio::StreamOptions *options );
+ 00644
+ 00646 void tickStreamTime( void );
+ 00647
+ 00649 void clearStreamInfo();
00650
- 00651 void initialize(void );
- 00652 void probeDeviceInfo( RtApiDevice *info );
- 00653 bool probeDeviceOpen( int device, StreamMode mode, int channels,
- 00654 int sampleRate, RtAudioFormat format,
- 00655 int *bufferSize, int numberOfBuffers );
- 00656 };
- 00657
- 00658 #endif
- 00659
- 00660 #if defined(__WINDOWS_DS__)
- 00661
- 00662 class RtApiDs: public RtApi
- 00663 {
- 00664 public :
+ 00655 void verifyStream( void );
+ 00656
+ 00658 void error( RtError::Type type );
+ 00659
+ 00664 void convertBuffer( char *outBuffer, char *inBuffer, ConvertInfo &info );
00665
- 00666 RtApiDs();
- 00667 ~RtApiDs();
- 00668 int getDefaultOutputDevice(void );
- 00669 int getDefaultInputDevice(void );
- 00670 void tickStream();
- 00671 void closeStream();
- 00672 void startStream();
- 00673 void stopStream();
- 00674 void abortStream();
- 00675 int streamWillBlock();
- 00676 void setStreamCallback( RtAudioCallback callback, void *userData );
- 00677 void cancelStreamCallback();
- 00678
- 00679 public :
- 00680
- 00681 struct RtDsStatistics {
- 00682
- 00683 long sampleRate;
- 00684
- 00685 int inputFrameSize;
- 00686
- 00687 int outputFrameSize;
- 00688
- 00689
- 00690
- 00691
- 00692
- 00693 int numberOfReadOverruns;
- 00694
- 00695 int numberOfWriteUnderruns;
- 00696
- 00697 int writeDeviceBufferLeadBytes;
- 00698
- 00699 unsigned long writeDeviceSafeLeadBytes;
- 00700
- 00701 unsigned long readDeviceSafeLeadBytes;
- 00702
- 00703
- 00704
- 00705
- 00706
- 00707
- 00708
- 00709
- 00710
- 00711
- 00712
- 00713
- 00714
- 00715
- 00716
- 00717
- 00718
- 00719
- 00720
- 00721 double latency;
- 00722 };
- 00723
- 00724 static RtDsStatistics getDsStatistics();
- 00725
- 00726 private :
+ 00667 void byteSwapBuffer( char *buffer, unsigned int samples, RtAudioFormat format );
+ 00668
+ 00670 unsigned int formatBytes( RtAudioFormat format );
+ 00671
+ 00673 void setConvertInfo( StreamMode mode, unsigned int firstChannel );
+ 00674 };
+ 00675
+ 00676
+ 00677
+ 00678
+ 00679
+ 00680
+ 00681
+00682 inline RtAudio::Api RtAudio :: getCurrentApi ( void ) throw() { return rtapi_->getCurrentApi(); };
+00683 inline unsigned int RtAudio :: getDeviceCount ( void ) throw() { return rtapi_->getDeviceCount(); };
+00684 inline RtAudio::DeviceInfo RtAudio :: getDeviceInfo ( unsigned int device ) { return rtapi_->getDeviceInfo( device ); };
+00685 inline unsigned int RtAudio :: getDefaultInputDevice ( void ) throw() { return rtapi_->getDefaultInputDevice(); };
+00686 inline unsigned int RtAudio :: getDefaultOutputDevice ( void ) throw() { return rtapi_->getDefaultOutputDevice(); };
+00687 inline void RtAudio :: closeStream ( void ) throw() { return rtapi_->closeStream(); };
+00688 inline void RtAudio :: startStream ( void ) { return rtapi_->startStream(); };
+00689 inline void RtAudio :: stopStream ( void ) { return rtapi_->stopStream(); };
+00690 inline void RtAudio :: abortStream ( void ) { return rtapi_->abortStream(); };
+00691 inline bool RtAudio :: isStreamOpen ( void ) throw() { return rtapi_->isStreamOpen(); };
+00692 inline bool RtAudio :: isStreamRunning ( void ) throw() { return rtapi_->isStreamRunning(); };
+00693 inline long RtAudio :: getStreamLatency ( void ) { return rtapi_->getStreamLatency(); };
+00694 inline double RtAudio :: getStreamTime ( void ) { return rtapi_->getStreamTime(); };
+00695 inline void RtAudio :: showWarnings ( bool value ) throw () { rtapi_->showWarnings( value ); };
+ 00696
+ 00697
+ 00698
+ 00699 #if defined(__MACOSX_CORE__)
+ 00700
+ 00701 #include <CoreAudio/AudioHardware.h>
+ 00702
+ 00703 class RtApiCore: public RtApi
+ 00704 {
+ 00705 public :
+ 00706
+ 00707 RtApiCore();
+ 00708 ~RtApiCore();
+ 00709 RtAudio::Api getCurrentApi( void ) { return RtAudio::MACOSX_CORE ; };
+ 00710 unsigned int getDeviceCount( void );
+ 00711 RtAudio::DeviceInfo getDeviceInfo( unsigned int device );
+ 00712 unsigned int getDefaultOutputDevice( void );
+ 00713 unsigned int getDefaultInputDevice( void );
+ 00714 void closeStream( void );
+ 00715 void startStream( void );
+ 00716 void stopStream( void );
+ 00717 void abortStream( void );
+ 00718 long getStreamLatency( void );
+ 00719
+ 00720
+ 00721
+ 00722
+ 00723
+ 00724 bool callbackEvent( AudioDeviceID deviceId,
+ 00725 const AudioBufferList *inBufferList,
+ 00726 const AudioBufferList *outBufferList );
00727
- 00728 void initialize(void );
- 00729 void probeDeviceInfo( RtApiDevice *info );
- 00730 bool probeDeviceOpen( int device, StreamMode mode, int channels,
- 00731 int sampleRate, RtAudioFormat format,
- 00732 int *bufferSize, int numberOfBuffers );
- 00733
- 00734 bool coInitialized;
- 00735 bool buffersRolling;
- 00736 long duplexPrerollBytes;
- 00737 static RtDsStatistics statistics;
- 00738
- 00739 };
- 00740
- 00741 #endif
- 00742
- 00743 #if defined(__WINDOWS_ASIO__)
- 00744
- 00745 class RtApiAsio: public RtApi
- 00746 {
- 00747 public :
- 00748
- 00749 RtApiAsio();
- 00750 ~RtApiAsio();
- 00751 void tickStream();
- 00752 void closeStream();
- 00753 void startStream();
- 00754 void stopStream();
- 00755 void abortStream();
- 00756 void setStreamCallback( RtAudioCallback callback, void *userData );
- 00757 void cancelStreamCallback();
- 00758
- 00759
- 00760
- 00761
- 00762
- 00763 void callbackEvent( long bufferIndex );
- 00764
- 00765 private :
- 00766
- 00767 void initialize(void );
- 00768 void probeDeviceInfo( RtApiDevice *info );
- 00769 bool probeDeviceOpen( int device, StreamMode mode, int channels,
- 00770 int sampleRate, RtAudioFormat format,
- 00771 int *bufferSize, int numberOfBuffers );
- 00772
- 00773 bool coInitialized;
- 00774
- 00775 };
- 00776
- 00777 #endif
- 00778
- 00779 #if defined(__IRIX_AL__)
- 00780
- 00781 class RtApiAl: public RtApi
- 00782 {
- 00783 public :
- 00784
- 00785 RtApiAl();
- 00786 ~RtApiAl();
- 00787 int getDefaultOutputDevice(void );
- 00788 int getDefaultInputDevice(void );
- 00789 void tickStream();
- 00790 void closeStream();
- 00791 void startStream();
- 00792 void stopStream();
- 00793 void abortStream();
- 00794 int streamWillBlock();
- 00795 void setStreamCallback( RtAudioCallback callback, void *userData );
- 00796 void cancelStreamCallback();
- 00797
- 00798 private :
- 00799
- 00800 void initialize(void );
- 00801 void probeDeviceInfo( RtApiDevice *info );
- 00802 bool probeDeviceOpen( int device, StreamMode mode, int channels,
- 00803 int sampleRate, RtAudioFormat format,
- 00804 int *bufferSize, int numberOfBuffers );
- 00805 };
- 00806
- 00807 #endif
- 00808
- 00809
- 00810
+ 00728 private :
+ 00729
+ 00730 bool probeDeviceOpen( unsigned int device, StreamMode mode, unsigned int channels,
+ 00731 unsigned int firstChannel, unsigned int sampleRate,
+ 00732 RtAudioFormat format, unsigned int *bufferSize,
+ 00733 RtAudio::StreamOptions *options );
+ 00734 static const char * getErrorCode( OSStatus code );
+ 00735 };
+ 00736
+ 00737 #endif
+ 00738
+ 00739 #if defined(__UNIX_JACK__)
+ 00740
+ 00741 class RtApiJack: public RtApi
+ 00742 {
+ 00743 public :
+ 00744
+ 00745 RtApiJack();
+ 00746 ~RtApiJack();
+ 00747 RtAudio::Api getCurrentApi( void ) { return RtAudio::UNIX_JACK ; };
+ 00748 unsigned int getDeviceCount( void );
+ 00749 RtAudio::DeviceInfo getDeviceInfo( unsigned int device );
+ 00750 void closeStream( void );
+ 00751 void startStream( void );
+ 00752 void stopStream( void );
+ 00753 void abortStream( void );
+ 00754 long getStreamLatency( void );
+ 00755
+ 00756
+ 00757
+ 00758
+ 00759
+ 00760 bool callbackEvent( unsigned long nframes );
+ 00761
+ 00762 private :
+ 00763
+ 00764 bool probeDeviceOpen( unsigned int device, StreamMode mode, unsigned int channels,
+ 00765 unsigned int firstChannel, unsigned int sampleRate,
+ 00766 RtAudioFormat format, unsigned int *bufferSize,
+ 00767 RtAudio::StreamOptions *options );
+ 00768 };
+ 00769
+ 00770 #endif
+ 00771
+ 00772 #if defined(__WINDOWS_ASIO__)
+ 00773
+ 00774 class RtApiAsio: public RtApi
+ 00775 {
+ 00776 public :
+ 00777
+ 00778 RtApiAsio();
+ 00779 ~RtApiAsio();
+ 00780 RtAudio::Api getCurrentApi( void ) { return RtAudio::WINDOWS_ASIO ; };
+ 00781 unsigned int getDeviceCount( void );
+ 00782 RtAudio::DeviceInfo getDeviceInfo( unsigned int device );
+ 00783 void closeStream( void );
+ 00784 void startStream( void );
+ 00785 void stopStream( void );
+ 00786 void abortStream( void );
+ 00787 long getStreamLatency( void );
+ 00788
+ 00789
+ 00790
+ 00791
+ 00792
+ 00793 bool callbackEvent( long bufferIndex );
+ 00794
+ 00795 private :
+ 00796
+ 00797 bool coInitialized_;
+ 00798 bool probeDeviceOpen( unsigned int device, StreamMode mode, unsigned int channels,
+ 00799 unsigned int firstChannel, unsigned int sampleRate,
+ 00800 RtAudioFormat format, unsigned int *bufferSize,
+ 00801 RtAudio::StreamOptions *options );
+ 00802 };
+ 00803
+ 00804 #endif
+ 00805
+ 00806 #if defined(__WINDOWS_DS__)
+ 00807
+ 00808 class RtApiDs: public RtApi
+ 00809 {
+ 00810 public :
00811
- 00812 #endif
+ 00812 RtApiDs();
+ 00813 ~RtApiDs();
+ 00814 RtAudio::Api getCurrentApi( void ) { return RtAudio::WINDOWS_DS ; };
+ 00815 unsigned int getDeviceCount( void );
+ 00816 unsigned int getDefaultOutputDevice( void );
+ 00817 unsigned int getDefaultInputDevice( void );
+ 00818 RtAudio::DeviceInfo getDeviceInfo( unsigned int device );
+ 00819 void closeStream( void );
+ 00820 void startStream( void );
+ 00821 void stopStream( void );
+ 00822 void abortStream( void );
+ 00823 long getStreamLatency( void );
+ 00824
+ 00825
+ 00826
+ 00827
+ 00828
+ 00829 void callbackEvent( void );
+ 00830
+ 00831 private :
+ 00832
+ 00833 bool coInitialized_;
+ 00834 bool buffersRolling;
+ 00835 long duplexPrerollBytes;
+ 00836 bool probeDeviceOpen( unsigned int device, StreamMode mode, unsigned int channels,
+ 00837 unsigned int firstChannel, unsigned int sampleRate,
+ 00838 RtAudioFormat format, unsigned int *bufferSize,
+ 00839 RtAudio::StreamOptions *options );
+ 00840 };
+ 00841
+ 00842 #endif
+ 00843
+ 00844 #if defined(__LINUX_ALSA__)
+ 00845
+ 00846 class RtApiAlsa: public RtApi
+ 00847 {
+ 00848 public :
+ 00849
+ 00850 RtApiAlsa();
+ 00851 ~RtApiAlsa();
+ 00852 RtAudio::Api getCurrentApi() { return RtAudio::LINUX_ALSA ; };
+ 00853 unsigned int getDeviceCount( void );
+ 00854 RtAudio::DeviceInfo getDeviceInfo( unsigned int device );
+ 00855 void closeStream( void );
+ 00856 void startStream( void );
+ 00857 void stopStream( void );
+ 00858 void abortStream( void );
+ 00859
+ 00860
+ 00861
+ 00862
+ 00863
+ 00864 void callbackEvent( void );
+ 00865
+ 00866 private :
+ 00867
+ 00868 bool probeDeviceOpen( unsigned int device, StreamMode mode, unsigned int channels,
+ 00869 unsigned int firstChannel, unsigned int sampleRate,
+ 00870 RtAudioFormat format, unsigned int *bufferSize,
+ 00871 RtAudio::StreamOptions *options );
+ 00872 };
+ 00873
+ 00874 #endif
+ 00875
+ 00876 #if defined(__LINUX_OSS__)
+ 00877
+ 00878 class RtApiOss: public RtApi
+ 00879 {
+ 00880 public :
+ 00881
+ 00882 RtApiOss();
+ 00883 ~RtApiOss();
+ 00884 RtAudio::Api getCurrentApi() { return RtAudio::LINUX_OSS ; };
+ 00885 unsigned int getDeviceCount( void );
+ 00886 RtAudio::DeviceInfo getDeviceInfo( unsigned int device );
+ 00887 void closeStream( void );
+ 00888 void startStream( void );
+ 00889 void stopStream( void );
+ 00890 void abortStream( void );
+ 00891
+ 00892
+ 00893
+ 00894
+ 00895
+ 00896 void callbackEvent( void );
+ 00897
+ 00898 private :
+ 00899
+ 00900 bool probeDeviceOpen( unsigned int device, StreamMode mode, unsigned int channels,
+ 00901 unsigned int firstChannel, unsigned int sampleRate,
+ 00902 RtAudioFormat format, unsigned int *bufferSize,
+ 00903 RtAudio::StreamOptions *options );
+ 00904 };
+ 00905
+ 00906 #endif
+ 00907
+ 00908 #if defined(__RTAUDIO_DUMMY__)
+ 00909
+ 00910 class RtApiDummy: public RtApi
+ 00911 {
+ 00912 public :
+ 00913
+ 00914 RtApiDummy() { errorText_ = "RtApiDummy: This class provides no functionality." ; error( WARNING ); };
+ 00915 RtAudio::Api getCurrentApi( void ) { return RtAudio::RTAUDIO_DUMMY ; };
+ 00916 unsigned int getDeviceCount( void ) { return 0; };
+ 00917 RtAudio::DeviceInfo getDeviceInfo( unsigned int device ) { RtAudio::DeviceInfo info; return info; };
+ 00918 void closeStream( void ) {};
+ 00919 void startStream( void ) {};
+ 00920 void stopStream( void ) {};
+ 00921 void abortStream( void ) {};
+ 00922
+ 00923 private :
+ 00924
+ 00925 bool probeDeviceOpen( unsigned int device, StreamMode mode, unsigned int channels,
+ 00926 unsigned int firstChannel, unsigned int sampleRate,
+ 00927 RtAudioFormat format, unsigned int *bufferSize,
+ 00928 RtAudio::StreamOptions *options ) { return false ; };
+ 00929 };
+ 00930
+ 00931 #endif
+ 00932
+ 00933 #endif
+ 00934
+ 00935
+ 00936
+ 00937
+ 00938
+ 00939
+ 00940
+ 00941
+ 00942
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/RtAudio_8h.html b/doc/html/RtAudio_8h.html
new file mode 100644
index 0000000..b475d18
--- /dev/null
+++ b/doc/html/RtAudio_8h.html
@@ -0,0 +1,180 @@
+
+
+
The Synthesis ToolKit in C++ (STK)
+
+
+
+
+
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
+
+
+
+
RtAudio.h File Reference Detailed Description
+
+
+
+
+Go to the source code of this file.
+
Typedef Documentation
+
+
+
+
+
+
+
+
+
+
+RtAudio data format type.
+
+Support for signed integers and floats. Audio data fed to/from an RtAudio stream is assumed to ALWAYS be in host byte order. The internal routines will automatically take care of any necessary byte-swapping between the host format and the soundcard. Thus, endian-ness is not a concern in the following format definitions.
+
+RTAUDIO_SINT8: 8-bit signed integer.RTAUDIO_SINT16: 16-bit signed integer.RTAUDIO_SINT24: Upper 3 bytes of 32-bit signed integer.RTAUDIO_SINT32: 32-bit signed integer.RTAUDIO_FLOAT32: Normalized between plus/minus 1.0.RTAUDIO_FLOAT64: Normalized between plus/minus 1.0.
+
+
+
+
+
+
+
+
+
+
+
+
+
+RtAudio stream option flags.
+
+The following flags can be OR'ed together to allow a client to make changes to the default stream behavior:
+
+RTAUDIO_NONINTERLEAVED: Use non-interleaved buffers (default = interleaved).RTAUDIO_MINIMIZE_LATENCY: Attempt to set stream parameters for lowest possible latency.RTAUDIO_HOG_DEVICE: Attempt grab device for exclusive use.
+
+By default, RtAudio streams pass and receive audio data from the client in an interleaved format. By passing the RTAUDIO_NONINTERLEAVED flag to the openStream() function, audio data will instead be presented in non-interleaved buffers. In this case, each buffer argument in the RtAudioCallback function will point to a single array of data, with nFrames samples for each channel concatenated back-to-back. For example, the first sample of data for the second channel would be located at index nFrames (assuming the buffer pointer was recast to the correct data type for the stream).
+Certain audio APIs offer a number of parameters that influence the I/O latency of a stream. By default, RtAudio will attempt to set these parameters internally for robust (glitch-free) performance (though some APIs, like Windows Direct Sound, make this difficult). By passing the RTAUDIO_MINIMIZE_LATENCY flag to the openStream() function, internal stream settings will be influenced in an attempt to minimize stream latency, though possibly at the expense of stream performance.
+If the RTAUDIO_HOG_DEVICE flag is set, RtAudio will attempt to open the input and/or output stream device(s) for exclusive use. Note that this is not possible with all supported audio APIs.
+
+
+
+
+
+
+
+
+
+
+
+
+RtAudio stream status (over- or underflow) flags.
+
+Notification of a stream over- or underflow is indicated by a non-zero stream status argument in the RtAudioCallback function. The stream status can be one of the following two options, depending on whether the stream is open for output and/or input:
+
+RTAUDIO_INPUT_OVERFLOW: Input data was discarded because of an overflow condition at the driver.RTAUDIO_OUTPUT_UNDERFLOW: The output buffer ran low, likely producing a break in the output sound.
+
+
+
+
+
+
+
+
+
+
+
+
+
+RtAudio callback function prototype.
+
+All RtAudio clients must create a function of type RtAudioCallback to read and/or write data from/to the audio stream. When the underlying audio system is ready for new input or output data, this function will be invoked.
+
Parameters:
+
+ outputBuffer For output (or duplex) streams, the client should write nFrames of audio sample frames into this buffer. This argument should be recast to the datatype specified when the stream was opened. For input-only streams, this argument will be NULL.
+ inputBuffer For input (or duplex) streams, this buffer will hold nFrames of input audio sample frames. This argument should be recast to the datatype specified when the stream was opened. For output-only streams, this argument will be NULL.
+ nFrames The number of sample frames of input or output data in the buffers. The actual buffer size in bytes is dependent on the data type and number of channels in use.
+ streamTime The number of seconds that have elapsed since the stream was started.
+ status If non-zero, this argument indicates a data overflow or underflow condition for the stream. The particular condition can be determined by comparison with the RtAudioStreamStatus flags.
+ userData A pointer to optional data provided by the client when opening the stream (default = NULL).
+
+
+To continue normal stream operation, the RtAudioCallback function should return a value of zero. To stop the stream and drain the output buffer, the function should return a value of one. To abort the stream immediately, the client should return a value of two.
+
+
+
+
+
+
+
+
diff --git a/doc/html/RtDuplex_8h-source.html b/doc/html/RtDuplex_8h-source.html
index f6f1f04..6968614 100644
--- a/doc/html/RtDuplex_8h-source.html
+++ b/doc/html/RtDuplex_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -70,7 +70,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/RtError_8h-source.html b/doc/html/RtError_8h-source.html
index 9b826cd..1ff3916 100644
--- a/doc/html/RtError_8h-source.html
+++ b/doc/html/RtError_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -17,42 +17,42 @@
00012
#ifndef RTERROR_H
00013
#define RTERROR_H
00014
-
00015
#include <iostream>
-
00016
#include <string>
-
00017
-
00018 class RtError
-
00019 {
-
00020
public :
-
00022 enum Type {
-
00023
WARNING ,
-
00024
DEBUG_WARNING ,
-
00025
UNSPECIFIED ,
-
00026
NO_DEVICES_FOUND ,
-
00027
INVALID_DEVICE ,
-
00028
INVALID_STREAM ,
-
00029
MEMORY_ERROR ,
-
00030
INVALID_PARAMETER ,
-
00031
DRIVER_ERROR ,
-
00032
SYSTEM_ERROR ,
-
00033 THREAD_ERROR
-
00034 };
-
00035
-
00036
protected :
-
00037 std::string message_;
-
00038
Type type_;
-
00039
-
00040
public :
-
00042 RtError (
const std::string& message,
Type type =
RtError::UNSPECIFIED ) : message_(message), type_(type) {}
-
00043
-
00045 virtual ~RtError (
void ) {};
-
00046
-
00048 virtual void printMessage (
void ) { std::cerr <<
'\n' << message_ <<
"\n\n" ; }
-
00049
-
00051 virtual const Type &
getType (
void ) {
return type_; }
-
00052
-
00054 virtual const std::string&
getMessage (
void ) {
return message_; }
-
00055
-
00057 virtual const char *
getMessageString (
void ) {
return message_.c_str(); }
+
00015
#include <exception>
+
00016
#include <iostream>
+
00017
#include <string>
+
00018
+
00019 class RtError :
public std::exception
+
00020 {
+
00021
public :
+
00023 enum Type {
+
00024
WARNING ,
+
00025
DEBUG_WARNING ,
+
00026
UNSPECIFIED ,
+
00027
NO_DEVICES_FOUND ,
+
00028
INVALID_DEVICE ,
+
00029
MEMORY_ERROR ,
+
00030
INVALID_PARAMETER ,
+
00031
INVALID_USE ,
+
00032
DRIVER_ERROR ,
+
00033
SYSTEM_ERROR ,
+
00034 THREAD_ERROR
+
00035 };
+
00036
+
00038 RtError (
const std::string& message,
Type type =
RtError::UNSPECIFIED ) throw() : message_(message), type_(type) {}
+
00039
+
00041 virtual ~RtError (
void ) throw() {}
+
00042
+
00044 virtual void printMessage (
void ) throw() { std::cerr <<
'\n' << message_ <<
"\n\n" ; }
+
00045
+
00047 virtual const Type &
getType (
void ) throw() {
return type_; }
+
00048
+
00050 virtual const std::string&
getMessage (
void ) throw() {
return message_; }
+
00051
+
00053 virtual const char *
what (
void ) const throw() {
return message_.c_str(); }
+
00054
+
00055
protected :
+
00056 std::string message_;
+
00057
Type type_;
00058 };
00059
00060
#endif
@@ -60,7 +60,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/RtMidi_8h-source.html b/doc/html/RtMidi_8h-source.html
index 5d71466..7ff2e27 100644
--- a/doc/html/RtMidi_8h-source.html
+++ b/doc/html/RtMidi_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -14,7 +14,7 @@
RtMidi.h 00001
00036
00037
- 00038
+ 00038
00039
00040 #ifndef RTMIDI_H
00041 #define RTMIDI_H
@@ -28,7 +28,7 @@
00049
00051 virtual void openPort ( unsigned int portNumber = 0 ) = 0;
00052
- 00054 virtual void openVirtualPort () = 0;
+ 00054 virtual void openVirtualPort ( const std::string portName = std::string( "RtMidi" ) ) = 0;
00055
00057 virtual unsigned int getPortCount () = 0;
00058
@@ -72,7 +72,7 @@
00122 void openPort ( unsigned int portNumber = 0 );
00123
00125
- 00131 void openVirtualPort ();
+ 00131 void openVirtualPort ( const std::string portName = std::string( "RtMidi Input" ) );
00132
00134
00140 void setCallback ( RtMidiCallback callback, void *userData = 0 );
@@ -151,12 +151,12 @@
00262 void closePort ();
00263
00265
- 00273 void openVirtualPort ();
+ 00273 void openVirtualPort ( const std::string portName = std::string( "RtMidi Output" ) );
00274
00276 unsigned int getPortCount ();
00277
00279
- 00282 std::string getPortName ( unsigned int portNumber );
+ 00282 std::string getPortName ( unsigned int portNumber = 0 );
00283
00285
00289 void sendMessage ( std::vector<unsigned char> *message );
@@ -171,7 +171,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/RtWvIn_8h-source.html b/doc/html/RtWvIn_8h-source.html
index 6cf3f47..df6b2e1 100644
--- a/doc/html/RtWvIn_8h-source.html
+++ b/doc/html/RtWvIn_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -18,41 +18,44 @@
00022
#define STK_RTWVIN_H
00023
00024
#include "WvIn.h"
-
00025
#include "RtAudio.h"
+
00025
#include "RtAudio.h "
00026
00027 class RtWvIn :
public WvIn
00028 {
00029
public :
00031
-
00042
RtWvIn (
unsigned int nChannels = 1, StkFloat
sampleRate =
Stk::sampleRate (),
-
00043
int device = 0,
int bufferFrames = RT_BUFFER_SIZE,
int nBuffers = 4 );
-
00044
-
00046
~RtWvIn ();
-
00047
-
00049
-
00053
void start (
void );
-
00054
-
00056
-
00060
void stop (
void );
-
00061
-
00062
protected :
-
00063
-
00064
void computeFrame(
void );
-
00065
-
00066
RtAudio *adc_;
-
00067 StkFloat *buffer_;
-
00068
bool stopped_;
-
00069
unsigned int bufferFrames_;
-
00070
unsigned int bufferIndex_;
-
00071
-
00072 };
-
00073
-
00074
#endif
+
00042
RtWvIn (
unsigned int nChannels = 1, StkFloat
sampleRate =
Stk::sampleRate (),
int device = 0,
int bufferFrames = RT_BUFFER_SIZE,
int nBuffers = 20 );
+
00043
+
00045
~RtWvIn ();
+
00046
+
00048
+
00052
void start (
void );
+
00053
+
00055
+
00059
void stop (
void );
+
00060
+
00061
+
00062
+
00063
void fillBuffer(
void *buffer,
unsigned int nFrames );
+
00064
+
00065
protected :
+
00066
+
00067
void computeFrame(
void );
+
00068
+
00069
RtAudio adc_;
+
00070
bool stopped_;
+
00071
unsigned int readIndex_;
+
00072
unsigned int writeIndex_;
+
00073
unsigned int framesFilled_;
+
00074
+
00075 };
+
00076
+
00077
#endif
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/RtWvOut_8h-source.html b/doc/html/RtWvOut_8h-source.html
index 6ae1a5f..130d165 100644
--- a/doc/html/RtWvOut_8h-source.html
+++ b/doc/html/RtWvOut_8h-source.html
@@ -6,7 +6,7 @@
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -18,48 +18,48 @@
00022
#define STK_RTWVOUT_H
00023
00024
#include "WvOut.h"
-
00025
#include "RtAudio.h"
+
00025
#include "RtAudio.h "
00026
00027 class RtWvOut :
public WvOut
00028 {
00029
public :
00030
00032
-
00043
RtWvOut (
unsigned int nChannels = 1, StkFloat
sampleRate =
Stk::sampleRate (),
-
00044
int device = 0,
int bufferFrames = RT_BUFFER_SIZE,
int nBuffers = 4 );
-
00045
-
00047
~RtWvOut ();
-
00048
-
00050
-
00054
void start (
void );
-
00055
-
00057
-
00061
void stop (
void );
-
00062
-
00063
protected :
-
00064
-
00065
void computeSample(
const StkFloat sample );
-
00066
-
00067
void computeFrames(
const StkFrames & frames );
-
00068
-
00069
void incrementFrame(
void );
+
00042
RtWvOut (
unsigned int nChannels = 1, StkFloat
sampleRate =
Stk::sampleRate (),
+
00043
int device = 0,
int bufferFrames = RT_BUFFER_SIZE,
int nBuffers = 20 );
+
00044
+
00046
~RtWvOut ();
+
00047
+
00049
+
00053
void start (
void );
+
00054
+
00056
+
00060
void stop (
void );
+
00061
+
00062
+
00063
+
00064
int readBuffer(
void *buffer,
unsigned int frameCount );
+
00065
+
00066
protected :
+
00067
+
00068
void computeSample(
const StkFloat sample );
+
00069
void computeFrames(
const StkFrames & frames );
00070
-
00071
RtAudio *dac_;
-
00072 StkFloat *buffer_;
-
00073
bool stopped_;
-
00074
unsigned int nChannels_;
-
00075
unsigned int bufferIndex_;
-
00076
unsigned int iBuffer_;
-
00077
unsigned int bufferFrames_;
-
00078
-
00079 };
-
00080
-
00081
#endif
+
00071
RtAudio dac_;
+
00072
bool stopped_;
+
00073
unsigned int readIndex_;
+
00074
unsigned int writeIndex_;
+
00075
long framesFilled_;
+
00076
unsigned int status_;
+
00077
+
00078 };
+
00079
+
00080
#endif
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/SKINI_8msg-source.html b/doc/html/SKINI_8msg-source.html
index c3f047b..313a3a7 100644
--- a/doc/html/SKINI_8msg-source.html
+++ b/doc/html/SKINI_8msg-source.html
@@ -142,7 +142,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -62,7 +62,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -72,7 +72,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -81,7 +81,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -65,7 +65,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -47,20 +47,21 @@
00069
protected :
00070
00071 StkFloat computeSample(
void );
-
00072
-
00073
static StkFrames table_;
-
00074 StkFloat time_;
-
00075 StkFloat rate_;
-
00076 StkFloat phaseOffset_;
-
00077
-
00078 };
-
00079
-
00080
#endif
+
00072
void sampleRateChanged( StkFloat newRate, StkFloat oldRate );
+
00073
+
00074
static StkFrames table_;
+
00075 StkFloat time_;
+
00076 StkFloat rate_;
+
00077 StkFloat phaseOffset_;
+
00078
+
00079 };
+
00080
+
00081
#endif
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -71,7 +71,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -62,7 +62,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -88,7 +88,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -79,7 +79,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -64,7 +64,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -76,7 +76,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Stk.h 00001
- 00013
- 00014
- 00015 #ifndef STK_STK_H
- 00016 #define STK_STK_H
- 00017
- 00018 #include <string>
- 00019 #include <iostream>
- 00020 #include <sstream>
- 00021
- 00022
- 00023
- 00024
- 00025
- 00026 typedef double StkFloat;
- 00027
- 00028
- 00029
- 00030
- 00031 #if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__)
- 00032 typedef StkFloat MY_FLOAT;
- 00033 #pragma deprecated(MY_FLOAT)
- 00034 #elif defined(__GXX__)
- 00035 typedef StkFloat MY_FLOAT __attribute__ ((deprecated));
- 00036 #else
- 00037 typedef StkFloat MY_FLOAT;
- 00038 #endif
- 00039
- 00040
- 00042
-00047 class StkError
- 00048 {
- 00049 public :
- 00050 enum Type {
- 00051 STATUS,
- 00052 WARNING,
- 00053 DEBUG_WARNING,
- 00054 MEMORY_ALLOCATION,
- 00055 MEMORY_ACCESS,
- 00056 FUNCTION_ARGUMENT,
- 00057 FILE_NOT_FOUND,
- 00058 FILE_UNKNOWN_FORMAT,
- 00059 FILE_ERROR,
- 00060 PROCESS_THREAD,
- 00061 PROCESS_SOCKET,
- 00062 PROCESS_SOCKET_IPADDR,
- 00063 AUDIO_SYSTEM,
- 00064 MIDI_SYSTEM,
- 00065 UNSPECIFIED
- 00066 };
- 00067
- 00068 protected :
- 00069 std::string message_;
- 00070 Type type_;
- 00071
- 00072 public :
-00074 StkError (const std::string& message, Type type = StkError::UNSPECIFIED)
- 00075 : message_(message), type_(type) {}
- 00076
-00078 virtual ~StkError (void ) {};
+ 00037
+ 00038
+ 00039 #ifndef STK_STK_H
+ 00040 #define STK_STK_H
+ 00041
+ 00042 #include <string>
+ 00043 #include <iostream>
+ 00044 #include <sstream>
+ 00045 #include <vector>
+ 00046
+ 00047
+ 00048
+ 00049
+ 00050
+ 00051 typedef double StkFloat;
+ 00052
+ 00054
+00059 class StkError
+ 00060 {
+ 00061 public :
+ 00062 enum Type {
+ 00063 STATUS,
+ 00064 WARNING,
+ 00065 DEBUG_WARNING,
+ 00066 MEMORY_ALLOCATION,
+ 00067 MEMORY_ACCESS,
+ 00068 FUNCTION_ARGUMENT,
+ 00069 FILE_NOT_FOUND,
+ 00070 FILE_UNKNOWN_FORMAT,
+ 00071 FILE_ERROR,
+ 00072 PROCESS_THREAD,
+ 00073 PROCESS_SOCKET,
+ 00074 PROCESS_SOCKET_IPADDR,
+ 00075 AUDIO_SYSTEM,
+ 00076 MIDI_SYSTEM,
+ 00077 UNSPECIFIED
+ 00078 };
00079
-00081 virtual void printMessage (void ) { std::cerr << '\n' << message_ << "\n\n" ; }
- 00082
-00084 virtual const Type& getType (void ) { return type_; }
- 00085
-00087 virtual const std::string& getMessage (void ) { return message_; }
+ 00080 protected :
+ 00081 std::string message_;
+ 00082 Type type_;
+ 00083
+ 00084 public :
+00086 StkError (const std::string& message, Type type = StkError::UNSPECIFIED)
+ 00087 : message_(message), type_(type) {}
00088
-00090 virtual const char *getMessageCString (void ) { return message_.c_str(); }
- 00091 };
- 00092
- 00093
-00094 class Stk
- 00095 {
- 00096 public :
+00090 virtual ~StkError (void ) {};
+ 00091
+00093 virtual void printMessage (void ) { std::cerr << '\n' << message_ << "\n\n" ; }
+ 00094
+00096 virtual const Type& getType (void ) { return type_; }
00097
- 00098 typedef unsigned long StkFormat;
-00099 static const StkFormat STK_SINT8 ;
-00100 static const StkFormat STK_SINT16 ;
-00101 static const StkFormat STK_SINT24 ;
-00102 static const StkFormat STK_SINT32 ;
-00103 static const StkFormat STK_FLOAT32 ;
-00104 static const StkFormat STK_FLOAT64 ;
- 00106
-00107 static StkFloat sampleRate (void ) { return srate_; }
- 00108
- 00110
-00118 static void setSampleRate (StkFloat rate) { if (rate > 0.0) srate_ = rate; }
- 00119
-00121 static std::string rawwavePath (void ) { return rawwavepath_; }
+00099 virtual const std::string& getMessage (void ) { return message_; }
+ 00100
+00102 virtual const char *getMessageCString (void ) { return message_.c_str(); }
+ 00103 };
+ 00104
+ 00105
+00106 class Stk
+ 00107 {
+ 00108 public :
+ 00109
+ 00110 typedef unsigned long StkFormat;
+00111 static const StkFormat STK_SINT8 ;
+00112 static const StkFormat STK_SINT16 ;
+00113 static const StkFormat STK_SINT24 ;
+00114 static const StkFormat STK_SINT32 ;
+00115 static const StkFormat STK_FLOAT32 ;
+00116 static const StkFormat STK_FLOAT64 ;
+ 00118
+00119 static StkFloat sampleRate ( void ) { return srate_; }
+ 00120
00122
- 00124 static void setRawwavePath (std::string path);
- 00125
- 00127 static void swap16 (unsigned char *ptr);
- 00128
- 00130 static void swap32 (unsigned char *ptr);
- 00131
- 00133 static void swap64 (unsigned char *ptr);
- 00134
- 00136 static void sleep (unsigned long milliseconds);
- 00137
- 00139 static void handleError ( const char *message, StkError::Type type );
+ 00139 static void setSampleRate ( StkFloat rate );
00140
- 00142 static void handleError ( std::string message, StkError::Type type );
- 00143
-00145 static void showWarnings ( bool status ) { showWarnings_ = status; }
- 00146
-00148 static void printErrors ( bool status ) { printErrors_ = status; }
- 00149
- 00150 private :
- 00151 static StkFloat srate_;
- 00152 static std::string rawwavepath_;
- 00153 static bool showWarnings_;
- 00154 static bool printErrors_;
- 00155
- 00156 protected :
+ 00142
+00147 void ignoreSampleRateChange ( bool ignore = true ) { ignoreSampleRateChange_ = ignore; };
+ 00148
+00150 static std::string rawwavePath (void ) { return rawwavepath_; }
+ 00151
+ 00153 static void setRawwavePath ( std::string path );
+ 00154
+ 00156 static void swap16 ( unsigned char *ptr );
00157
- 00158 std::ostringstream errorString_;
- 00159
- 00161 Stk (void );
- 00162
- 00164 virtual ~Stk (void );
- 00165
- 00167 void handleError ( StkError::Type type );
- 00168 };
+ 00159 static void swap32 ( unsigned char *ptr );
+ 00160
+ 00162 static void swap64 ( unsigned char *ptr );
+ 00163
+ 00165 static void sleep ( unsigned long milliseconds );
+ 00166
+ 00168 static void handleError ( const char *message, StkError::Type type );
00169
- 00170
- 00171
- 00186
+ 00171 static void handleError ( std::string message, StkError::Type type );
+ 00172
+00174 static void showWarnings ( bool status ) { showWarnings_ = status; }
+ 00175
+00177 static void printErrors ( bool status ) { printErrors_ = status; }
+ 00178
+ 00179 private :
+ 00180 static StkFloat srate_;
+ 00181 static std::string rawwavepath_;
+ 00182 static bool showWarnings_;
+ 00183 static bool printErrors_;
+ 00184 static std::vector<Stk *> alertList_;
+ 00185
+ 00186 protected :
00187
-00188 class StkFrames
- 00189 {
- 00190 public :
- 00191
- 00193 StkFrames ( unsigned int nFrames = 0, unsigned int nChannels = 0, bool interleaved = true );
- 00194
- 00196 StkFrames ( const StkFloat& value, unsigned int nFrames, unsigned int nChannels, bool interleaved = true );
- 00197
- 00199 ~StkFrames ();
- 00200
+ 00188 std::ostringstream errorString_;
+ 00189 bool ignoreSampleRateChange_;
+ 00190
+ 00192 Stk ( void );
+ 00193
+ 00195 virtual ~Stk ( void );
+ 00196
+ 00198 virtual void sampleRateChanged ( StkFloat newRate, StkFloat oldRate );
+ 00199
+ 00201 void addSampleRateAlert ( Stk *ptr );
00202
- 00208 StkFloat& operator[] ( size_t n );
+ 00204 void removeSampleRateAlert ( Stk *ptr );
+ 00205
+ 00207 void handleError ( StkError::Type type );
+ 00208 };
00209
- 00211
- 00215 StkFloat operator[] ( size_t n ) const ;
- 00216
- 00218
- 00225 StkFloat& operator() ( size_t frame, unsigned int channel );
- 00226
- 00228
- 00233 StkFloat operator() ( size_t frame, unsigned int channel ) const ;
+ 00210
+ 00211
+ 00226
+ 00227
+00228 class StkFrames
+ 00229 {
+ 00230 public :
+ 00231
+ 00233 StkFrames ( unsigned int nFrames = 0, unsigned int nChannels = 0, bool interleaved = true );
00234
- 00236
- 00242 StkFloat interpolate ( StkFloat frame, unsigned int channel = 0 ) const ;
- 00243
-00245 size_t size () const { return size_; };
- 00246
- 00248 bool empty () const ;
+ 00236 StkFrames ( const StkFloat& value, unsigned int nFrames, unsigned int nChannels, bool interleaved = true );
+ 00237
+ 00239 ~StkFrames ();
+ 00240
+ 00242
+ 00248 StkFloat& operator[] ( size_t n );
00249
00251
- 00258 void resize ( size_t nFrames, unsigned int nChannels = 1 );
- 00259
- 00261
- 00268 void resize ( size_t nFrames, unsigned int nChannels, StkFloat value );
- 00269
-00271 unsigned int channels ( void ) const { return nChannels_; };
- 00272
-00274 unsigned int frames ( void ) const { return nFrames_; };
- 00275
- 00277
-00281 void setDataRate ( StkFloat rate ) { dataRate_ = rate; };
- 00282
- 00284
-00288 StkFloat dataRate ( void ) const { return dataRate_; };
+ 00255 StkFloat operator[] ( size_t n ) const ;
+ 00256
+ 00258
+ 00265 StkFloat& operator() ( size_t frame, unsigned int channel );
+ 00266
+ 00268
+ 00273 StkFloat operator() ( size_t frame, unsigned int channel ) const ;
+ 00274
+ 00276
+ 00282 StkFloat interpolate ( StkFloat frame, unsigned int channel = 0 ) const ;
+ 00283
+00285 size_t size () const { return size_; };
+ 00286
+ 00288 bool empty () const ;
00289
-00291 bool interleaved ( void ) const { return interleaved_; };
- 00292
- 00294
-00299 void setInterleaved ( bool isInterleaved ) { interleaved_ = isInterleaved; };
- 00300
- 00301 private :
- 00302
- 00303 StkFloat *data_;
- 00304 StkFloat dataRate_;
- 00305 size_t nFrames_;
- 00306 unsigned int nChannels_;
- 00307 size_t size_;
- 00308 size_t bufferSize_;
- 00309 bool interleaved_;
- 00310
- 00311 };
+ 00291
+ 00298 void resize ( size_t nFrames, unsigned int nChannels = 1 );
+ 00299
+ 00301
+ 00308 void resize ( size_t nFrames, unsigned int nChannels, StkFloat value );
+ 00309
+00311 unsigned int channels ( void ) const { return nChannels_; };
00312
- 00313
- 00314
- 00315 typedef unsigned short UINT16;
- 00316 typedef unsigned int UINT32;
- 00317 typedef signed short SINT16;
- 00318 typedef signed int SINT32;
- 00319 typedef float FLOAT32;
- 00320 typedef double FLOAT64;
- 00321
- 00322
- 00323 const StkFloat SRATE = 44100.0;
+00314 unsigned int frames ( void ) const { return nFrames_; };
+ 00315
+ 00317
+00321 void setDataRate ( StkFloat rate ) { dataRate_ = rate; };
+ 00322
00324
- 00325
- 00326
- 00327
- 00328
- 00329 const unsigned int RT_BUFFER_SIZE = 512;
- 00330
- 00331
- 00332
- 00333
- 00334
- 00335
- 00336
- 00337
- 00338
- 00339
- 00340 #if !defined(RAWWAVE_PATH)
- 00341 #define RAWWAVE_PATH "../../rawwaves/"
- 00342 #endif
- 00343
- 00344 const StkFloat PI = 3.14159265358979;
- 00345 const StkFloat TWO_PI = 2 * PI;
- 00346 const StkFloat ONE_OVER_128 = 0.0078125;
- 00347
- 00348 #if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__) || defined(__WINDOWS_MM__)
- 00349 #define __OS_WINDOWS__
- 00350 #define __STK_REALTIME__
- 00351 #elif defined(__LINUX_OSS__) || defined(__LINUX_ALSA__) || defined(__LINUX_JACK__)
- 00352 #define __OS_LINUX__
- 00353 #define __STK_REALTIME__
- 00354 #elif defined(__IRIX_AL__)
- 00355 #define __OS_IRIX__
- 00356 #define __STK_REALTIME__
- 00357 #elif defined(__MACOSX_CORE__)
- 00358 #define __OS_MACOSX__
- 00359 #define __STK_REALTIME__
- 00360 #endif
- 00361
- 00362
- 00363
- 00364 #endif
+00328 StkFloat dataRate ( void ) const { return dataRate_; };
+ 00329
+00331 bool interleaved ( void ) const { return interleaved_; };
+ 00332
+ 00334
+00339 void setInterleaved ( bool isInterleaved ) { interleaved_ = isInterleaved; };
+ 00340
+ 00341 private :
+ 00342
+ 00343 StkFloat *data_;
+ 00344 StkFloat dataRate_;
+ 00345 size_t nFrames_;
+ 00346 unsigned int nChannels_;
+ 00347 size_t size_;
+ 00348 size_t bufferSize_;
+ 00349 bool interleaved_;
+ 00350
+ 00351 };
+ 00352
+ 00353
+ 00354
+ 00355 typedef unsigned short UINT16;
+ 00356 typedef unsigned int UINT32;
+ 00357 typedef signed short SINT16;
+ 00358 typedef signed int SINT32;
+ 00359 typedef float FLOAT32;
+ 00360 typedef double FLOAT64;
+ 00361
+ 00362
+ 00363 const StkFloat SRATE = 44100.0;
+ 00364
+ 00365
+ 00366
+ 00367
+ 00368
+ 00369 const unsigned int RT_BUFFER_SIZE = 512;
+ 00370
+ 00371
+ 00372
+ 00373
+ 00374
+ 00375
+ 00376
+ 00377
+ 00378
+ 00379
+ 00380 #if !defined(RAWWAVE_PATH)
+ 00381 #define RAWWAVE_PATH "../../rawwaves/"
+ 00382 #endif
+ 00383
+ 00384 const StkFloat PI = 3.14159265358979;
+ 00385 const StkFloat TWO_PI = 2 * PI;
+ 00386 const StkFloat ONE_OVER_128 = 0.0078125;
+ 00387
+ 00388 #if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__) || defined(__WINDOWS_MM__)
+ 00389 #define __OS_WINDOWS__
+ 00390 #define __STK_REALTIME__
+ 00391 #elif defined(__LINUX_OSS__) || defined(__LINUX_ALSA__) || defined(__UNIX_JACK__)
+ 00392 #define __OS_LINUX__
+ 00393 #define __STK_REALTIME__
+ 00394 #elif defined(__IRIX_AL__)
+ 00395 #define __OS_IRIX__
+ 00396 #elif defined(__MACOSX_CORE__) || defined(__UNIX_JACK__)
+ 00397 #define __OS_MACOSX__
+ 00398 #define __STK_REALTIME__
+ 00399 #endif
+ 00400
+ 00401
+ 00402
+ 00403 #endif
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -45,7 +45,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -43,7 +43,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -43,7 +43,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -68,7 +68,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -39,7 +39,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -27,36 +27,42 @@
00026
00028
~TwoPole ();
00029
-
00031
void clear (
void );
+
00031 void ignoreSampleRateChange (
bool ignore =
true ) { ignoreSampleRateChange_ = ignore; };
00032
-
00034
void setB0 (StkFloat b0);
+
00034
void clear (
void );
00035
-
00037
void setA1 (StkFloat a1);
+
00037
void setB0 (StkFloat b0);
00038
-
00040
void setA2 (StkFloat a2);
+
00040
void setA1 (StkFloat a1);
00041
-
00043
-
00056
void setResonance (StkFloat frequency, StkFloat radius,
bool normalize =
false );
-
00057
-
00059
-
00063
void setGain (StkFloat gain);
-
00064
-
00066 StkFloat
getGain (
void )
const ;
+
00043
void setA2 (StkFloat a2);
+
00044
+
00046
+
00059
void setResonance (StkFloat frequency, StkFloat radius,
bool normalize =
false );
+
00060
+
00062
+
00066
void setGain (StkFloat gain);
00067
-
00069 StkFloat
lastOut (
void )
const ;
+
00069 StkFloat
getGain (
void )
const ;
00070
-
00072 StkFloat
tick (StkFloat sample);
+
00072 StkFloat
lastOut (
void )
const ;
00073
-
00075
-
00081
StkFrames &
tick (
StkFrames & frames,
unsigned int channel = 0 );
-
00082 };
-
00083
-
00084
#endif
+
00075 StkFloat
tick (StkFloat sample);
+
00076
+
00078
+
00084
StkFrames &
tick (
StkFrames & frames,
unsigned int channel = 0 );
+
00085
+
00086
protected :
+
00087
+
00088
virtual void sampleRateChanged( StkFloat newRate, StkFloat oldRate );
+
00089 };
+
00090
+
00091
#endif
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -26,36 +26,42 @@
00025
00027
~TwoZero ();
00028
-
00030
void clear (
void );
+
00030 void ignoreSampleRateChange (
bool ignore =
true ) { ignoreSampleRateChange_ = ignore; };
00031
-
00033
void setB0 (StkFloat b0);
+
00033
void clear (
void );
00034
-
00036
void setB1 (StkFloat b1);
+
00036
void setB0 (StkFloat b0);
00037
-
00039
void setB2 (StkFloat b2);
+
00039
void setB1 (StkFloat b1);
00040
-
00042
-
00052
void setNotch (StkFloat frequency, StkFloat radius);
-
00053
-
00055
-
00059
void setGain (StkFloat gain);
-
00060
-
00062 StkFloat
getGain (
void )
const ;
+
00042
void setB2 (StkFloat b2);
+
00043
+
00045
+
00055
void setNotch (StkFloat frequency, StkFloat radius);
+
00056
+
00058
+
00062
void setGain (StkFloat gain);
00063
-
00065 StkFloat
lastOut (
void )
const ;
+
00065 StkFloat
getGain (
void )
const ;
00066
-
00068 StkFloat
tick (StkFloat sample);
+
00068 StkFloat
lastOut (
void )
const ;
00069
-
00071
-
00077
StkFrames &
tick (
StkFrames & frames,
unsigned int channel = 0 );
-
00078 };
-
00079
-
00080
#endif
+
00071 StkFloat
tick (StkFloat sample);
+
00072
+
00074
+
00080
StkFrames &
tick (
StkFrames & frames,
unsigned int channel = 0 );
+
00081
+
00082
protected :
+
00083
+
00084
virtual void sampleRateChanged( StkFloat newRate, StkFloat oldRate );
+
00085 };
+
00086
+
00087
#endif
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -52,7 +52,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -54,7 +54,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -75,7 +75,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -100,7 +100,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -49,18 +49,19 @@
00083
protected :
00084
00085
virtual void computeFrame(
void );
-
00086
-
00087
StkFrames firstFrame_;
-
00088 StkFloat phaseOffset_;
-
00089
-
00090 };
-
00091
-
00092
#endif
+
00086
virtual void sampleRateChanged( StkFloat newRate, StkFloat oldRate );
+
00087
+
00088
StkFrames firstFrame_;
+
00089 StkFloat phaseOffset_;
+
00090
+
00091 };
+
00092
+
00093
#endif
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -76,7 +76,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -41,7 +41,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -61,7 +61,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
@@ -68,7 +68,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
STK Class List Here are the classes, structs, unions and interfaces with brief descriptions:
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
ADSR Member List This is the complete list of members for ADSR , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
ADSR (void)ADSR
Envelope (void)Envelope
Envelope (const Envelope &e)Envelope
@@ -17,13 +18,15 @@
getState (void) const ADSR [virtual]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
keyOff (void)ADSR [virtual]
keyOn (void)ADSR [virtual]
lastOut (void) const Generator [inline, virtual]
operator= (const Envelope &e)Envelope
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
setAllTimes (StkFloat aTime, StkFloat dTime, StkFloat sLevel, StkFloat rTime)ADSR
setAttackRate (StkFloat rate)ADSR
@@ -34,7 +37,7 @@
setRawwavePath (std::string path)Stk [static]
setReleaseRate (StkFloat rate)ADSR
setReleaseTime (StkFloat time)ADSR
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setSustainLevel (StkFloat level)ADSR
setTarget (StkFloat target)ADSR [virtual]
setTime (StkFloat time)Envelope
@@ -61,7 +64,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
ADSR Class Reference #include <ADSR.h >
@@ -22,7 +22,7 @@
STK ADSR envelope class.
This Envelope subclass implements a traditional ADSR (Attack, Decay, Sustain, Release) envelope. It responds to simple keyOn and keyOff messages, keeping track of its state. The state = ADSR::DONE after the envelope value reaches 0.0 in the ADSR::RELEASE state.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -98,7 +98,7 @@ void The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Asymp Member List This is the complete list of members for Asymp , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
Asymp (void)Asymp
Envelope (void)Envelope
Envelope (const Envelope &e)Envelope
@@ -17,17 +18,19 @@
getState (void) const Envelope [virtual]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
keyOff (void)Asymp [virtual]
keyOn (void)Asymp [virtual]
lastOut (void) const Generator [inline, virtual]
operator= (const Envelope &e)Envelope
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
setRate (StkFloat rate)Envelope
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setTarget (StkFloat target)Asymp [virtual]
setTau (StkFloat tau)Asymp
setTime (StkFloat time)Asymp
@@ -54,7 +57,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Asymp Class Reference #include <Asymp.h >
@@ -24,7 +24,7 @@ STK asymptotic curve envelope class.
This class implements a simple envelope generator which asymptotically approaches a target value. The algorithm used is of the form:
x[n] = a x[n-1] + (1-a) target,
where a = exp(-T/tau), T is the sample period, and tau is a time constant. The user can set the time constant (default value = 0.3) and target value. Theoretically, this recursion never reaches its target, though the calculations in this class are stopped when the current value gets within a small threshold value of the target (at which time the current value is set to the target). It responds to keyOn and keyOff messages by ramping to 1.0 on keyOn and to 0.0 on keyOff.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -94,7 +94,7 @@ The rate is computed as described above. The value of tau must be great
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BandedWG Member List This is the complete list of members for BandedWG , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
BandedWG ()BandedWG
clear ()BandedWG
controlChange (int number, StkFloat value)BandedWG [virtual]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
lastOut () const Instrmnt
lastOutLeft () const Instrmnt
@@ -25,11 +27,13 @@
pluck (StkFloat amp)BandedWG
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setFrequency (StkFloat frequency)BandedWG [virtual]
setPreset (int preset)BandedWG
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setStrikePosition (StkFloat position)BandedWG
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
@@ -54,7 +58,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BandedWG Class Reference #include <BandedWG.h >
@@ -86,7 +86,7 @@ void The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BeeThree Member List This is the complete list of members for BeeThree , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
BeeThree ()BeeThree
clear ()FM
controlChange (int number, StkFloat value)FM [virtual]
FM (unsigned int operators=4)FM
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
keyOff ()FM
keyOn ()FM
@@ -28,7 +30,9 @@
noteOn (StkFloat frequency, StkFloat amplitude)BeeThree [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setControl1 (StkFloat cVal)FM
setControl2 (StkFloat cVal)FM
setFrequency (StkFloat frequency)FM [virtual]
@@ -37,7 +41,7 @@
setModulationSpeed (StkFloat mSpeed)FM
setRatio (unsigned int waveIndex, StkFloat ratio)FM
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -60,7 +64,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BeeThree Class Reference #include <BeeThree.h >
@@ -33,7 +33,7 @@ Control Change Numbers:
Operator 4 (feedback) Gain = 2 Operator 3 Gain = 4 LFO Speed = 11 LFO Depth = 1 ADSR 2 & 4 Target = 128
The basic Chowning/Stanford FM patent expired in 1995, but there exist follow-on patents, mostly assigned to Yamaha. If you are of the type who should worry about this (making money) worry away.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -86,7 +86,7 @@ An StkError will be thrown if the ra
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BiQuad Member List This is the complete list of members for BiQuad , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
BiQuad ()BiQuad
- clear (void)BiQuad
+ clear (void)BiQuad
Filter (void)Filter [protected]
Filter (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
- getGain (void) const BiQuad [virtual]
+ getGain (void) const BiQuad [virtual]
handleError (const char *message, StkError::Type type)Stk [protected, static]
handleError (std::string message, StkError::Type type)Stk [protected, static]
- handleError (StkError::Type type)Stk [protected]
- lastOut (void) const BiQuad [virtual]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)BiQuad [inline]
+ lastOut (void) const BiQuad [virtual]
printErrors (bool status)Stk [inline, protected, static]
rawwavePath (void)Stk [inline, protected, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, protected, static]
- setA1 (StkFloat a1)BiQuad
- setA2 (StkFloat a2)BiQuad
- setB0 (StkFloat b0)BiQuad
- setB1 (StkFloat b1)BiQuad
- setB2 (StkFloat b2)BiQuad
+ setA1 (StkFloat a1)BiQuad
+ setA2 (StkFloat a2)BiQuad
+ setB0 (StkFloat b0)BiQuad
+ setB1 (StkFloat b1)BiQuad
+ setB2 (StkFloat b2)BiQuad
setCoefficients (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
setDenominator (std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
- setEqualGainZeroes ()BiQuad
- setGain (StkFloat gain)BiQuad [virtual]
- setNotch (StkFloat frequency, StkFloat radius)BiQuad
+ setEqualGainZeroes ()BiQuad
+ setGain (StkFloat gain)BiQuad [virtual]
+ setNotch (StkFloat frequency, StkFloat radius)BiQuad
setNumerator (std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
setRawwavePath (std::string path)Stk [protected, static]
- setResonance (StkFloat frequency, StkFloat radius, bool normalize=false)BiQuad
- setSampleRate (StkFloat rate)Stk [inline, protected, static]
+ setResonance (StkFloat frequency, StkFloat radius, bool normalize=false)BiQuad
+ setSampleRate (StkFloat rate)Stk [protected, static]
showWarnings (bool status)Stk [inline, protected, static]
sleep (unsigned long milliseconds)Stk [protected, static]
Stk (void)Stk [protected]
@@ -48,8 +51,8 @@
swap16 (unsigned char *ptr)Stk [protected, static]
swap32 (unsigned char *ptr)Stk [protected, static]
swap64 (unsigned char *ptr)Stk [protected, static]
- tick (StkFloat sample)BiQuad [virtual]
- tick (StkFrames &frames, unsigned int channel=0)BiQuad [virtual]
+ tick (StkFloat sample)BiQuad [inline, virtual]
+ tick (StkFrames &frames, unsigned int channel=0)BiQuad [inline, virtual]
~BiQuad ()BiQuad [virtual]
~Filter (void)Filter [protected, virtual]
~Stk (void)Stk [protected, virtual]
@@ -57,7 +60,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BiQuad Class Reference #include <BiQuad.h >
@@ -22,7 +22,7 @@
STK biquad (two-pole, two-zero) filter class.
This protected Filter subclass implements a two-pole, two-zero digital filter. A method is provided for creating a resonance in the frequency response while maintaining a constant filter gain.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -35,60 +35,64 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
virtual ~BiQuad ()
Class destructor.
-
-void clear (void)
+
+void ignoreSampleRateChange (bool ignore=true)
+
+ A function to enable/disable the automatic updating of class data when the STK sample rate changes.
+
+void clear (void)
Clears all internal states of the filter.
-
-void setB0 (StkFloat b0)
+
+void setB0 (StkFloat b0)
Set the b[0] coefficient value.
-
-void setB1 (StkFloat b1)
+
+void setB1 (StkFloat b1)
Set the b[1] coefficient value.
-
-void setB2 (StkFloat b2)
+
+void setB2 (StkFloat b2)
Set the b[2] coefficient value.
-
-void setA1 (StkFloat a1)
+
+void setA1 (StkFloat a1)
Set the a[1] coefficient value.
-
-void setA2 (StkFloat a2)
+
+void setA2 (StkFloat a2)
Set the a[2] coefficient value.
-void setResonance (StkFloat frequency, StkFloat radius, bool normalize=false)
+void setResonance (StkFloat frequency, StkFloat radius, bool normalize=false)
- Sets the filter coefficients for a resonance at frequency (in Hz).
-void setNotch (StkFloat frequency, StkFloat radius)
+ Sets the filter coefficients for a resonance at frequency (in Hz).
+void setNotch (StkFloat frequency, StkFloat radius)
- Set the filter coefficients for a notch at frequency (in Hz).
-void setEqualGainZeroes ()
+ Set the filter coefficients for a notch at frequency (in Hz).
+void setEqualGainZeroes ()
- Sets the filter zeroes for equal resonance gain.
-void setGain (StkFloat gain)
+ Sets the filter zeroes for equal resonance gain.
+void setGain (StkFloat gain)
- Set the filter gain.
-
-StkFloat getGain (void) const
+ Set the filter gain.
+
+StkFloat getGain (void) const
Return the current filter gain.
-
-StkFloat lastOut (void) const
+
+StkFloat lastOut (void) const
Return the last computed output value.
-
-virtual StkFloat tick (StkFloat sample)
+
+virtual StkFloat tick (StkFloat sample)
Input one sample to the filter and return one output.
-virtual StkFrames & tick (StkFrames &frames, unsigned int channel=0)
+virtual StkFrames & tick (StkFrames &frames, unsigned int channel=0)
- Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.
+ Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.
Member Function Documentation
-
+
@@ -133,7 +137,7 @@ Sets the filter coefficients for a resonance at frequency (in Hz).
This method determines the filter coefficients corresponding to two complex-conjugate poles with the given frequency (in Hz) and radius from the z-plane origin. If normalize is true, the filter zeros are placed at z = 1, z = -1, and the coefficients are then normalized to produce a constant unity peak gain (independent of the filter gain parameter). The resulting filter frequency response has a resonance at the given frequency . The closer the poles are to the unit-circle (radius close to one), the narrower the resulting resonance width.
-
+
@@ -172,7 +176,7 @@ Set the filter coefficients for a notch at frequency (in Hz).
This method determines the filter coefficients corresponding to two complex-conjugate zeros with the given frequency (in Hz) and radius from the z-plane origin. No filter normalization is attempted.
-
+
@@ -201,7 +205,7 @@ Sets the filter zeroes for equal resonance gain.
When using the filter as a resonator, zeroes places at z = 1, z = -1 will result in a constant gain at resonance of 1 / (1 - R), where R is the pole radius setting.
-
+
@@ -233,13 +237,13 @@ The gain is applied at the filter input and does not affect the coefficient valu
Reimplemented from Filter .
-
+
@@ -280,7 +284,7 @@ Reimplemented from Filter .
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Blit Member List This is the complete list of members for Blit , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
Blit (StkFloat frequency=220.0)Blit
Generator (void)Generator
getPhase () const Blit [inline]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut (void) const Generator [inline, virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
reset ()Blit
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setFrequency (StkFloat frequency)Blit
setHarmonics (unsigned int nHarmonics=0)Blit
setPhase (StkFloat phase)Blit [inline]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -47,7 +51,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Blit Class Reference #include <Blit.h >
@@ -150,7 +150,7 @@ This function sets the number of harmonics contained in the resulting signal. It
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BlitSaw Member List This is the complete list of members for BlitSaw , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
BlitSaw (StkFloat frequency=220.0)BlitSaw
Generator (void)Generator
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut (void) const Generator [inline, virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
reset ()BlitSaw
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setFrequency (StkFloat frequency)BlitSaw
setHarmonics (unsigned int nHarmonics=0)BlitSaw
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -45,7 +49,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BlitSaw Class Reference #include <BlitSaw.h >
@@ -84,7 +84,7 @@ This function sets the number of harmonics contained in the resulting signal. It
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BlitSquare Member List This is the complete list of members for BlitSquare , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
BlitSquare (StkFloat frequency=220.0)BlitSquare
Generator (void)Generator
getPhase () const BlitSquare [inline]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut (void) const Generator [inline, virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
reset ()BlitSquare
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setFrequency (StkFloat frequency)BlitSquare
setHarmonics (unsigned int nHarmonics=0)BlitSquare
setPhase (StkFloat phase)BlitSquare [inline]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -47,7 +51,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BlitSquare Class Reference #include <BlitSquare.h >
@@ -20,10 +20,10 @@
List of all members. Detailed Description
STK band-limited square wave class.
-This class generates a band-limited square wave signal. It is derived in part from the approach reported by Stilson and Smith in "Alias-Free Digital Synthesis of Classic Analog Waveforms", 1996. The algorithm implemented in this class uses a SincM function with an even M value to achieve a bipolar bandlimited impulse train. This signal is then integrated to achieve a square waveform. The integration process has an associated DC offset but that is subtracted off the output signal.
+This class generates a band-limited square wave signal. It is derived in part from the approach reported by Stilson and Smith in "Alias-Free Digital Synthesis of Classic Analog Waveforms", 1996. The algorithm implemented in this class uses a SincM function with an even M value to achieve a bipolar bandlimited impulse train. This signal is then integrated to achieve a square waveform. The integration process has an associated DC offset so a DC blocking filter is applied at the output.
The user can specify both the fundamental frequency of the waveform and the number of harmonics contained in the resulting signal.
-If nHarmonics is 0, then the signal will contain all harmonics up to half the sample rate. Note, however, that this setting may produce aliasing in the signal when the frequency is changing (no automatic modification of the number of harmonics is performed by the setFrequency() function).
-Based on initial code of Robin Davies, 2005. Modified algorithm code by Gary Scavone, 2005.
+If nHarmonics is 0, then the signal will contain all harmonics up to half the sample rate. Note, however, that this setting may produce aliasing in the signal when the frequency is changing (no automatic modification of the number of harmonics is performed by the setFrequency() function). Also note that the harmonics of a square wave fall at odd integer multiples of the fundamental, so aliasing will happen with a lower fundamental than with the other Blit waveforms. This class is not guaranteed to be well behaved in the presence of significant aliasing.
+Based on initial code of Robin Davies, 2005. Modified algorithm code by Gary Scavone, 2005 - 2006.
@@ -150,7 +150,7 @@ This function sets the number of harmonics contained in the resulting signal. It
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BlowBotl Member List This is the complete list of members for BlowBotl , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
BlowBotl ()BlowBotl
clear ()BlowBotl
controlChange (int number, StkFloat value)BlowBotl [virtual]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
lastOut () const Instrmnt
lastOutLeft () const Instrmnt
@@ -24,10 +26,12 @@
noteOn (StkFloat frequency, StkFloat amplitude)BlowBotl [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setFrequency (StkFloat frequency)BlowBotl [virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
startBlowing (StkFloat amplitude, StkFloat rate)BlowBotl
@@ -51,7 +55,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BlowBotl Class Reference #include <BlowBotl.h >
@@ -24,7 +24,7 @@ This class implements a helmholtz resonator (biquad filter) with a polynomial je
Control Change Numbers:
Noise Gain = 4Vibrato Frequency = 11 Vibrato Gain = 1 Volume = 128
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -101,7 +101,7 @@ An StkError will be thrown if the ra
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BlowHole Member List This is the complete list of members for BlowHole , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
BlowHole (StkFloat lowestFrequency)BlowHole
clear ()BlowHole
controlChange (int number, StkFloat value)BlowHole [virtual]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
lastOut () const Instrmnt
lastOutLeft () const Instrmnt
@@ -24,10 +26,12 @@
noteOn (StkFloat frequency, StkFloat amplitude)BlowHole [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setFrequency (StkFloat frequency)BlowHole [virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setTonehole (StkFloat newValue)BlowHole
setVent (StkFloat newValue)BlowHole
showWarnings (bool status)Stk [inline, static]
@@ -53,7 +57,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BlowHole Class Reference #include <BlowHole.h >
@@ -26,7 +26,7 @@ This is a digital waveguide model, making its use possibly subject to patents he
Control Change Numbers:
Reed Stiffness = 2 Noise Gain = 4Tonehole State = 11 Register State = 1 Breath Pressure = 128
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -112,7 +112,7 @@ An StkError will be thrown if the ra
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BowTable Member List This is the complete list of members for BowTable , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
BowTable ()BowTable
Function ()Function
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut () const Function [inline, virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setOffset (StkFloat offset)BowTable
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setSlope (StkFloat slope)BowTable
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
@@ -44,7 +48,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
BowTable Class Reference #include <BowTable.h >
@@ -21,7 +21,7 @@
STK bowed string table class.
This class implements a simple bowed string non-linear function, as described by Smith (1986).
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -108,7 +108,7 @@ The table slope controls the width of the friction pulse, which is related to bo
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Bowed Member List This is the complete list of members for Bowed , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
Bowed (StkFloat lowestFrequency)Bowed
clear ()Bowed
controlChange (int number, StkFloat value)Bowed [virtual]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
lastOut () const Instrmnt
lastOutLeft () const Instrmnt
@@ -24,10 +26,12 @@
noteOn (StkFloat frequency, StkFloat amplitude)Bowed [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setFrequency (StkFloat frequency)Bowed [virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setVibrato (StkFloat gain)Bowed
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
@@ -52,7 +56,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Bowed Class Reference #include <Bowed.h >
@@ -25,7 +25,7 @@ This is a digital waveguide model, making its use possibly subject to patents he
Control Change Numbers:
Bow Pressure = 2 Bow Position = 4 Vibrato Frequency = 11 Vibrato Gain = 1 Volume = 128
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -77,7 +77,7 @@ void The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Brass Member List This is the complete list of members for Brass , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
Brass (StkFloat lowestFrequency)Brass
clear ()Brass
controlChange (int number, StkFloat value)Brass [virtual]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
lastOut () const Instrmnt
lastOutLeft () const Instrmnt
@@ -24,11 +26,13 @@
noteOn (StkFloat frequency, StkFloat amplitude)Brass [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setFrequency (StkFloat frequency)Brass [virtual]
setLip (StkFloat frequency)Brass
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
startBlowing (StkFloat amplitude, StkFloat rate)Brass
@@ -52,7 +56,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Brass Class Reference #include <Brass.h >
@@ -25,7 +25,7 @@ This is a digital waveguide model, making its use possibly subject to patents he
Control Change Numbers:
Lip Tension = 2 Slide Length = 4 Vibrato Frequency = 11 Vibrato Gain = 1 Volume = 128
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -107,7 +107,7 @@ An StkError will be thrown if the ra
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Chorus Member List This is the complete list of members for Chorus , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
Chorus (StkFloat baseDelay=6000)Chorus
clear ()Chorus [virtual]
Effect ()Effect
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut () const Effect
lastOutLeft () const Effect
lastOutRight () const Effect
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setEffectMix (StkFloat mix)Effect
setModDepth (StkFloat depth)Chorus
setModFrequency (StkFloat frequency)Chorus
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -48,7 +52,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Chorus Class Reference #include <Chorus.h >
@@ -21,7 +21,7 @@
STK chorus effect class.
This class implements a chorus effect.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -83,7 +83,7 @@ An StkError can be thrown if the raw
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Clarinet Member List This is the complete list of members for Clarinet , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
Clarinet (StkFloat lowestFrequency)Clarinet
clear ()Clarinet
controlChange (int number, StkFloat value)Clarinet [virtual]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
lastOut () const Instrmnt
lastOutLeft () const Instrmnt
@@ -24,10 +26,12 @@
noteOn (StkFloat frequency, StkFloat amplitude)Clarinet [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setFrequency (StkFloat frequency)Clarinet [virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
startBlowing (StkFloat amplitude, StkFloat rate)Clarinet
@@ -51,7 +55,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Clarinet Class Reference #include <Clarinet.h >
@@ -25,7 +25,7 @@ This is a digital waveguide model, making its use possibly subject to patents he
Control Change Numbers:
Reed Stiffness = 2 Noise Gain = 4Vibrato Frequency = 11 Vibrato Gain = 1 Breath Pressure = 128
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -103,7 +103,7 @@ An StkError will be thrown if the ra
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Delay Member List This is the complete list of members for Delay , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()Delay
contentsAt (unsigned long tapDelay)Delay
Delay ()Delay
@@ -21,12 +22,15 @@
getGain (void) const Filter [protected, virtual]
handleError (const char *message, StkError::Type type)Stk [protected, static]
handleError (std::string message, StkError::Type type)Stk [protected, static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline, protected]
lastOut (void) const Delay [virtual]
nextOut (void)Delay [virtual]
printErrors (bool status)Stk [inline, protected, static]
rawwavePath (void)Stk [inline, protected, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, protected, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setCoefficients (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
setDelay (unsigned long delay)Delay
setDenominator (std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
@@ -34,7 +38,7 @@
setMaximumDelay (unsigned long delay)Delay
setNumerator (std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
setRawwavePath (std::string path)Stk [protected, static]
- setSampleRate (StkFloat rate)Stk [inline, protected, static]
+ setSampleRate (StkFloat rate)Stk [protected, static]
showWarnings (bool status)Stk [inline, protected, static]
sleep (unsigned long milliseconds)Stk [protected, static]
Stk (void)Stk [protected]
@@ -56,7 +60,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Delay Class Reference #include <Delay.h >
@@ -24,7 +24,7 @@ STK non-interpolating delay line class.
This protected Filter subclass implements a non-interpolating digital delay-line. A fixed maximum length of 4095 and a delay of zero is set using the default constructor. Alternatively, the delay and maximum length can be set during instantiation with an overloaded constructor.
A non-interpolating delay line is typically used in fixed delay-length applications, such as for reverberation.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -286,7 +286,7 @@ Reimplemented from Filter .
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
DelayA Member List This is the complete list of members for DelayA , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()DelayA
contentsAt (unsigned long tapDelay)Delay
Delay ()Delay
@@ -23,12 +24,15 @@
getGain (void) const Filter [protected, virtual]
handleError (const char *message, StkError::Type type)Stk [protected, static]
handleError (std::string message, StkError::Type type)Stk [protected, static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline, protected]
lastOut (void) const Delay [virtual]
nextOut (void)DelayA [virtual]
printErrors (bool status)Stk [inline, protected, static]
rawwavePath (void)Stk [inline, protected, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, protected, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setCoefficients (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
setDelay (StkFloat delay)DelayA
Delay::setDelay (unsigned long delay)Delay
@@ -37,7 +41,7 @@
setMaximumDelay (unsigned long delay)Delay
setNumerator (std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
setRawwavePath (std::string path)Stk [protected, static]
- setSampleRate (StkFloat rate)Stk [inline, protected, static]
+ setSampleRate (StkFloat rate)Stk [protected, static]
showWarnings (bool status)Stk [inline, protected, static]
sleep (unsigned long milliseconds)Stk [protected, static]
Stk (void)Stk [protected]
@@ -60,7 +64,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
DelayA Class Reference #include <DelayA.h >
@@ -23,7 +23,7 @@ STK allpass interpolating delay line class.
This Delay subclass implements a fractional-length digital delay-line using a first-order allpass filter. A fixed maximum length of 4095 and a delay of 0.5 is set using the default constructor. Alternatively, the delay and maximum length can be set during instantiation with an overloaded constructor.
An allpass filter has unity magnitude gain but variable phase delay properties, making it useful in achieving fractional delays without affecting a signal's frequency magnitude response. In order to achieve a maximally flat phase delay response, the minimum delay possible in this implementation is limited to a value of 0.5.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -163,7 +163,7 @@ Reimplemented from Delay .
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
DelayL Member List This is the complete list of members for DelayL , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()Delay
contentsAt (unsigned long tapDelay)Delay
Delay ()Delay
@@ -23,12 +24,15 @@
getGain (void) const Filter [protected, virtual]
handleError (const char *message, StkError::Type type)Stk [protected, static]
handleError (std::string message, StkError::Type type)Stk [protected, static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline, protected]
lastOut (void) const Delay [virtual]
nextOut (void)DelayL [virtual]
printErrors (bool status)Stk [inline, protected, static]
rawwavePath (void)Stk [inline, protected, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, protected, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setCoefficients (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
setDelay (StkFloat delay)DelayL
Delay::setDelay (unsigned long delay)Delay
@@ -37,7 +41,7 @@
setMaximumDelay (unsigned long delay)Delay
setNumerator (std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
setRawwavePath (std::string path)Stk [protected, static]
- setSampleRate (StkFloat rate)Stk [inline, protected, static]
+ setSampleRate (StkFloat rate)Stk [protected, static]
showWarnings (bool status)Stk [inline, protected, static]
sleep (unsigned long milliseconds)Stk [protected, static]
Stk (void)Stk [protected]
@@ -60,7 +64,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
DelayL Class Reference #include <DelayL.h >
@@ -23,7 +23,7 @@ STK linear interpolating delay line class.
This Delay subclass implements a fractional- length digital delay-line using first-order linear interpolation. A fixed maximum length of 4095 and a delay of zero is set using the default constructor. Alternatively, the delay and maximum length can be set during instantiation with an overloaded constructor.
Linear interpolation is an efficient technique for achieving fractional delay lengths, though it does introduce high-frequency signal attenuation to varying degrees depending on the fractional delay setting. The use of higher order Lagrange interpolators can typically improve (minimize) this attenuation characteristic.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -159,7 +159,7 @@ Reimplemented from Delay .
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Drummer Member List This is the complete list of members for Drummer , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
controlChange (int number, StkFloat value)Instrmnt [virtual]
Drummer ()Drummer
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
lastOut () const Instrmnt
lastOutLeft () const Instrmnt
@@ -23,10 +25,12 @@
noteOn (StkFloat instrument, StkFloat amplitude)Drummer [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setFrequency (StkFloat frequency)Instrmnt [virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -48,7 +52,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Drummer Class Reference #include <Drummer.h >
@@ -21,7 +21,7 @@
STK drum sample player class.
This class implements a drum sampling synthesizer using WvIn objects and one-pole filters. The drum rawwave files are sampled at 22050 Hz, but will be appropriately interpolated for other sample rates. You can specify the maximum polyphony (maximum number of simultaneous voices) via a define in the Drummer.h .
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -119,7 +119,7 @@ Implements Instrmnt .
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Echo Member List This is the complete list of members for Echo , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()Echo [virtual]
Echo (unsigned long maximumDelay=(unsigned long) Stk::sampleRate())Echo
Effect ()Effect
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut () const Effect
lastOutLeft () const Effect
lastOutRight () const Effect
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setDelay (unsigned long delay)Echo
setEffectMix (StkFloat mix)Effect
setMaximumDelay (unsigned long delay)Echo
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -48,7 +52,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Echo Class Reference #include <Echo.h >
@@ -21,7 +21,7 @@
STK echo effect class.
This class implements an echo effect.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -83,7 +83,7 @@ The default delay value is set to 1/2 the maximum delay length.
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Effect Member List This is the complete list of members for Effect , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()=0Effect [pure virtual]
Effect ()Effect
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut () const Effect
lastOutLeft () const Effect
lastOutRight () const Effect
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setEffectMix (StkFloat mix)Effect
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -44,7 +48,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Effect Class Reference #include <Effect.h >
@@ -26,7 +26,7 @@
STK abstract effects parent class.
This class provides common functionality for STK effects subclasses.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -113,7 +113,7 @@ The channel argument should be zero or greater (the first channel i
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Envelope Member List This is the complete list of members for Envelope , including all inherited members.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Envelope Class Reference #include <Envelope.h >
@@ -23,7 +23,7 @@
STK envelope base class.
This class implements a simple envelope generator which is capable of ramping to a target value by a specified rate . It also responds to simple keyOn and keyOff messages, ramping to 1.0 on keyOn and to 0.0 on keyOff.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
FM Member List This is the complete list of members for FM , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()FM
controlChange (int number, StkFloat value)FM [virtual]
FM (unsigned int operators=4)FM
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
keyOff ()FM
keyOn ()FM
@@ -27,7 +29,9 @@
noteOn (StkFloat frequency, StkFloat amplitude)=0Instrmnt [pure virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setControl1 (StkFloat cVal)FM
setControl2 (StkFloat cVal)FM
setFrequency (StkFloat frequency)FM [virtual]
@@ -36,7 +40,7 @@
setModulationSpeed (StkFloat mSpeed)FM
setRatio (unsigned int waveIndex, StkFloat ratio)FM
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -58,7 +62,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
FM Class Reference #include <FM.h >
@@ -32,7 +32,7 @@ Control Change Numbers:
Control One = 2 Control Two = 4 LFO Speed = 11 LFO Depth = 1 ADSR 2 & 4 Target = 128
The basic Chowning/Stanford FM patent expired in 1995, but there exist follow-on patents, mostly assigned to Yamaha. If you are of the type who should worry about this (making money) worry away.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -134,7 +134,7 @@ An StkError will be thrown if the ra
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
FMVoices Member List This is the complete list of members for FMVoices , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()FM
controlChange (int number, StkFloat value)FMVoices [virtual]
FM (unsigned int operators=4)FM
FMVoices ()FMVoices
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
keyOff ()FM
keyOn ()FM
@@ -28,7 +30,9 @@
noteOn (StkFloat frequency, StkFloat amplitude)FMVoices [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setControl1 (StkFloat cVal)FM
setControl2 (StkFloat cVal)FM
setFrequency (StkFloat frequency)FMVoices [virtual]
@@ -37,7 +41,7 @@
setModulationSpeed (StkFloat mSpeed)FM
setRatio (unsigned int waveIndex, StkFloat ratio)FM
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -60,7 +64,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
FMVoices Class Reference #include <FMVoices.h >
@@ -31,7 +31,7 @@ Control Change Numbers:
Vowel = 2 Spectral Tilt = 4 LFO Speed = 11 LFO Depth = 1 ADSR 2 & 4 Target = 128
The basic Chowning/Stanford FM patent expired in 1995, but there exist follow-on patents, mostly assigned to Yamaha. If you are of the type who should worry about this (making money) worry away.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -92,7 +92,7 @@ An StkError will be thrown if the ra
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
FileRead Member List This is the complete list of members for FileRead , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
channels (void) const FileRead [inline]
close (void)FileRead
fileRate (void) const FileRead [inline]
@@ -18,15 +19,18 @@
fileSize (void) const FileRead [inline]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
isOpen (void)FileRead
open (std::string fileName, bool typeRaw=false)FileRead
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
read (StkFrames &buffer, unsigned long startFrame=0, bool doNormalize=true)FileRead
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -45,7 +49,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
FileRead Class Reference #include <FileRead.h >
@@ -22,7 +22,7 @@ STK audio file input class.
This class provides input support for various audio file formats. Multi-channel (>2) soundfiles are supported. The file data is returned via an external StkFrames object passed to the read() function. This class does not store its own copy of the file data, rather the data is read directly from disk.
FileRead currently supports uncompressed WAV, AIFF/AIFC, SND (AU), MAT-file (Matlab), and STK RAW file formats. Signed integer (8-, 16-, and 32-bit) and floating-point (32- and 64-bit) data types are supported. Compressed data types are not supported.
STK RAW files have no header and are assumed to contain a monophonic stream of 16-bit signed integers in big-endian byte order at a sample rate of 22050 Hz. MAT-file data should be saved in an array with each data channel filling a matrix row. The sample rate for MAT-files is assumed to be 44100 Hz.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -225,7 +225,7 @@ The number of sample frames to read will be determined from the number of frames
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
FileWrite Member List This is the complete list of members for FileWrite , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
close (void)FileWrite
FILE_AIF FileWrite [static]
FILE_MAT FileWrite [static]
@@ -20,14 +21,17 @@
FileWrite (std::string fileName, unsigned int nChannels=1, FILE_TYPE type=FILE_WAV, Stk::StkFormat format=STK_SINT16)FileWrite
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
isOpen (void)FileWrite
open (std::string fileName, unsigned int nChannels=1, FileWrite::FILE_TYPE type=FILE_WAV, Stk::StkFormat format=STK_SINT16)FileWrite
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -47,7 +51,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
FileWrite Class Reference #include <FileWrite.h >
@@ -22,7 +22,7 @@ STK audio file output class.
This class provides output support for various audio file formats.
FileWrite writes samples to an audio file. It supports multi-channel data.
FileWrite currently supports uncompressed WAV, AIFF, AIFC, SND (AU), MAT-file (Matlab), and STK RAW file formats. Signed integer (8-, 16-, and 32-bit) and floating- point (32- and 64-bit) data types are supported. STK RAW files use 16-bit integers by definition. MAT-files will always be written as 64-bit floats. If a data type specification does not match the specified file type, the data type will automatically be modified. Compressed data types are not supported.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -320,7 +320,7 @@ Matlab MAT-file type.
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
FileWvIn Member List This is the complete list of members for FileWvIn , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
addTime (StkFloat time)FileWvIn [virtual]
closeFile (void)FileWvIn
FileWvIn (unsigned long chunkThreshold=1000000, unsigned long chunkSize=1024)FileWvIn
@@ -19,7 +20,8 @@
getSize (void) const FileWvIn [inline]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
isFinished (void) const FileWvIn [inline]
lastFrame (void) const WvIn [inline]
normalize (void)FileWvIn
@@ -27,12 +29,13 @@
openFile (std::string fileName, bool raw=false, bool doNormalize=true)FileWvIn
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
reset (void)FileWvIn
sampleRate (void)Stk [inline, static]
setInterpolate (bool doInterpolate)FileWvIn [inline]
setRate (StkFloat rate)FileWvIn
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -56,7 +59,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
FileWvIn Class Reference #include <FileWvIn.h >
@@ -26,7 +26,7 @@ FileWvIn supports multi-channel data. It is important to distinguish the chunkThreshold and chunkSize . File sizes greater than chunkThreshold (in sample frames) will be read incrementally in chunks of chunkSize each (also in sample frames).
When the file end is reached, subsequent calls to the tick() functions return zero-valued data and isFinished() returns true .
See the FileRead class for a description of the supported audio file formats.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -376,7 +376,7 @@ Interpolation is automatically off when the read rate is an integer value. If in
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
FileWvOut Member List This is the complete list of members for FileWvOut , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clipStatus (void)WvOut [inline]
closeFile (void)FileWvOut
FileWvOut (unsigned int bufferFrames=1024)FileWvOut
@@ -18,14 +19,17 @@
getTime (void) const WvOut
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
openFile (std::string fileName, unsigned int nChannels, FileWrite::FILE_TYPE type, Stk::StkFormat format)FileWvOut
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
resetClipStatus (void)WvOut [inline]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -49,7 +53,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
FileWvOut Class Reference #include <FileWvOut.h >
@@ -24,7 +24,7 @@ This class inherits from WvOut . It prov
FileWvOut writes samples to an audio file and supports multi-channel data. It is important to distinguish the tick() methods, which output single samples to all channels in a sample frame, from the tickFrame() methods, which take a pointer or reference to multi-channel sample frame data.
See the FileWrite class for a description of the supported audio file formats.
Currently, FileWvOut is non-interpolating and the output rate is always Stk::sampleRate() .
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -222,7 +222,7 @@ Any data remaining in the internal buffer will be written to the file before clo
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Filter Member List This is the complete list of members for Filter , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear (void)Filter
Filter (void)Filter
Filter (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter
getGain (void) const Filter [virtual]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut (void) const Filter [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setCoefficients (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter
setDenominator (std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter
setGain (StkFloat gain)Filter [virtual]
setNumerator (std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -47,7 +51,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Filter Class Reference #include <Filter.h >
@@ -34,7 +34,7 @@ In particular, this class implements the standard difference equation:
a[0]*y[n] = b[0]*x[n] + ... + b[nb]*x[n-nb] - a[1]*y[n-1] - ... - a[na]*y[n-na]
If a[0] is not equal to 1, the filter coeffcients are normalized by a[0].
The gain parameter is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0. This structure results in one extra multiply per computed sample, but allows easy control of the overall filter gain.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -275,7 +275,7 @@ Set the filter gain.
The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0.
-Reimplemented in BiQuad , OnePole , OneZero , PoleZero , TwoPole , and TwoZero .
+Reimplemented in BiQuad , OnePole , OneZero , PoleZero , TwoPole , and TwoZero .
@@ -316,7 +316,7 @@ Take a channel of the StkFrames obj
The channel argument should be zero or greater (the first channel is specified by 0). An StkError will be thrown if the channel argument is equal to or greater than the number of channels in the StkFrames object.
-Reimplemented in BiQuad , Delay , OnePole , OneZero , PoleZero , TwoPole , and TwoZero .
+Reimplemented in BiQuad , Delay , OnePole , OneZero , PoleZero , TwoPole , and TwoZero .
The documentation for this class was generated from the following file:
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Flute Member List This is the complete list of members for Flute , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()Flute
controlChange (int number, StkFloat value)Flute [virtual]
Flute (StkFloat lowestFrequency)Flute
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
lastOut () const Instrmnt
lastOutLeft () const Instrmnt
@@ -24,13 +26,15 @@
noteOn (StkFloat frequency, StkFloat amplitude)Flute [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setEndReflection (StkFloat coefficient)Flute
setFrequency (StkFloat frequency)Flute [virtual]
setJetDelay (StkFloat aRatio)Flute
setJetReflection (StkFloat coefficient)Flute
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
startBlowing (StkFloat amplitude, StkFloat rate)Flute
@@ -54,7 +58,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Flute Class Reference #include <Flute.h >
@@ -25,7 +25,7 @@ This is a digital waveguide model, making its use possibly subject to patents he
Control Change Numbers:
Jet Delay = 2 Noise Gain = 4Vibrato Frequency = 11 Vibrato Gain = 1 Breath Pressure = 128
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -115,7 +115,7 @@ An StkError will be thrown if the ra
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
FormSwep Member List This is the complete list of members for FormSwep , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
BiQuad ()BiQuad
- clear (void)BiQuad
+ clear (void)BiQuad
Filter (void)Filter [protected]
Filter (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
FormSwep ()FormSwep
- getGain (void) const BiQuad [virtual]
+ getGain (void) const BiQuad [virtual]
handleError (const char *message, StkError::Type type)Stk [protected, static]
handleError (std::string message, StkError::Type type)Stk [protected, static]
- handleError (StkError::Type type)Stk [protected]
- lastOut (void) const BiQuad [virtual]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)BiQuad [inline]
+ lastOut (void) const BiQuad [virtual]
printErrors (bool status)Stk [inline, protected, static]
rawwavePath (void)Stk [inline, protected, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, protected, static]
- setA1 (StkFloat a1)BiQuad
- setA2 (StkFloat a2)BiQuad
- setB0 (StkFloat b0)BiQuad
- setB1 (StkFloat b1)BiQuad
- setB2 (StkFloat b2)BiQuad
+ setA1 (StkFloat a1)BiQuad
+ setA2 (StkFloat a2)BiQuad
+ setB0 (StkFloat b0)BiQuad
+ setB1 (StkFloat b1)BiQuad
+ setB2 (StkFloat b2)BiQuad
setCoefficients (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
setDenominator (std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
- setEqualGainZeroes ()BiQuad
- setGain (StkFloat gain)BiQuad [virtual]
- setNotch (StkFloat frequency, StkFloat radius)BiQuad
+ setEqualGainZeroes ()BiQuad
+ setGain (StkFloat gain)BiQuad [virtual]
+ setNotch (StkFloat frequency, StkFloat radius)BiQuad
setNumerator (std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
setRawwavePath (std::string path)Stk [protected, static]
setResonance (StkFloat frequency, StkFloat radius)FormSwep
- BiQuad::setResonance (StkFloat frequency, StkFloat radius, bool normalize=false)BiQuad
- setSampleRate (StkFloat rate)Stk [inline, protected, static]
+ BiQuad::setResonance (StkFloat frequency, StkFloat radius, bool normalize=false)BiQuad
+ setSampleRate (StkFloat rate)Stk [protected, static]
setStates (StkFloat frequency, StkFloat radius, StkFloat gain=1.0)FormSwep
setSweepRate (StkFloat rate)FormSwep
setSweepTime (StkFloat time)FormSwep
@@ -54,8 +57,8 @@
swap16 (unsigned char *ptr)Stk [protected, static]
swap32 (unsigned char *ptr)Stk [protected, static]
swap64 (unsigned char *ptr)Stk [protected, static]
- tick (StkFloat sample)BiQuad [virtual]
- tick (StkFrames &frames, unsigned int channel=0)BiQuad [virtual]
+ tick (StkFloat sample)BiQuad [inline, virtual]
+ tick (StkFrames &frames, unsigned int channel=0)BiQuad [inline, virtual]
~BiQuad ()BiQuad [virtual]
~Filter (void)Filter [protected, virtual]
~FormSwep ()FormSwep
@@ -64,7 +67,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
FormSwep Class Reference #include <FormSwep.h >
@@ -22,7 +22,7 @@
STK sweepable formant filter class.
This public BiQuad filter subclass implements a formant (resonance) which can be "swept" over time from one frequency setting to another. It provides methods for controlling the sweep rate and target frequency.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -159,7 +159,7 @@ This method adjusts the sweep rate based on a given time for the formant paramet
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Function Member List This is the complete list of members for Function , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
Function ()Function
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut () const Function [inline, virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -40,7 +44,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Function Class Reference #include <Function.h >
@@ -23,7 +23,7 @@
STK abstract function parent class.
This class provides common functionality for STK classes which implement tables or other types of input to output function mappings.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -94,7 +94,7 @@ The channel argument should be zero or greater (the first channel i
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Generator Member List This is the complete list of members for Generator , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
Generator (void)Generator
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut (void) const Generator [inline, virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -40,7 +44,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Generator Class Reference #include <Generator.h >
@@ -29,7 +29,7 @@
STK abstract unit generator parent class.
This class provides common functionality for STK unit generator sample-source subclasses.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -100,7 +100,7 @@ The channel argument should be zero or greater (the first channel i
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Granulate Member List This is the complete list of members for Granulate , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
Generator (void)Generator
Granulate (void)Granulate
Granulate (unsigned int nVoices, std::string fileName, bool typeRaw=false)Granulate
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut (void) const Generator [inline, virtual]
openFile (std::string fileName, bool typeRaw=false)Granulate
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
reset ()Granulate
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setGrainParameters (unsigned int duration=30, unsigned int rampPercent=50, int offset=0, unsigned int delay=0)Granulate
setRandomFactor (StkFloat randomness=0.1)Granulate
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setStretch (unsigned int stretchFactor=1)Granulate
setVoices (unsigned int nVoices=1)Granulate
showWarnings (bool status)Stk [inline, static]
@@ -49,7 +53,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Granulate Class Reference #include <Granulate.h >
@@ -235,7 +235,7 @@ Granular synthesis allows for time-stetching without affecting the original pitc
Set global grain parameters used to determine individual grain settings.
-Each grain is defined as having a length of duration milliseconds which must be greater than zero. For values of rampPercent (0 - 100) greater than zero, a linear envelope will be applied to each grain. If rampPercent = 100, the resultant grain "window" is triangular while rampPercent = 50 produces a trapezoidal window. In addition, each grain can have a time delay of length delay and a grain pointer increment of length offset , which can be negative, before the next ramp onset (in milliseconds). The actual values calculated for each grain will be randomized by a factor set using the setRandomFactor() function.
+Each grain is defined as having a length of duration milliseconds which must be greater than zero. For values of rampPercent (0 - 100) greater than zero, a linear envelope will be applied to each grain. If rampPercent = 100, the resultant grain "window" is triangular while rampPercent = 50 produces a trapezoidal window. In addition, each grain can have a time delay of length delay and a grain pointer increment of length offset , which can be negative, before the next ramp onset (in milliseconds). The offset parameter controls grain pointer jumps between enveloped grain segments, while the delay parameter causes grain calculations to pause between grains. The actual values calculated for each grain will be randomized by a factor set using the setRandomFactor() function.
@@ -274,7 +274,7 @@ This random factor is applied when all grain state durations are calculated. If
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
HevyMetl Member List This is the complete list of members for HevyMetl , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()FM
controlChange (int number, StkFloat value)FM [virtual]
FM (unsigned int operators=4)FM
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
HevyMetl ()HevyMetl
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
keyOff ()FM
keyOn ()FM
@@ -28,7 +30,9 @@
noteOn (StkFloat frequency, StkFloat amplitude)HevyMetl [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setControl1 (StkFloat cVal)FM
setControl2 (StkFloat cVal)FM
setFrequency (StkFloat frequency)FM [virtual]
@@ -37,7 +41,7 @@
setModulationSpeed (StkFloat mSpeed)FM
setRatio (unsigned int waveIndex, StkFloat ratio)FM
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -60,7 +64,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
HevyMetl Class Reference #include <HevyMetl.h >
@@ -29,7 +29,7 @@ Control Change Numbers:
Total Modulator Index = 2 Modulator Crossfade = 4 LFO Speed = 11 LFO Depth = 1 ADSR 2 & 4 Target = 128
The basic Chowning/Stanford FM patent expired in 1995, but there exist follow-on patents, mostly assigned to Yamaha. If you are of the type who should worry about this (making money) worry away.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -82,7 +82,7 @@ An StkError will be thrown if the ra
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
InetWvIn Member List This is the complete list of members for InetWvIn , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
getChannels (void) const WvIn [inline]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
InetWvIn (unsigned long bufferFrames=1024, unsigned int nBuffers=8)InetWvIn
isConnected (void)InetWvIn
lastFrame (void) const WvIn [inline]
@@ -21,9 +23,11 @@
listen (int port=2006, unsigned int nChannels=1, Stk::StkFormat format=STK_SINT16, Socket::ProtocolType protocol=Socket::PROTO_TCP)InetWvIn
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -47,7 +51,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
InetWvIn Class Reference #include <InetWvIn.h >
@@ -23,7 +23,7 @@ STK internet streaming input class.
This Wvin subclass reads streamed audio data over a network via a TCP or UDP socket connection. The data is assumed in big-endian, or network, byte order. Only a single socket connection is supported.
InetWvIn supports multi-channel data. It is important to distinguish the tick() methods, which return samples produced by averaging across sample frames, from the tickFrame() methods, which return references or pointers to multi-channel sample frames.
This class implements a socket server. When using the TCP protocol, the server "listens" for a single remote connection within the InetWvIn::start() function. For the UDP protocol, no attempt is made to verify packet delivery or order. The default data type for the incoming stream is signed 16-bit integers, though any of the defined StkFormats are permissible.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -170,7 +170,7 @@ This method will not return false after an input connection has been closed unti
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
InetWvOut Member List This is the complete list of members for InetWvOut , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clipStatus (void)WvOut [inline]
connect (int port, Socket::ProtocolType protocol=Socket::PROTO_TCP, std::string hostname="localhost", unsigned int nChannels=1, Stk::StkFormat format=STK_SINT16)InetWvOut
disconnect (void)InetWvOut
@@ -17,15 +18,18 @@
getTime (void) const WvOut
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
InetWvOut (unsigned long packetFrames=1024)InetWvOut
InetWvOut (int port, Socket::ProtocolType protocol=Socket::PROTO_TCP, std::string hostname="localhost", unsigned int nChannels=1, Stk::StkFormat format=STK_SINT16, unsigned long packetFrames=1024)InetWvOut
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
resetClipStatus (void)WvOut [inline]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -49,7 +53,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
InetWvOut Class Reference #include <InetWvOut.h >
@@ -23,7 +23,7 @@ STK internet streaming output class.
This WvOut subclass can stream data over a network via a TCP or UDP socket connection. The data is converted to big-endian byte order, if necessary, before being transmitted.
InetWvOut supports multi-channel data. It is important to distinguish the tick() methods, which output single samples to all channels in a sample frame, from the tickFrame() method, which takes a reference to multi-channel sample frame data.
This class connects to a socket server, the port and IP address of which must be specified as constructor arguments. The default data type is signed 16-bit integers but any of the defined StkFormats are permissible.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -175,7 +175,7 @@ An StkError is thrown if a socket er
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Instrmnt Member List This is the complete list of members for Instrmnt , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
controlChange (int number, StkFloat value)Instrmnt [virtual]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
lastOut () const Instrmnt
lastOutLeft () const Instrmnt
@@ -22,10 +24,12 @@
noteOn (StkFloat frequency, StkFloat amplitude)=0Instrmnt [pure virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setFrequency (StkFloat frequency)Instrmnt [virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -46,7 +50,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Instrmnt Class Reference #include <Instrmnt.h >
@@ -42,7 +42,7 @@
STK instrument abstract base class.
This class provides a common interface for all STK instruments.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -137,7 +137,7 @@ The channel argument should be zero or greater (the first channel i
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
JCRev Member List This is the complete list of members for JCRev , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()JCRev [virtual]
Effect ()Effect
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
JCRev (StkFloat T60=1.0)JCRev
lastOut () const Effect
lastOutLeft () const Effect
lastOutRight () const Effect
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setEffectMix (StkFloat mix)Effect
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setT60 (StkFloat T60)JCRev
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
@@ -47,7 +51,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
JCRev Class Reference #include <JCRev.h >
@@ -21,7 +21,7 @@
John Chowning's reverberator class.
This class is derived from the CLM JCRev function, which is based on the use of networks of simple allpass and comb delay filters. This class implements three series allpass units, followed by four parallel comb filters, and two decorrelation delay lines in parallel at the output.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -49,7 +49,7 @@ void The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
JetTable Member List This is the complete list of members for JetTable , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
Function ()Function
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
JetTable ()JetTable
lastOut () const Function [inline, virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -42,7 +46,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
JetTable Class Reference #include <JetTable.h >
@@ -22,7 +22,7 @@ STK jet table class.
This class implements a flue jet non-linear function, computed by a polynomial calculation. Contrary to the name, this is not a "table".
Consult Fletcher and Rossing, Karjalainen, Cook, and others for more information.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -42,7 +42,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Mandolin Member List This is the complete list of members for Mandolin , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()PluckTwo
controlChange (int number, StkFloat value)Mandolin [virtual]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
lastOut () const Instrmnt
lastOutLeft () const Instrmnt
@@ -27,7 +29,9 @@
PluckTwo (StkFloat lowestFrequency)PluckTwo
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setBaseLoopGain (StkFloat aGain)PluckTwo
setBodySize (StkFloat size)Mandolin
setDetune (StkFloat detune)PluckTwo
@@ -35,7 +39,7 @@
setFrequency (StkFloat frequency)PluckTwo [virtual]
setPluckPosition (StkFloat position)PluckTwo
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -58,7 +62,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Mandolin Class Reference #include <Mandolin.h >
@@ -26,7 +26,7 @@ This is a digital waveguide model, making its use possibly subject to patents he
Control Change Numbers:
Body Size = 2 Pluck Position = 4 String Sustain = 11 String Detuning = 1 Microphone Position = 128
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -66,7 +66,7 @@ void The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Mesh2D Member List This is the complete list of members for Mesh2D , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()Mesh2D
controlChange (int number, StkFloat value)Mesh2D [virtual]
energy ()Mesh2D
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
inputTick (StkFloat input)Mesh2D
Instrmnt ()Instrmnt
lastOut () const Instrmnt
@@ -26,14 +28,16 @@
noteOn (StkFloat frequency, StkFloat amplitude)Mesh2D [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setDecay (StkFloat decayFactor)Mesh2D
setFrequency (StkFloat frequency)Instrmnt [virtual]
setInputPosition (StkFloat xFactor, StkFloat yFactor)Mesh2D
setNX (short lenX)Mesh2D
setNY (short lenY)Mesh2D
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -55,7 +59,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Mesh2D Class Reference #include <Mesh2D.h >
@@ -85,7 +85,7 @@ void The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Messager Member List This is the complete list of members for Messager , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Messager ()Messager
popMessage (Skini::Message &message)Messager
printErrors (bool status)Stk [inline, static]
pushMessage (Skini::Message &message)Messager
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setScoreFile (const char *filename)Messager
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
@@ -43,7 +47,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Messager Class Reference #include <Messager.h >
@@ -23,7 +23,7 @@ This class reads and parses control messages from a variety of sources, such as
The various realtime message acquisition mechanisms (from MIDI, socket, or stdin) take place asynchronously, filling the message queue. A call to popMessage() will pop the next available control message from the queue and return it via the referenced Message structure. When a non-realtime scorefile is set, it is not possible to start reading realtime input messages (from MIDI, socket, or stdin). Likewise, it is not possible to read from a scorefile when a realtime input mechanism is running.
When MIDI input is started, input is also automatically read from stdin. This allows for program termination via the terminal window. An __SK_Exit_ message is pushed onto the stack whenever an "exit" or "Exit" message is received from stdin or when all socket connections close and no stdin thread is running.
This class is primarily for use in STK example programs but it is generic enough to work in many other contexts.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -212,7 +212,7 @@ This function creates an RtMidiIn in
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
MidiFileIn Member List This is the complete list of members for MidiFileIn , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
getDivision () const MidiFileIn
getFileFormat () const MidiFileIn
getNextEvent (std::vector< unsigned char > *event, unsigned int track=0)MidiFileIn
@@ -18,14 +19,17 @@
getTickSeconds (unsigned int track=0)MidiFileIn
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
MidiFileIn (std::string fileName)MidiFileIn
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
rewindTrack (unsigned int track=0)MidiFileIn
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -44,7 +48,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
MidiFileIn Class Reference #include <MidiFileIn.h >
@@ -261,7 +261,7 @@ All returned MIDI events are complete ... a status byte is provided even when ru
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Modal Member List This is the complete list of members for Modal , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()Modal
controlChange (int number, StkFloat value)=0Modal [pure virtual]
damp (StkFloat amplitude)Modal
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
lastOut () const Instrmnt
lastOutLeft () const Instrmnt
@@ -25,14 +27,16 @@
noteOn (StkFloat frequency, StkFloat amplitude)Modal [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setDirectGain (StkFloat aGain)Modal
setFrequency (StkFloat frequency)Modal [virtual]
setMasterGain (StkFloat aGain)Modal
setModeGain (unsigned int modeIndex, StkFloat gain)Modal
setRatioAndRadius (unsigned int modeIndex, StkFloat ratio, StkFloat radius)Modal
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -55,7 +59,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Modal Class Reference #include <Modal.h >
@@ -22,7 +22,7 @@
STK resonance model instrument.
This class contains an excitation wavetable, an envelope, an oscillator, and N resonances (non-sweeping BiQuad filters), where N is set during instantiation.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -116,7 +116,7 @@ An StkError will be thrown if the ra
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
ModalBar Member List This is the complete list of members for ModalBar , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()Modal
controlChange (int number, StkFloat value)ModalBar [virtual]
damp (StkFloat amplitude)Modal
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
lastOut () const Instrmnt
lastOutLeft () const Instrmnt
@@ -26,7 +28,9 @@
noteOn (StkFloat frequency, StkFloat amplitude)Modal [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setDirectGain (StkFloat aGain)Modal
setFrequency (StkFloat frequency)Modal [virtual]
setMasterGain (StkFloat aGain)Modal
@@ -35,7 +39,7 @@
setPreset (int preset)ModalBar
setRatioAndRadius (unsigned int modeIndex, StkFloat ratio, StkFloat radius)Modal
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setStickHardness (StkFloat hardness)ModalBar
setStrikePosition (StkFloat position)ModalBar
showWarnings (bool status)Stk [inline, static]
@@ -61,7 +65,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
ModalBar Class Reference #include <ModalBar.h >
@@ -27,7 +27,7 @@ Control Change Numbers:
Marimba = 0 Vibraphone = 1 Agogo = 2 Wood1 = 3 Reso = 4 Wood2 = 5 Beats = 6 Two Fixed = 7 Clump = 8
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -67,7 +67,7 @@ void The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Modulate Member List This is the complete list of members for Modulate , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
Generator (void)Generator
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut (void) const Generator [inline, virtual]
Modulate ()Modulate
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
reset ()Modulate
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setRandomGain (StkFloat gain)Modulate
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setVibratoGain (StkFloat gain)Modulate
setVibratoRate (StkFloat rate)Modulate
showWarnings (bool status)Stk [inline, static]
@@ -46,7 +50,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Modulate Class Reference #include <Modulate.h >
@@ -21,7 +21,7 @@
STK periodic/random modulator.
This class combines random and periodic modulations to give a nice, natural human modulation function.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -86,7 +86,7 @@ An StkError can be thrown if the raw
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Moog Member List This is the complete list of members for Moog , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()Sampler
controlChange (int number, StkFloat value)Moog [virtual]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
keyOff ()Sampler
keyOn ()Sampler
@@ -26,13 +28,15 @@
noteOn (StkFloat frequency, StkFloat amplitude)Moog [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
Sampler ()Sampler
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setFrequency (StkFloat frequency)Moog [virtual]
setModulationDepth (StkFloat mDepth)Moog
setModulationSpeed (StkFloat mSpeed)Moog
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -55,7 +59,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Moog Class Reference #include <Moog.h >
@@ -25,7 +25,7 @@ This instrument uses one attack wave, one looped wave, and an
Filter Q = 2Filter Sweep Rate = 4Vibrato Frequency = 11 Vibrato Gain = 1 Gain = 128
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -94,7 +94,7 @@ An StkError will be thrown if the ra
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Mutex Member List This is the complete list of members for Mutex , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lock (void)Mutex
Mutex ()Mutex
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
signal (void)Mutex
sleep (unsigned long milliseconds)Stk [static]
@@ -41,7 +45,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Mutex Class Reference #include <Mutex.h >
@@ -20,7 +20,7 @@
STK mutex class.
This class provides a uniform interface for cross-platform mutex use. On Linux and IRIX systems, the pthread library is used. Under Windows, critical sections are used.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -115,7 +115,7 @@ The mutex must be locked before calling this function, and then subsequently unl
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
NRev Member List This is the complete list of members for NRev , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()NRev [virtual]
Effect ()Effect
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut () const Effect
lastOutLeft () const Effect
lastOutRight () const Effect
NRev (StkFloat T60=1.0)NRev
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setEffectMix (StkFloat mix)Effect
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setT60 (StkFloat T60)NRev
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
@@ -47,7 +51,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
NRev Class Reference #include <NRev.h >
@@ -21,7 +21,7 @@
CCRMA's NRev reverberator class.
This class is derived from the CLM NRev function, which is based on the use of networks of simple allpass and comb delay filters. This particular arrangement consists of 6 comb filters in parallel, followed by 3 allpass filters, a lowpass filter, and another allpass in series, followed by two allpass filters in parallel with corresponding right and left outputs.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -49,7 +49,7 @@ void The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Noise Member List This is the complete list of members for Noise , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
Generator (void)Generator
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut (void) const Generator [inline, virtual]
Noise ()Noise
Noise (unsigned int seed)Noise
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setSeed (unsigned int seed=0)Noise
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
@@ -44,7 +48,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Noise Class Reference #include <Noise.h >
@@ -22,7 +22,7 @@
STK noise generator.
Generic random number generation using the C rand() function. The quality of the rand() function varies from one OS to another.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -110,7 +110,7 @@ If no seed is provided or the seed value is zero, the random number generator is
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
OnePole Member List This is the complete list of members for OnePole , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear (void)OnePole
Filter (void)Filter [protected]
Filter (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
getGain (void) const OnePole [virtual]
handleError (const char *message, StkError::Type type)Stk [protected, static]
handleError (std::string message, StkError::Type type)Stk [protected, static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline, protected]
lastOut (void) const OnePole [virtual]
OnePole ()OnePole
OnePole (StkFloat thePole)OnePole
printErrors (bool status)Stk [inline, protected, static]
rawwavePath (void)Stk [inline, protected, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, protected, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setA1 (StkFloat a1)OnePole
setB0 (StkFloat b0)OnePole
setCoefficients (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
@@ -31,7 +35,7 @@
setNumerator (std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
setPole (StkFloat thePole)OnePole
setRawwavePath (std::string path)Stk [protected, static]
- setSampleRate (StkFloat rate)Stk [inline, protected, static]
+ setSampleRate (StkFloat rate)Stk [protected, static]
showWarnings (bool status)Stk [inline, protected, static]
sleep (unsigned long milliseconds)Stk [protected, static]
Stk (void)Stk [protected]
@@ -53,7 +57,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
OnePole Class Reference #include <OnePole.h >
@@ -21,7 +21,7 @@
STK one-pole filter class.
This protected Filter subclass implements a one-pole digital filter. A method is provided for setting the pole position along the real axis of the z-plane while maintaining a constant peak filter gain.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -182,7 +182,7 @@ Reimplemented from Filter .
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
OneZero Member List This is the complete list of members for OneZero , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear (void)OneZero
Filter (void)Filter [protected]
Filter (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
getGain (void) const OneZero [virtual]
handleError (const char *message, StkError::Type type)Stk [protected, static]
handleError (std::string message, StkError::Type type)Stk [protected, static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline, protected]
lastOut (void) const OneZero [virtual]
OneZero ()OneZero
OneZero (StkFloat theZero)OneZero
printErrors (bool status)Stk [inline, protected, static]
rawwavePath (void)Stk [inline, protected, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, protected, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setB0 (StkFloat b0)OneZero
setB1 (StkFloat b1)OneZero
setCoefficients (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
@@ -30,7 +34,7 @@
setGain (StkFloat gain)OneZero [virtual]
setNumerator (std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
setRawwavePath (std::string path)Stk [protected, static]
- setSampleRate (StkFloat rate)Stk [inline, protected, static]
+ setSampleRate (StkFloat rate)Stk [protected, static]
setZero (StkFloat theZero)OneZero
showWarnings (bool status)Stk [inline, protected, static]
sleep (unsigned long milliseconds)Stk [protected, static]
@@ -53,7 +57,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
OneZero Class Reference #include <OneZero.h >
@@ -21,7 +21,7 @@
STK one-zero filter class.
This protected Filter subclass implements a one-zero digital filter. A method is provided for setting the zero position along the real axis of the z-plane while maintaining a constant filter gain.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -182,7 +182,7 @@ Reimplemented from Filter .
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
PRCRev Member List This is the complete list of members for PRCRev , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()PRCRev [virtual]
Effect ()Effect
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut () const Effect
lastOutLeft () const Effect
lastOutRight () const Effect
PRCRev (StkFloat T60=1.0)PRCRev
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setEffectMix (StkFloat mix)Effect
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setT60 (StkFloat T60)PRCRev
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
@@ -47,7 +51,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
PRCRev Class Reference #include <PRCRev.h >
@@ -21,7 +21,7 @@
Perry's simple reverberator class.
This class is based on some of the famous Stanford/CCRMA reverbs (NRev , KipRev), which were based on the Chowning/Moorer/Schroeder reverberators using networks of simple allpass and comb delay filters. This class implements two series allpass units and two parallel comb filters.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -49,7 +49,7 @@ void The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
PercFlut Member List This is the complete list of members for PercFlut , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()FM
controlChange (int number, StkFloat value)FM [virtual]
FM (unsigned int operators=4)FM
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
keyOff ()FM
keyOn ()FM
@@ -28,7 +30,9 @@
PercFlut ()PercFlut
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setControl1 (StkFloat cVal)FM
setControl2 (StkFloat cVal)FM
setFrequency (StkFloat frequency)PercFlut [virtual]
@@ -37,7 +41,7 @@
setModulationSpeed (StkFloat mSpeed)FM
setRatio (unsigned int waveIndex, StkFloat ratio)FM
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -60,7 +64,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
PercFlut Class Reference #include <PercFlut.h >
@@ -29,7 +29,7 @@ Control Change Numbers:
Total Modulator Index = 2 Modulator Crossfade = 4 LFO Speed = 11 LFO Depth = 1 ADSR 2 & 4 Target = 128
The basic Chowning/Stanford FM patent expired in 1995, but there exist follow-on patents, mostly assigned to Yamaha. If you are of the type who should worry about this (making money) worry away.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -86,7 +86,7 @@ An StkError will be thrown if the ra
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Phonemes Member List This is the complete list of members for Phonemes , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
formantFrequency (unsigned int index, unsigned int partial)Phonemes [static]
formantGain (unsigned int index, unsigned int partial)Phonemes [static]
formantRadius (unsigned int index, unsigned int partial)Phonemes [static]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
name (unsigned int index)Phonemes [static]
noiseGain (unsigned int index)Phonemes [static]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -41,7 +45,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Phonemes Class Reference #include <Phonemes.h >
@@ -20,7 +20,7 @@
STK phonemes table.
This class does nothing other than declare a set of 32 static phoneme formant parameters and provide access to those values.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
PitShift Member List This is the complete list of members for PitShift , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()PitShift [virtual]
Effect ()Effect
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut () const Effect
lastOutLeft () const Effect
lastOutRight () const Effect
PitShift ()PitShift
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setEffectMix (StkFloat mix)Effect
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setShift (StkFloat shift)PitShift
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
@@ -47,7 +51,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
PitShift Class Reference #include <PitShift.h >
@@ -21,7 +21,7 @@
STK simple pitch shifter effect class.
This class implements a simple pitch shifter using delay lines.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -49,7 +49,7 @@ void The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
PluckTwo Member List This is the complete list of members for PluckTwo , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()PluckTwo
controlChange (int number, StkFloat value)Instrmnt [virtual]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
lastOut () const Instrmnt
lastOutLeft () const Instrmnt
@@ -24,14 +26,16 @@
PluckTwo (StkFloat lowestFrequency)PluckTwo
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setBaseLoopGain (StkFloat aGain)PluckTwo
setDetune (StkFloat detune)PluckTwo
setFreqAndDetune (StkFloat frequency, StkFloat detune)PluckTwo
setFrequency (StkFloat frequency)PluckTwo [virtual]
setPluckPosition (StkFloat position)PluckTwo
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -53,7 +57,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
PluckTwo Class Reference #include <PluckTwo.h >
@@ -24,7 +24,7 @@ STK enhanced plucked string model class.
This class implements an enhanced two-string, plucked physical model, a la Jaffe-Smith, Smith, and others.
PluckTwo is an abstract class, with no excitation specified. Therefore, it can't be directly instantiated.
This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -102,7 +102,7 @@ The actual loop gain is set according to the frequency. Because of high-frequenc
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Plucked Member List This is the complete list of members for Plucked , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()Plucked
controlChange (int number, StkFloat value)Instrmnt [virtual]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
lastOut () const Instrmnt
lastOutLeft () const Instrmnt
@@ -25,10 +27,12 @@
Plucked (StkFloat lowestFrequency)Plucked
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setFrequency (StkFloat frequency)Plucked [virtual]
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -50,7 +54,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Plucked Class Reference #include <Plucked.h >
@@ -22,7 +22,7 @@ STK plucked string model class.
This class implements a simple plucked string physical model based on the Karplus-Strong algorithm.
This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others. There exist at least two patents, assigned to Stanford, bearing the names of Karplus and/or Strong.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
PoleZero Member List This is the complete list of members for PoleZero , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear (void)PoleZero
Filter (void)Filter [protected]
Filter (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
getGain (void) const PoleZero [virtual]
handleError (const char *message, StkError::Type type)Stk [protected, static]
handleError (std::string message, StkError::Type type)Stk [protected, static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline, protected]
lastOut (void) const PoleZero [virtual]
PoleZero ()PoleZero
printErrors (bool status)Stk [inline, protected, static]
rawwavePath (void)Stk [inline, protected, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, protected, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setA1 (StkFloat a1)PoleZero
setAllpass (StkFloat coefficient)PoleZero
setB0 (StkFloat b0)PoleZero
@@ -32,7 +36,7 @@
setGain (StkFloat gain)PoleZero [virtual]
setNumerator (std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
setRawwavePath (std::string path)Stk [protected, static]
- setSampleRate (StkFloat rate)Stk [inline, protected, static]
+ setSampleRate (StkFloat rate)Stk [protected, static]
showWarnings (bool status)Stk [inline, protected, static]
sleep (unsigned long milliseconds)Stk [protected, static]
Stk (void)Stk [protected]
@@ -54,7 +58,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
PoleZero Class Reference #include <PoleZero.h >
@@ -21,7 +21,7 @@
STK one-pole, one-zero filter class.
This protected Filter subclass implements a one-pole, one-zero digital filter. A method is provided for creating an allpass filter with a given coefficient. Another method is provided to create a DC blocking filter.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -215,7 +215,7 @@ Reimplemented from Filter .
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
ReedTable Member List This is the complete list of members for ReedTable , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
Function ()Function
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
lastOut () const Function [inline, virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
ReedTable ()ReedTable
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setOffset (StkFloat offset)ReedTable
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
setSlope (StkFloat slope)ReedTable
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
@@ -44,7 +48,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
ReedTable Class Reference #include <ReedTable.h >
@@ -22,7 +22,7 @@ STK reed table class.
This class implements a simple one breakpoint, non-linear reed function, as described by Smith (1986). This function is based on a memoryless non-linear spring model of the reed (the reed mass is ignored) which saturates when the reed collides with the mouthpiece facing.
See McIntyre, Schumacher, & Woodhouse (1983), Smith (1986), Hirschman, Cook, Scavone, and others for more information.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -109,7 +109,7 @@ The table slope roughly corresponds to the reed stiffness (a greater slope repre
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Resonate Member List This is the complete list of members for Resonate , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()Resonate
controlChange (int number, StkFloat value)Resonate [virtual]
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
keyOff ()Resonate
keyOn ()Resonate
@@ -25,14 +27,16 @@
noteOn (StkFloat frequency, StkFloat amplitude)Resonate [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
Resonate ()Resonate
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setEqualGainZeroes ()Resonate
setFrequency (StkFloat frequency)Instrmnt [virtual]
setNotch (StkFloat frequency, StkFloat radius)Resonate
setRawwavePath (std::string path)Stk [static]
setResonance (StkFloat frequency, StkFloat radius)Resonate
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -54,7 +58,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Resonate Class Reference #include <Resonate.h >
@@ -24,7 +24,7 @@ This instrument contains a noise source, which excites a biquad resonance filter
Control Change Numbers:
Resonance Frequency (0-Nyquist) = 2 Pole Radii = 4 Notch Frequency (0-Nyquist) = 11 Zero Radii = 1 Envelope Gain = 128
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -80,7 +80,7 @@ void The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Rhodey Member List This is the complete list of members for Rhodey , including all inherited members.
+ addSampleRateAlert (Stk *ptr)Stk [protected]
clear ()FM
controlChange (int number, StkFloat value)FM [virtual]
FM (unsigned int operators=4)FM
handleError (const char *message, StkError::Type type)Stk [static]
handleError (std::string message, StkError::Type type)Stk [static]
- handleError (StkError::Type type)Stk [protected]
+ handleError (StkError::Type type)Stk [protected]
+ ignoreSampleRateChange (bool ignore=true)Stk [inline]
Instrmnt ()Instrmnt
keyOff ()FM
keyOn ()FM
@@ -27,8 +29,10 @@
noteOn (StkFloat frequency, StkFloat amplitude)Rhodey [virtual]
printErrors (bool status)Stk [inline, static]
rawwavePath (void)Stk [inline, static]
+ removeSampleRateAlert (Stk *ptr)Stk [protected]
Rhodey ()Rhodey
sampleRate (void)Stk [inline, static]
+ sampleRateChanged (StkFloat newRate, StkFloat oldRate)Stk [protected, virtual]
setControl1 (StkFloat cVal)FM
setControl2 (StkFloat cVal)FM
setFrequency (StkFloat frequency)Rhodey [virtual]
@@ -37,7 +41,7 @@
setModulationSpeed (StkFloat mSpeed)FM
setRatio (unsigned int waveIndex, StkFloat ratio)FM
setRawwavePath (std::string path)Stk [static]
- setSampleRate (StkFloat rate)Stk [inline, static]
+ setSampleRate (StkFloat rate)Stk [static]
showWarnings (bool status)Stk [inline, static]
sleep (unsigned long milliseconds)Stk [static]
Stk (void)Stk [protected]
@@ -60,7 +64,7 @@
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
-Home Information Classes Download Usage Mail List Requirements Links Tutorial
+Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
Rhodey Class Reference #include <Rhodey.h >
@@ -30,7 +30,7 @@ Control Change Numbers:
Modulator Index One = 2 Crossfade of Outputs = 4 LFO Speed = 11 LFO Depth = 1 ADSR 2 & 4 Target = 128
The basic Chowning/Stanford FM patent expired in 1995, but there exist follow-on patents, mostly assigned to Yamaha. If you are of the type who should worry about this (making money) worry away.
-by Perry R. Cook and Gary P. Scavone, 1995 - 2005.
+by Perry R. Cook and Gary P. Scavone, 1995 - 2007.
@@ -87,7 +87,7 @@ An StkError will be thrown if the ra
The Synthesis ToolKit in C++ (STK)
- ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ ©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved.