]> git.treefish.org Git - seamulator.git/blobdiff - src/synthesizer.cpp
Play note on velocity sign change
[seamulator.git] / src / synthesizer.cpp
index 8352e7a692dcb17c716187dd9a8b3ddf571eb028..fb920ae465de765185cc049b5aeb811038db8787 100644 (file)
@@ -42,7 +42,7 @@ Synthesizer::Synthesizer(ConstWaterSurfacePtr surface) :
     m_startTime{std::chrono::system_clock::now()},
     m_lastRuntime{getRuntime()}
 {
     m_startTime{std::chrono::system_clock::now()},
     m_lastRuntime{getRuntime()}
 {
-    stk::Stk::setSampleRate( 44100.0 );
+    stk::Stk::setSampleRate( 48000.0 );
     stk::Stk::showWarnings( true );
 
     m_dac = std::make_unique<stk::RtWvOut>(2);
     stk::Stk::showWarnings( true );
 
     m_dac = std::make_unique<stk::RtWvOut>(2);