Showing the changes to src/core/uana_extract.cpp (1 of 9 files). Show all
Unified · Split
| @@ -308,7 +308,7 @@ DLL_QUERY extract_query( Chuck_DL_Query * QUERY ) · 307 unmodified lines | ||
| 308 | 308 | //--------------------------------------------------------------------- |
| 309 | 309 | |
| 310 | 310 | doc = |
| 311 | − "A unit analyzer that computes the RMS power mean from a magnitude spectrum (either from an incoming UAna, or given manually), and outputs a single number."; | |
| 311 | + "A unit analyzer that computes the root-mean-square (RMS) power mean from a magnitude spectrum (either from an incoming UAna, or given manually), and outputs a single number."; | |
| 312 | 312 | |
| 313 | 313 | if( !type_engine_import_uana_begin( env, "RMS", "UAna", env->global(), |
| 314 | 314 | NULL, NULL, |
| @@ -535,7 +535,6 @@ DLL_QUERY extract_query( Chuck_DL_Query * QUERY ) · 220 unmodified lines | ||
| 535 | 535 | //--------------------------------------------------------------------- |
| 536 | 536 | // init as base class: RollOff |
| 537 | 537 | //--------------------------------------------------------------------- |
| 538 | − | |
| 539 | 538 | doc = |
| 540 | 539 | "A unit analyzer that computes the spectral rolloff from a magnitude spectrum (either from incoming UAna, or given manually), and outputs a single number."; |
| 541 | 540 | |
| @@ -578,9 +577,14 @@ DLL_QUERY extract_query( Chuck_DL_Query * QUERY ) · 36 unmodified lines | ||
| 578 | 577 | //--------------------------------------------------------------------- |
| 579 | 578 | // init as base class: AutoCorr |
| 580 | 579 | //--------------------------------------------------------------------- |
| 580 | + doc = | |
| 581 | + "A unit analyzer that computes auto-correlation of the incoming analysis frame."; | |
| 582 | + | |
| 581 | 583 | if( !type_engine_import_uana_begin( env, "AutoCorr", "UAna", env->global(), |
| 582 | 584 | AutoCorr_ctor, AutoCorr_dtor, |
| 583 | − AutoCorr_tick, AutoCorr_tock, AutoCorr_pmsg ) ) | |
| 585 | + AutoCorr_tick, AutoCorr_tock, AutoCorr_pmsg, | |
| 586 | + CK_NO_VALUE, CK_NO_VALUE, CK_NO_VALUE, CK_NO_VALUE, | |
| 587 | + doc.c_str() ) ) | |
| 584 | 588 | return FALSE; |
| 585 | 589 | |
| 586 | 590 | // data offset |
| @@ -612,9 +616,14 @@ DLL_QUERY extract_query( Chuck_DL_Query * QUERY ) · 25 unmodified lines | ||
| 612 | 616 | //--------------------------------------------------------------------- |
| 613 | 617 | // init as base class: XCorr |
| 614 | 618 | //--------------------------------------------------------------------- |
| 619 | + doc = | |
| 620 | + "A unit analyzer that computes cross-correlation between two incoming analysis frames."; | |
| 621 | + | |
| 615 | 622 | if( !type_engine_import_uana_begin( env, "XCorr", "UAna", env->global(), |
| 616 | 623 | XCorr_ctor, XCorr_dtor, |
| 617 | − XCorr_tick, XCorr_tock, XCorr_pmsg ) ) | |
| 624 | + XCorr_tick, XCorr_tock, XCorr_pmsg, | |
| 625 | + CK_NO_VALUE, CK_NO_VALUE, CK_NO_VALUE, CK_NO_VALUE, | |
| 626 | + doc.c_str() ) ) | |
| 618 | 627 | return FALSE; |
| 619 | 628 | |
| 620 | 629 | // data offset |