Revision 600:956074cc1f7c
| .hgsubstate | ||
|---|---|---|
| 1 |
6a8eec962ffaafbcf3945a29d6985bcaac36671a ext |
|
| 1 |
6ec6161376308ba8690f1d802d6b888a6dcf040b ext |
|
| src/may/stream/test/test_waves.yeti | ||
|---|---|---|
| 52 | 52 |
compareApprox epsilon (vec.list (mat.getRow 0 (str.read 11))) [ 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0 ] and |
| 53 | 53 |
compare str.position 11 |
| 54 | 54 |
), |
| 55 |
|
|
| 55 |
/* |
|
| 56 | 56 |
"impulseTrain-bandlimited": \( |
| 57 | 57 |
// 3 pulses a second sampled 10 times a second |
| 58 | 58 |
str = wav.impulseTrain 100 3; |
| 59 | 59 |
|
| 60 | 60 |
x = mat.getRow 0 (str.read 200); |
| 61 | 61 |
false; //!!! todo |
| 62 |
*/ |
|
| 62 | 63 |
/* |
| 63 | 64 |
compare str.position 0 and |
| 64 | 65 |
compare str.channels 1 and |
| ... | ... | |
| 69 | 70 |
[ 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0 ] and |
| 70 | 71 |
compare str.position 14 |
| 71 | 72 |
*/ |
| 72 |
), |
|
| 73 |
//),
|
|
| 73 | 74 |
|
| 74 | 75 |
"cycleLengthFor": \( |
| 75 | 76 |
compare (wav.cycleLengthFor 48000 1000) 48 and |
| src/may/vamp/test/test_vamp.yeti | ||
|---|---|---|
| 31 | 31 |
"version": \( |
| 32 | 32 |
case v.loadPlugin rate testPluginKey of |
| 33 | 33 |
Error e: (eprintln "version: Error: \(e)"; false); |
| 34 |
OK plugin: compare plugin.version 4;
|
|
| 34 |
OK plugin: compare plugin.version 5;
|
|
| 35 | 35 |
esac |
| 36 | 36 |
), |
| 37 | 37 |
|
Also available in: Unified diff