mirror of
https://github.com/thestk/stk
synced 2026-01-11 20:11:52 +00:00
Sample rate fix in effects.cpp, revised code in PitShift for hanning windowing.
This commit is contained in:
@@ -219,17 +219,17 @@ int tick( void *outputBuffer, void *inputBuffer, unsigned int nBufferFrames,
|
||||
|
||||
int main( int argc, char *argv[] )
|
||||
{
|
||||
// If you want to change the default sample rate (set in Stk.h), do
|
||||
// it before instantiating any objects! If the sample rate is
|
||||
// specified in the command line, it will override this setting.
|
||||
Stk::setSampleRate( 48000.0 );
|
||||
|
||||
TickData data;
|
||||
RtAudio adac;
|
||||
int i;
|
||||
|
||||
if ( argc < 2 || argc > 6 ) usage();
|
||||
|
||||
// If you want to change the default sample rate (set in Stk.h), do
|
||||
// it before instantiating any objects! If the sample rate is
|
||||
// specified in the command line, it will override this setting.
|
||||
Stk::setSampleRate( 48000.0 );
|
||||
|
||||
// Parse the command-line arguments.
|
||||
unsigned int port = 2001;
|
||||
for ( i=1; i<argc; i++ ) {
|
||||
|
||||
Reference in New Issue
Block a user