| @@ -1256,10 +1256,10 @@ DLL_QUERY stk_query( Chuck_DL_Query * QUERY ) · 1255 unmodified lines |
| 1256 | 1256 | //! \section stk - instruments |
| 1257 | 1257 | |
| 1258 | 1258 | //------------------------------------------------------------------------ |
| 1259 | | − // begin Instrmnt ugen |
| 1259 | + // begin StkInstrument UGen |
| 1260 | 1260 | //------------------------------------------------------------------------ |
| 1261 | 1261 | |
| 1262 | | − doc = "Super-class for STK instruments."; |
| 1262 | + doc = "base class for STK instruments."; |
| 1263 | 1263 | |
| 1264 | 1264 | if( !type_engine_import_ugen_begin( env, "StkInstrument", "UGen", env->global(), |
| 1265 | 1265 | Instrmnt_ctor, NULL, Instrmnt_tick, Instrmnt_pmsg, |
| @@ -1270,27 +1270,27 @@ DLL_QUERY stk_query( Chuck_DL_Query * QUERY ) · 4 unmodified lines |
| 1270 | 1270 | |
| 1271 | 1271 | func = make_new_mfun( "float", "noteOn", Instrmnt_ctrl_noteOn ); //! note on |
| 1272 | 1272 | func->add_arg( "float", "value" ); |
| 1273 | | − func->doc = "Trigger note on."; |
| 1273 | + func->doc = "trigger note on."; |
| 1274 | 1274 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1275 | 1275 | |
| 1276 | 1276 | func = make_new_mfun( "float", "noteOff", Instrmnt_ctrl_noteOff ); //! note off |
| 1277 | 1277 | func->add_arg( "float", "value" ); |
| 1278 | | − func->doc = "Trigger note off."; |
| 1278 | + func->doc = "trigger note off."; |
| 1279 | 1279 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1280 | 1280 | |
| 1281 | 1281 | func = make_new_mfun( "float", "freq", Instrmnt_ctrl_freq ); //! frequency |
| 1282 | 1282 | func->add_arg( "float", "value" ); |
| 1283 | | − func->doc = "Set frequency."; |
| 1283 | + func->doc = "set frequency."; |
| 1284 | 1284 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1285 | 1285 | |
| 1286 | 1286 | func = make_new_mfun( "float", "freq", Instrmnt_cget_freq ); //! frequency |
| 1287 | | − func->doc = "Get frequency."; |
| 1287 | + func->doc = "get frequency."; |
| 1288 | 1288 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1289 | 1289 | |
| 1290 | 1290 | func = make_new_mfun( "void", "controlChange", Instrmnt_ctrl_controlChange ); //! control change |
| 1291 | 1291 | func->add_arg( "int", "ctrl" ); |
| 1292 | 1292 | func->add_arg( "float", "value" ); |
| 1293 | | − func->doc = "Assert control change; numbers are instrument specific, value range: [0.0 - 128.0]"; |
| 1293 | + func->doc = "assert control change; numbers are instrument specific, value range: [0.0 - 127.0]"; |
| 1294 | 1294 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1295 | 1295 | |
| 1296 | 1296 | // end the class import |
| @@ -1301,7 +1301,7 @@ DLL_QUERY stk_query( Chuck_DL_Query * QUERY ) · 4 unmodified lines |
| 1301 | 1301 | // begin BandedWG ugen |
| 1302 | 1302 | //------------------------------------------------------------------------ |
| 1303 | 1303 | |
| 1304 | | − doc = "This class uses banded waveguide techniques to model a variety of sounds, including bowed bars, glasses, and bowls. For more information, see Essl, G. and Cook, P. 'Banded Waveguides: Towards Physical Modelling of Bar Percussion Instruments', Proceedings of the 1999 International Computer Music Conference.\n\ |
| 1304 | + doc = "a banded waveguide model for generating a variety of sounds, including bowed bars, glasses, and bowls. For more information, see Essl and Cook 'Banded Waveguides: Towards Physical Modelling of Bar Percussion Instruments', In Proceedings of the 1999 International Computer Music Conference.\n\ |
| 1305 | 1305 | \n\ |
| 1306 | 1306 | Control Change Numbers:\n\ |
| 1307 | 1307 | \n\ |
| @@ -1334,80 +1334,80 @@ Modified for Stk 4.0 by Gary Scavone."; · 26 unmodified lines |
| 1334 | 1334 | |
| 1335 | 1335 | func = make_new_mfun( "float", "pluck", BandedWG_ctrl_pluck ); //! pluck waveguide |
| 1336 | 1336 | func->add_arg( "float", "value" ); |
| 1337 | | − func->doc = "Pluck instrument, [0.0-1.0]."; |
| 1337 | + func->doc = "pluck instrument, [0.0-1.0]."; |
| 1338 | 1338 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1339 | 1339 | |
| 1340 | 1340 | func = make_new_mfun( "float", "startBowing", BandedWG_ctrl_startBowing ); //! startBowing |
| 1341 | 1341 | func->add_arg( "float", "value" ); |
| 1342 | | − func->doc = "Start bowing, [0.0-1.0]."; |
| 1342 | + func->doc = "start bowing, [0.0-1.0]."; |
| 1343 | 1343 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1344 | 1344 | |
| 1345 | 1345 | func = make_new_mfun( "float", "stopBowing", BandedWG_ctrl_stopBowing ); //! stopBowing |
| 1346 | 1346 | func->add_arg( "float", "value" ); |
| 1347 | | − func->doc = "Stop bowing, [0.0-1.0]."; |
| 1347 | + func->doc = "stop bowing, [0.0-1.0]."; |
| 1348 | 1348 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1349 | 1349 | |
| 1350 | 1350 | func = make_new_mfun( "float", "bowRate", BandedWG_ctrl_bowRate ); //! strike bowRate |
| 1351 | 1351 | func->add_arg( "float", "value" ); |
| 1352 | | − func->doc = "Set bowing rate (seconds)."; |
| 1352 | + func->doc = "set bowing rate (seconds)."; |
| 1353 | 1353 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1354 | 1354 | |
| 1355 | 1355 | func = make_new_mfun( "float", "bowRate", BandedWG_cget_bowRate ); //! strike bowRate |
| 1356 | | − func->doc = "Get bowing rate (seconds)."; |
| 1356 | + func->doc = "get bowing rate (seconds)."; |
| 1357 | 1357 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1358 | 1358 | |
| 1359 | 1359 | func = make_new_mfun( "float", "bowPressure", BandedWG_ctrl_bowPressure ); //! bowPressure |
| 1360 | 1360 | func->add_arg( "float", "value" ); |
| 1361 | | − func->doc = "Set bow pressure, [0.0-1.0]."; |
| 1361 | + func->doc = "set bow pressure, [0.0-1.0]."; |
| 1362 | 1362 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1363 | 1363 | |
| 1364 | 1364 | func = make_new_mfun( "float", "bowPressure", BandedWG_cget_bowPressure ); //! bowPressure |
| 1365 | | − func->doc = "Get bow pressure, [0.0-1.0]."; |
| 1365 | + func->doc = "get bow pressure, [0.0-1.0]."; |
| 1366 | 1366 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1367 | 1367 | |
| 1368 | 1368 | func = make_new_mfun( "float", "bowMotion", BandedWG_ctrl_bowMotion ); //! bowMotion |
| 1369 | 1369 | func->add_arg( "float", "value" ); |
| 1370 | | − func->doc = "Set bow motion, [0.0-1.0]."; |
| 1370 | + func->doc = "set bow motion, [0.0-1.0]."; |
| 1371 | 1371 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1372 | 1372 | |
| 1373 | 1373 | func = make_new_mfun( "float", "bowMotion", BandedWG_cget_bowMotion ); //! bowMotion |
| 1374 | | − func->doc = "Get bow motion, [0.0-1.0]."; |
| 1374 | + func->doc = "get bow motion, [0.0-1.0]."; |
| 1375 | 1375 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1376 | 1376 | |
| 1377 | 1377 | func = make_new_mfun( "float", "integrationConstant", BandedWG_ctrl_vibratoFreq ); //! vibratoFreq |
| 1378 | 1378 | func->add_arg( "float", "value" ); |
| 1379 | | − func->doc = "Set integration constant, vibrato frequency."; |
| 1379 | + func->doc = "set integration constant, vibrato frequency."; |
| 1380 | 1380 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1381 | 1381 | |
| 1382 | 1382 | func = make_new_mfun( "float", "integrationConstant", BandedWG_cget_vibratoFreq ); //! vibratoFreq |
| 1383 | | − func->doc = "Get integration constant, vibrato frequency."; |
| 1383 | + func->doc = "get integration constant, vibrato frequency."; |
| 1384 | 1384 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1385 | 1385 | |
| 1386 | 1386 | func = make_new_mfun( "float", "modesGain", BandedWG_ctrl_modesGain ); //! modesGain |
| 1387 | 1387 | func->add_arg( "float", "value" ); |
| 1388 | | − func->doc = "Set amplitude for modes."; |
| 1388 | + func->doc = "set amplitude for modes."; |
| 1389 | 1389 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1390 | 1390 | |
| 1391 | 1391 | func = make_new_mfun( "float", "modesGain", BandedWG_cget_modesGain ); //! modesGain |
| 1392 | | − func->doc = "Get amplitude for modes."; |
| 1392 | + func->doc = "get amplitude for modes."; |
| 1393 | 1393 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1394 | 1394 | |
| 1395 | 1395 | func = make_new_mfun( "int", "preset", BandedWG_ctrl_preset ); //! preset |
| 1396 | 1396 | func->add_arg( "int", "value" ); |
| 1397 | | − func->doc = "Set instrument preset, (0-3, see above)."; |
| 1397 | + func->doc = "set instrument preset, (0-3, see above)."; |
| 1398 | 1398 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1399 | 1399 | |
| 1400 | 1400 | func = make_new_mfun( "int", "preset", BandedWG_cget_preset ); //! preset |
| 1401 | | − func->doc = "Get instrument preset, (0-3, see above)."; |
| 1401 | + func->doc = "get instrument preset, (0-3, see above)."; |
| 1402 | 1402 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1403 | 1403 | |
| 1404 | 1404 | func = make_new_mfun( "float", "strikePosition", BandedWG_ctrl_strikePosition ); //! strike Position |
| 1405 | 1405 | func->add_arg( "float", "value" ); |
| 1406 | | − func->doc = "Set strike position, [0.0-1.0]."; |
| 1406 | + func->doc = "set strike position, [0.0-1.0]."; |
| 1407 | 1407 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1408 | 1408 | |
| 1409 | 1409 | func = make_new_mfun( "float", "strikePosition", BandedWG_cget_strikePosition ); //! strike Position |
| 1410 | | − func->doc = "Get strike position, [0.0-1.0]."; |
| 1410 | + func->doc = "get strike position, [0.0-1.0]."; |
| 1411 | 1411 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1412 | 1412 | |
| 1413 | 1413 | // end the class import |
| @@ -1418,7 +1418,7 @@ Modified for Stk 4.0 by Gary Scavone."; · 4 unmodified lines |
| 1418 | 1418 | // begin BlowBotl ugen |
| 1419 | 1419 | //------------------------------------------------------------------------ |
| 1420 | 1420 | |
| 1421 | | − doc = "This class implements a helmholtz resonator (biquad filter) with a polynomial jet excitation (a la Cook).\n\ |
| 1421 | + doc = "a helmholtz resonator (BiQuad filter) with a polynomial jet excitation (a la Cook).\n\ |
| 1422 | 1422 | \n\ |
| 1423 | 1423 | Control Change Numbers:\n\ |
| 1424 | 1424 | \n\ |
| @@ -1442,57 +1442,57 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002"; · 17 unmodified lines |
| 1442 | 1442 | |
| 1443 | 1443 | func = make_new_mfun( "float", "startBlowing", BlowBotl_ctrl_startBlowing ); //! note on |
| 1444 | 1444 | func->add_arg( "float", "value" ); |
| 1445 | | − func->doc = "Start blowing, [0.0-1.0]."; |
| 1445 | + func->doc = "start blowing, [0.0-1.0]."; |
| 1446 | 1446 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1447 | 1447 | |
| 1448 | 1448 | func = make_new_mfun( "float", "stopBlowing", BlowBotl_ctrl_stopBlowing ); //! note on |
| 1449 | 1449 | func->add_arg( "float", "value" ); |
| 1450 | | − func->doc = "Stop blowing, [0.0-1.0]."; |
| 1450 | + func->doc = "stop blowing, [0.0-1.0]."; |
| 1451 | 1451 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1452 | 1452 | |
| 1453 | 1453 | func = make_new_mfun( "float", "rate", BlowBotl_ctrl_rate ); //! attack rate |
| 1454 | 1454 | func->add_arg( "float", "value" ); |
| 1455 | | − func->doc = "Set rate of attack"; |
| 1455 | + func->doc = "set rate of attack"; |
| 1456 | 1456 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1457 | 1457 | |
| 1458 | 1458 | func = make_new_mfun( "float", "rate", BlowBotl_cget_rate ); //! attack rate |
| 1459 | | − func->doc = "Get rate of attack"; |
| 1459 | + func->doc = "get rate of attack"; |
| 1460 | 1460 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1461 | 1461 | |
| 1462 | 1462 | func = make_new_mfun( "float", "noiseGain", BlowBotl_ctrl_noiseGain ); //! noiseGain |
| 1463 | 1463 | func->add_arg( "float", "value" ); |
| 1464 | | − func->doc = "Set noise component gain, [0.0-1.0]."; |
| 1464 | + func->doc = "set noise component gain, [0.0-1.0]."; |
| 1465 | 1465 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1466 | 1466 | |
| 1467 | 1467 | func = make_new_mfun( "float", "noiseGain", BlowBotl_cget_noiseGain ); //! noiseGain |
| 1468 | | − func->doc = "Get noise component gain, [0.0-1.0]."; |
| 1468 | + func->doc = "get noise component gain, [0.0-1.0]."; |
| 1469 | 1469 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1470 | 1470 | |
| 1471 | 1471 | func = make_new_mfun( "float", "vibratoFreq", BlowBotl_ctrl_vibratoFreq ); //! vibratoFreq |
| 1472 | 1472 | func->add_arg( "float", "value" ); |
| 1473 | | − func->doc = "Set vibrato frequency (Hz)."; |
| 1473 | + func->doc = "set vibrato frequency (Hz)."; |
| 1474 | 1474 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1475 | 1475 | |
| 1476 | 1476 | func = make_new_mfun( "float", "vibratoFreq", BlowBotl_cget_vibratoFreq ); //! vibratoFreq |
| 1477 | | − func->doc = "Get vibrato frequency (Hz)."; |
| 1477 | + func->doc = "get vibrato frequency (Hz)."; |
| 1478 | 1478 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1479 | 1479 | |
| 1480 | 1480 | func = make_new_mfun( "float", "vibratoGain", BlowBotl_ctrl_vibratoGain ); //! vibratoGain |
| 1481 | 1481 | func->add_arg( "float", "value" ); |
| 1482 | | − func->doc = "Set vibrato gain, [0.0-1.0]."; |
| 1482 | + func->doc = "set vibrato gain, [0.0-1.0]."; |
| 1483 | 1483 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1484 | 1484 | |
| 1485 | 1485 | func = make_new_mfun( "float", "vibratoGain", BlowBotl_cget_vibratoGain ); //! vibratoGain |
| 1486 | | − func->doc = "Get vibrato gain, [0.0-1.0]."; |
| 1486 | + func->doc = "get vibrato gain, [0.0-1.0]."; |
| 1487 | 1487 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1488 | 1488 | |
| 1489 | 1489 | func = make_new_mfun( "float", "volume", BlowBotl_ctrl_volume ); //! volume |
| 1490 | 1490 | func->add_arg( "float", "value" ); |
| 1491 | | − func->doc = "Set volume, [0.0-1.0]."; |
| 1491 | + func->doc = "set volume, [0.0-1.0]."; |
| 1492 | 1492 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1493 | 1493 | |
| 1494 | 1494 | func = make_new_mfun( "float", "volume", BlowBotl_cget_volume ); //! volume |
| 1495 | | − func->doc = "Get volume, [0.0-1.0]."; |
| 1495 | + func->doc = "get volume, [0.0-1.0]."; |
| 1496 | 1496 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1497 | 1497 | |
| 1498 | 1498 | // end the class import |
| @@ -1504,9 +1504,9 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002"; · 5 unmodified lines |
| 1504 | 1504 | // begin BlowHole ugen |
| 1505 | 1505 | //------------------------------------------------------------------------ |
| 1506 | 1506 | |
| 1507 | | − doc = "This class is based on the clarinet model, with the addition of a two-port register hole and a three-port dynamic tonehole implementation, as discussed by Scavone and Cook (1998).\n\ |
| 1507 | + doc = "based on the clarinet model, with the addition of a two-port register hole and a three-port dynamic tonehole implementation, as discussed by Scavone and Cook (1998).\n\ |
| 1508 | 1508 | \n\ |
| 1509 | | −In this implementation, the distances between the reed/register hole and tonehole/bell are fixed. As a result, both the tonehole and register hole will have variable influence on the playing frequency, which is dependent on the length of the air column. In addition, the highest playing freqeuency is limited by these fixed lengths. This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others.\n\ |
| 1509 | +In this implementation, the distances between the reed/register hole and tonehole/bell are fixed. As a result, both the tonehole and register hole will have variable influence on the playing frequency, which is dependent on the length of the air column. In addition, the highest playing freqeuency is limited by these fixed lengths. This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others.\n\ |
| 1510 | 1510 | \n\ |
| 1511 | 1511 | Control Change Numbers:\n\ |
| 1512 | 1512 | \n\ |
| @@ -1531,66 +1531,66 @@ Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 18 unmodified lines |
| 1531 | 1531 | |
| 1532 | 1532 | func = make_new_mfun( "float", "startBlowing", BlowHole_ctrl_startBlowing ); //! note on |
| 1533 | 1533 | func->add_arg( "float", "value" ); |
| 1534 | | − func->doc = "Start blowing, [0.0-1.0]"; |
| 1534 | + func->doc = "start blowing, [0.0-1.0]"; |
| 1535 | 1535 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1536 | 1536 | |
| 1537 | 1537 | func = make_new_mfun( "float", "stopBlowing", BlowHole_ctrl_stopBlowing ); //! note on |
| 1538 | 1538 | func->add_arg( "float", "value" ); |
| 1539 | | − func->doc = "Stop blowing, [0.0-1.0]"; |
| 1539 | + func->doc = "stop blowing, [0.0-1.0]"; |
| 1540 | 1540 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1541 | 1541 | |
| 1542 | 1542 | func = make_new_mfun( "float", "vent", BlowHole_ctrl_vent ); //! vent frequency |
| 1543 | 1543 | func->add_arg( "float", "value" ); |
| 1544 | | − func->doc = "Set vent frequency, [0.0-1.0]."; |
| 1544 | + func->doc = "set vent frequency, [0.0-1.0]."; |
| 1545 | 1545 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1546 | 1546 | |
| 1547 | 1547 | func = make_new_mfun( "float", "vent", BlowHole_cget_vent ); //! vent frequency |
| 1548 | | − func->doc = "Get vent frequency, [0.0-1.0]."; |
| 1548 | + func->doc = "get vent frequency, [0.0-1.0]."; |
| 1549 | 1549 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1550 | 1550 | |
| 1551 | 1551 | func = make_new_mfun( "float", "tonehole", BlowHole_ctrl_tonehole ); //! tonehole size |
| 1552 | 1552 | func->add_arg( "float", "value" ); |
| 1553 | | − func->doc = "Set tonehole size, [0.0-1.0]."; |
| 1553 | + func->doc = "set tonehole size, [0.0-1.0]."; |
| 1554 | 1554 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1555 | 1555 | |
| 1556 | 1556 | func = make_new_mfun( "float", "tonehole", BlowHole_cget_tonehole ); //! tonehole size |
| 1557 | | − func->doc = "Get tonehole size, [0.0-1.0]."; |
| 1557 | + func->doc = "get tonehole size, [0.0-1.0]."; |
| 1558 | 1558 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1559 | 1559 | |
| 1560 | 1560 | func = make_new_mfun( "float", "reed", BlowHole_ctrl_reed ); //! reed stiffness |
| 1561 | 1561 | func->add_arg( "float", "value" ); |
| 1562 | | − func->doc = "Set reed stiffness, [0.0-1.0]."; |
| 1562 | + func->doc = "set reed stiffness, [0.0-1.0]."; |
| 1563 | 1563 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1564 | 1564 | |
| 1565 | 1565 | func = make_new_mfun( "float", "reed", BlowHole_cget_reed ); //! reed stiffness |
| 1566 | | − func->doc = "Get reed stiffness, [0.0-1.0]."; |
| 1566 | + func->doc = "get reed stiffness, [0.0-1.0]."; |
| 1567 | 1567 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1568 | 1568 | |
| 1569 | 1569 | func = make_new_mfun( "float", "rate", BlowHole_ctrl_rate ); //! attack rate |
| 1570 | 1570 | func->add_arg( "float", "value" ); |
| 1571 | | − func->doc = "Set rate of attack, [0.0-1.0]."; |
| 1571 | + func->doc = "set rate of attack, [0.0-1.0]."; |
| 1572 | 1572 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1573 | 1573 | |
| 1574 | 1574 | func = make_new_mfun( "float", "rate", BlowHole_cget_rate ); //! attack rate |
| 1575 | | − func->doc = "Get rate of attack, [0.0-1.0]."; |
| 1575 | + func->doc = "get rate of attack, [0.0-1.0]."; |
| 1576 | 1576 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1577 | 1577 | |
| 1578 | 1578 | func = make_new_mfun( "float", "noiseGain", BlowHole_ctrl_noiseGain ); //! noise gain |
| 1579 | 1579 | func->add_arg( "float", "value" ); |
| 1580 | | − func->doc = "Set noise component gain, [0.0-1.0]."; |
| 1580 | + func->doc = "set noise component gain, [0.0-1.0]."; |
| 1581 | 1581 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1582 | 1582 | |
| 1583 | 1583 | func = make_new_mfun( "float", "noiseGain", BlowHole_cget_noiseGain ); //! noise gain |
| 1584 | | − func->doc = "Get noise component gain, [0.0-1.0]."; |
| 1584 | + func->doc = "get noise component gain, [0.0-1.0]."; |
| 1585 | 1585 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1586 | 1586 | |
| 1587 | 1587 | func = make_new_mfun( "float", "pressure", BlowHole_ctrl_pressure ); //! breath pressure |
| 1588 | 1588 | func->add_arg( "float", "value" ); |
| 1589 | | − func->doc = "Set pressure, [0.0-1.0]."; |
| 1589 | + func->doc = "set pressure, [0.0-1.0]."; |
| 1590 | 1590 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1591 | 1591 | |
| 1592 | 1592 | func = make_new_mfun( "float", "pressure", BlowHole_cget_pressure ); //! breath pressure |
| 1593 | | − func->doc = "Get pressure, [0.0-1.0]."; |
| 1593 | + func->doc = "get pressure, [0.0-1.0]."; |
| 1594 | 1594 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1595 | 1595 | |
| 1596 | 1596 | // end the class import |
| @@ -1601,7 +1601,7 @@ Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 1601 | 1601 | // begin Bowed ugen |
| 1602 | 1602 | //------------------------------------------------------------------------ |
| 1603 | 1603 | |
| 1604 | | − doc = "This class implements a bowed string model, a la Smith (1986), after McIntyre, Schumacher, Woodhouse (1983).\n\ |
| 1604 | + doc = "a bowed string model, a la Smith (1986), after McIntyre, Schumacher, Woodhouse (1983).\n\ |
| 1605 | 1605 | \n\ |
| 1606 | 1606 | This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others.\n\ |
| 1607 | 1607 | \n\ |
| @@ -1628,57 +1628,57 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 20 unmodified lines |
| 1628 | 1628 | |
| 1629 | 1629 | func = make_new_mfun( "float", "startBowing", Bowed_ctrl_startBowing ); //! begin bowing instrument |
| 1630 | 1630 | func->add_arg( "float", "value" ); |
| 1631 | | − func->doc = "Start bowing, [0.0-1.0]."; |
| 1631 | + func->doc = "start bowing, [0.0-1.0]."; |
| 1632 | 1632 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1633 | 1633 | |
| 1634 | 1634 | func = make_new_mfun( "float", "stopBowing", Bowed_ctrl_stopBowing ); //! stop bowing |
| 1635 | 1635 | func->add_arg( "float", "value" ); |
| 1636 | | − func->doc = "Stop bowing, [0.0-1.0]."; |
| 1636 | + func->doc = "stop bowing, [0.0-1.0]."; |
| 1637 | 1637 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1638 | 1638 | |
| 1639 | 1639 | func = make_new_mfun( "float", "bowPressure", Bowed_ctrl_bowPressure ); //! bowPressure |
| 1640 | 1640 | func->add_arg( "float", "value" ); |
| 1641 | | − func->doc = "Set bow pressure, [0.0-1.0]"; |
| 1641 | + func->doc = "set bow pressure, [0.0-1.0]"; |
| 1642 | 1642 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1643 | 1643 | |
| 1644 | 1644 | func = make_new_mfun( "float", "bowPressure", Bowed_cget_bowPressure ); //! bowPressure |
| 1645 | | − func->doc = "Get bow pressure, [0.0-1.0]"; |
| 1645 | + func->doc = "get bow pressure, [0.0-1.0]"; |
| 1646 | 1646 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1647 | 1647 | |
| 1648 | 1648 | func = make_new_mfun( "float", "bowPosition", Bowed_ctrl_bowPos ); //! bowPos |
| 1649 | 1649 | func->add_arg( "float", "value" ); |
| 1650 | | − func->doc = "Set bow position, [0.0-1.0]"; |
| 1650 | + func->doc = "set bow position, [0.0-1.0]"; |
| 1651 | 1651 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1652 | 1652 | |
| 1653 | 1653 | func = make_new_mfun( "float", "bowPosition", Bowed_cget_bowPos ); //! bowPos |
| 1654 | | − func->doc = "Get bow position, [0.0-1.0]"; |
| 1654 | + func->doc = "get bow position, [0.0-1.0]"; |
| 1655 | 1655 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1656 | 1656 | |
| 1657 | 1657 | func = make_new_mfun( "float", "vibratoFreq", Bowed_ctrl_vibratoFreq ); //! vibratoFreq |
| 1658 | 1658 | func->add_arg( "float", "value" ); |
| 1659 | | − func->doc = "Set vibrato frequency (Hz)."; |
| 1659 | + func->doc = "set vibrato frequency (Hz)."; |
| 1660 | 1660 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1661 | 1661 | |
| 1662 | 1662 | func = make_new_mfun( "float", "vibratoFreq", Bowed_cget_vibratoFreq ); //! vibratoFreq |
| 1663 | | − func->doc = "Get vibrato frequency (Hz)."; |
| 1663 | + func->doc = "get vibrato frequency (Hz)."; |
| 1664 | 1664 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1665 | 1665 | |
| 1666 | 1666 | func = make_new_mfun( "float", "vibratoGain", Bowed_ctrl_vibratoGain ); //! vibratoGain |
| 1667 | 1667 | func->add_arg( "float", "value" ); |
| 1668 | | − func->doc = "Set vibrato gain, [0.0-1.0]."; |
| 1668 | + func->doc = "set vibrato gain, [0.0-1.0]."; |
| 1669 | 1669 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1670 | 1670 | |
| 1671 | 1671 | func = make_new_mfun( "float", "vibratoGain", Bowed_cget_vibratoGain ); //! vibratoGain |
| 1672 | | − func->doc = "Get vibrato gain, [0.0-1.0]."; |
| 1672 | + func->doc = "get vibrato gain, [0.0-1.0]."; |
| 1673 | 1673 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1674 | 1674 | |
| 1675 | 1675 | func = make_new_mfun( "float", "volume", Bowed_ctrl_volume ); //! volume |
| 1676 | 1676 | func->add_arg( "float", "value" ); |
| 1677 | | − func->doc = "Set volume, [0.0-1.0]."; |
| 1677 | + func->doc = "set volume, [0.0-1.0]."; |
| 1678 | 1678 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1679 | 1679 | |
| 1680 | 1680 | func = make_new_mfun( "float", "volume", Bowed_cget_volume ); //! volume |
| 1681 | | − func->doc = "Get volume, [0.0-1.0]."; |
| 1681 | + func->doc = "get volume, [0.0-1.0]."; |
| 1682 | 1682 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1683 | 1683 | |
| 1684 | 1684 | // end the class import |
| @@ -1689,7 +1689,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 1689 | 1689 | // begin Brass ugen |
| 1690 | 1690 | //------------------------------------------------------------------------ |
| 1691 | 1691 | |
| 1692 | | − doc = "This class implements a simple brass instrument waveguide model, a la Cook (TBone, HosePlayer).\n\ |
| 1692 | + doc = "a simple brass instrument waveguide model, a la Cook (TBone, HosePlayer).\n\ |
| 1693 | 1693 | \n\ |
| 1694 | 1694 | This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others.\n\ |
| 1695 | 1695 | \n\ |
| @@ -1716,71 +1716,71 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 20 unmodified lines |
| 1716 | 1716 | |
| 1717 | 1717 | func = make_new_mfun( "float", "clear", Brass_ctrl_clear ); //! clear instrument |
| 1718 | 1718 | func->add_arg( "float", "value" ); |
| 1719 | | − func->doc = "Clear instrument."; |
| 1719 | + func->doc = "clear instrument."; |
| 1720 | 1720 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1721 | 1721 | |
| 1722 | 1722 | func = make_new_mfun( "float", "startBlowing", Brass_ctrl_startBlowing ); //! note on |
| 1723 | 1723 | func->add_arg( "float", "value" ); |
| 1724 | | − func->doc = "Start blowing, [0.0-1.0]."; |
| 1724 | + func->doc = "start blowing, [0.0-1.0]."; |
| 1725 | 1725 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1726 | 1726 | |
| 1727 | 1727 | func = make_new_mfun( "float", "stopBlowing", Brass_ctrl_stopBlowing ); //! note on |
| 1728 | 1728 | func->add_arg( "float", "value" ); |
| 1729 | | − func->doc = "Stop blowing, [0.0-1.0]."; |
| 1729 | + func->doc = "stop blowing, [0.0-1.0]."; |
| 1730 | 1730 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1731 | 1731 | |
| 1732 | 1732 | func = make_new_mfun( "float", "lip", Brass_ctrl_lip ); //! lip stiffness |
| 1733 | 1733 | func->add_arg( "float", "value" ); |
| 1734 | | − func->doc = "Set lip tension, [0.0-1.0]."; |
| 1734 | + func->doc = "set lip tension, [0.0-1.0]."; |
| 1735 | 1735 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1736 | 1736 | |
| 1737 | 1737 | func = make_new_mfun( "float", "lip", Brass_cget_lip ); //! lip stiffness |
| 1738 | | − func->doc = "Get lip tension, [0.0-1.0]."; |
| 1738 | + func->doc = "get lip tension, [0.0-1.0]."; |
| 1739 | 1739 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1740 | 1740 | |
| 1741 | 1741 | func = make_new_mfun( "float", "slide", Brass_ctrl_slide ); //! slide |
| 1742 | 1742 | func->add_arg( "float", "value" ); |
| 1743 | | − func->doc = "Set slide length, [0.0-1.0]."; |
| 1743 | + func->doc = "set slide length, [0.0-1.0]."; |
| 1744 | 1744 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1745 | 1745 | |
| 1746 | 1746 | func = make_new_mfun( "float", "slide", Brass_cget_slide ); //! slide |
| 1747 | | − func->doc = "Get slide length, [0.0-1.0]."; |
| 1747 | + func->doc = "get slide length, [0.0-1.0]."; |
| 1748 | 1748 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1749 | 1749 | |
| 1750 | 1750 | func = make_new_mfun( "float", "vibratoFreq", Brass_ctrl_vibratoFreq ); //! vibratoFreq |
| 1751 | 1751 | func->add_arg( "float", "value" ); |
| 1752 | | − func->doc = "Set vibrato frequency (Hz)."; |
| 1752 | + func->doc = "set vibrato frequency (Hz)."; |
| 1753 | 1753 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1754 | 1754 | |
| 1755 | 1755 | func = make_new_mfun( "float", "vibratoFreq", Brass_cget_vibratoFreq ); //! vibratoFreq |
| 1756 | | − func->doc = "Get vibrato frequency (Hz)."; |
| 1756 | + func->doc = "get vibrato frequency (Hz)."; |
| 1757 | 1757 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1758 | 1758 | |
| 1759 | 1759 | func = make_new_mfun( "float", "vibratoGain", Brass_ctrl_vibratoGain ); //! vibratoGain |
| 1760 | 1760 | func->add_arg( "float", "value" ); |
| 1761 | | − func->doc = "Set vibrato gain, [0.0-1.0]."; |
| 1761 | + func->doc = "set vibrato gain, [0.0-1.0]."; |
| 1762 | 1762 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1763 | 1763 | |
| 1764 | 1764 | func = make_new_mfun( "float", "vibratoGain", Brass_cget_vibratoGain ); //! vibratoGain |
| 1765 | | − func->doc = "Get vibrato gain, [0.0-1.0]."; |
| 1765 | + func->doc = "get vibrato gain, [0.0-1.0]."; |
| 1766 | 1766 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1767 | 1767 | |
| 1768 | 1768 | func = make_new_mfun( "float", "volume", Brass_ctrl_volume ); //! volume |
| 1769 | 1769 | func->add_arg( "float", "value" ); |
| 1770 | | − func->doc = "Set volume, [0.0-1.0]."; |
| 1770 | + func->doc = "set volume, [0.0-1.0]."; |
| 1771 | 1771 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1772 | 1772 | |
| 1773 | 1773 | func = make_new_mfun( "float", "volume", Brass_cget_volume ); //! volume |
| 1774 | | − func->doc = "Get volume, [0.0-1.0]."; |
| 1774 | + func->doc = "get volume, [0.0-1.0]."; |
| 1775 | 1775 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1776 | 1776 | |
| 1777 | 1777 | func = make_new_mfun( "float", "rate", Brass_ctrl_rate ); //! attack rate |
| 1778 | 1778 | func->add_arg( "float", "value" ); |
| 1779 | | − func->doc = "Set rate of attack (seconds)."; |
| 1779 | + func->doc = "set rate of attack (seconds)."; |
| 1780 | 1780 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1781 | 1781 | |
| 1782 | 1782 | func = make_new_mfun( "float", "rate", Brass_cget_rate ); //! attack rate |
| 1783 | | − func->doc = "Get rate of attack (seconds)."; |
| 1783 | + func->doc = "get rate of attack (seconds)."; |
| 1784 | 1784 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1785 | 1785 | |
| 1786 | 1786 | // end the class import |
| @@ -1791,7 +1791,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 1791 | 1791 | // begin Clarinet ugen |
| 1792 | 1792 | //------------------------------------------------------------------------ |
| 1793 | 1793 | |
| 1794 | | − doc = "This class implements a simple clarinet physical model, as discussed by Smith (1986), McIntyre, Schumacher, Woodhouse (1983), and others.\n\ |
| 1794 | + doc = "a simple clarinet physical model, as discussed by Smith (1986), McIntyre, Schumacher, Woodhouse (1983), and others.\n\ |
| 1795 | 1795 | \n\ |
| 1796 | 1796 | This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others.\n\ |
| 1797 | 1797 | \n\ |
| @@ -1818,71 +1818,71 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 20 unmodified lines |
| 1818 | 1818 | |
| 1819 | 1819 | func = make_new_mfun( "float", "clear", Clarinet_ctrl_clear ); //! note on |
| 1820 | 1820 | func->add_arg( "float", "value" ); |
| 1821 | | − func->doc = "Clear instrument."; |
| 1821 | + func->doc = "clear instrument."; |
| 1822 | 1822 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1823 | 1823 | |
| 1824 | 1824 | func = make_new_mfun( "float", "startBlowing", Clarinet_ctrl_startBlowing ); //! note on |
| 1825 | 1825 | func->add_arg( "float", "value" ); |
| 1826 | | − func->doc = "Start blowing, [0.0-1.0]."; |
| 1826 | + func->doc = "start blowing, [0.0-1.0]."; |
| 1827 | 1827 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1828 | 1828 | |
| 1829 | 1829 | func = make_new_mfun( "float", "stopBlowing", Clarinet_ctrl_stopBlowing ); //! note on |
| 1830 | 1830 | func->add_arg( "float", "value" ); |
| 1831 | | − func->doc = "Stop blowing, [0.0-1.0]."; |
| 1831 | + func->doc = "stop blowing, [0.0-1.0]."; |
| 1832 | 1832 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1833 | 1833 | |
| 1834 | 1834 | func = make_new_mfun( "float", "rate", Clarinet_ctrl_rate ); //! attack rate |
| 1835 | 1835 | func->add_arg( "float", "value" ); |
| 1836 | | − func->doc = "Set rate of attack (seconds)."; |
| 1836 | + func->doc = "set rate of attack (seconds)."; |
| 1837 | 1837 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1838 | 1838 | |
| 1839 | 1839 | func = make_new_mfun( "float", "rate", Clarinet_cget_rate ); //! attack rate |
| 1840 | | − func->doc = "Get rate of attack (seconds)."; |
| 1840 | + func->doc = "get rate of attack (seconds)."; |
| 1841 | 1841 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1842 | 1842 | |
| 1843 | 1843 | func = make_new_mfun( "float", "reed", Clarinet_ctrl_reed); //! reed |
| 1844 | 1844 | func->add_arg( "float", "value" ); |
| 1845 | | − func->doc = "Set reed stiffness, [0.0-1.0]."; |
| 1845 | + func->doc = "set reed stiffness, [0.0-1.0]."; |
| 1846 | 1846 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1847 | 1847 | |
| 1848 | 1848 | func = make_new_mfun( "float", "reed", Clarinet_cget_reed); //! reed |
| 1849 | | − func->doc = "Get reed stiffness, [0.0-1.0]."; |
| 1849 | + func->doc = "get reed stiffness, [0.0-1.0]."; |
| 1850 | 1850 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1851 | 1851 | |
| 1852 | 1852 | func = make_new_mfun( "float", "noiseGain", Clarinet_ctrl_noiseGain ); //! noiseGain |
| 1853 | 1853 | func->add_arg( "float", "value" ); |
| 1854 | | − func->doc = "Set noise component gain, [0.0-1.0]."; |
| 1854 | + func->doc = "set noise component gain, [0.0-1.0]."; |
| 1855 | 1855 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1856 | 1856 | |
| 1857 | 1857 | func = make_new_mfun( "float", "noiseGain", Clarinet_cget_noiseGain ); //! noiseGain |
| 1858 | | − func->doc = "Get noise component gain, [0.0-1.0]."; |
| 1858 | + func->doc = "get noise component gain, [0.0-1.0]."; |
| 1859 | 1859 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1860 | 1860 | |
| 1861 | 1861 | func = make_new_mfun( "float", "vibratoFreq", Clarinet_ctrl_vibratoFreq ); //! rvibratoFreq |
| 1862 | 1862 | func->add_arg( "float", "value" ); |
| 1863 | | − func->doc = "Set vibrato frequency (Hz)."; |
| 1863 | + func->doc = "set vibrato frequency (Hz)."; |
| 1864 | 1864 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1865 | 1865 | |
| 1866 | 1866 | func = make_new_mfun( "float", "vibratoFreq", Clarinet_cget_vibratoFreq ); //! rvibratoFreq |
| 1867 | | − func->doc = "Get vibrato frequency (Hz)."; |
| 1867 | + func->doc = "get vibrato frequency (Hz)."; |
| 1868 | 1868 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1869 | 1869 | |
| 1870 | 1870 | func = make_new_mfun( "float", "vibratoGain", Clarinet_ctrl_vibratoGain ); //! vibratoGain |
| 1871 | 1871 | func->add_arg( "float", "value" ); |
| 1872 | | − func->doc = "Set vibrato gain, [0.0-1.0]."; |
| 1872 | + func->doc = "set vibrato gain, [0.0-1.0]."; |
| 1873 | 1873 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1874 | 1874 | |
| 1875 | 1875 | func = make_new_mfun( "float", "vibratoGain", Clarinet_cget_vibratoGain ); //! vibratoGain |
| 1876 | | − func->doc = "Get vibrato gain, [0.0-1.0]."; |
| 1876 | + func->doc = "get vibrato gain, [0.0-1.0]."; |
| 1877 | 1877 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1878 | 1878 | |
| 1879 | 1879 | func = make_new_mfun( "float", "pressure", Clarinet_ctrl_pressure ); //! pressure |
| 1880 | 1880 | func->add_arg( "float", "value" ); |
| 1881 | | − func->doc = "Set pressure, [0.0-1.0]."; |
| 1881 | + func->doc = "set pressure, [0.0-1.0]."; |
| 1882 | 1882 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1883 | 1883 | |
| 1884 | 1884 | func = make_new_mfun( "float", "pressure", Clarinet_cget_pressure ); //! pressure |
| 1885 | | − func->doc = "Get pressure, [0.0-1.0]."; |
| 1885 | + func->doc = "get pressure, [0.0-1.0]."; |
| 1886 | 1886 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1887 | 1887 | |
| 1888 | 1888 | // end the class import |
| @@ -1893,7 +1893,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 1893 | 1893 | // begin Flute ugen |
| 1894 | 1894 | //------------------------------------------------------------------------ |
| 1895 | 1895 | |
| 1896 | | − doc = "This class implements a simple flute physical model, as discussed by Karjalainen, Smith, Waryznyk, etc. The jet model uses a polynomial, a la Cook.\n\ |
| 1896 | + doc = "a simple flute physical model, as discussed by Karjalainen, Smith, Waryznyk, etc. The jet model uses a polynomial, a la Cook.\n\ |
| 1897 | 1897 | \n\ |
| 1898 | 1898 | This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others.\n\ |
| 1899 | 1899 | \n\ |
| @@ -1919,89 +1919,89 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 19 unmodified lines |
| 1919 | 1919 | |
| 1920 | 1920 | func = make_new_mfun( "float", "clear", Flute_ctrl_clear ); //! clear |
| 1921 | 1921 | func->add_arg( "float", "value" ); |
| 1922 | | − func->doc = "Clear instrument."; |
| 1922 | + func->doc = "clear instrument."; |
| 1923 | 1923 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1924 | 1924 | |
| 1925 | 1925 | func = make_new_mfun( "float", "startBlowing", Flute_ctrl_startBlowing ); //! startBlowing |
| 1926 | 1926 | func->add_arg( "float", "value" ); |
| 1927 | | − func->doc = "Start blowing, [0.0-1.0]."; |
| 1927 | + func->doc = "start blowing, [0.0-1.0]."; |
| 1928 | 1928 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1929 | 1929 | |
| 1930 | 1930 | func = make_new_mfun( "float", "stopBlowing", Flute_ctrl_stopBlowing ); //! stopBlowing |
| 1931 | 1931 | func->add_arg( "float", "value" ); |
| 1932 | | − func->doc = "Stop blowing, [0.0-1.0]."; |
| 1932 | + func->doc = "stop blowing, [0.0-1.0]."; |
| 1933 | 1933 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1934 | 1934 | |
| 1935 | 1935 | func = make_new_mfun( "float", "rate", Flute_ctrl_rate ); //! attack rate |
| 1936 | 1936 | func->add_arg( "float", "value" ); |
| 1937 | | − func->doc = "Set rate of attack (seconds)."; |
| 1937 | + func->doc = "set rate of attack (seconds)."; |
| 1938 | 1938 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1939 | 1939 | |
| 1940 | 1940 | func = make_new_mfun( "float", "rate", Flute_cget_rate ); //! attack rate |
| 1941 | | − func->doc = "Get rate of attack (seconds)."; |
| 1941 | + func->doc = "get rate of attack (seconds)."; |
| 1942 | 1942 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1943 | 1943 | |
| 1944 | 1944 | func = make_new_mfun( "float", "jetReflection", Flute_ctrl_jetReflection ); //! jet reflection |
| 1945 | 1945 | func->add_arg( "float", "value" ); |
| 1946 | | − func-> doc = "Set jet reflection."; |
| 1946 | + func-> doc = "set jet reflection."; |
| 1947 | 1947 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1948 | 1948 | |
| 1949 | 1949 | func = make_new_mfun( "float", "jetReflection", Flute_cget_jetReflection ); //! jet reflection |
| 1950 | | − func-> doc = "Get jet reflection."; |
| 1950 | + func-> doc = "get jet reflection."; |
| 1951 | 1951 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1952 | 1952 | |
| 1953 | 1953 | func = make_new_mfun( "float", "jetDelay", Flute_ctrl_jetDelay ); //! jet delay |
| 1954 | 1954 | func->add_arg( "float", "value" ); |
| 1955 | | − func->doc = "Set jet delay."; |
| 1955 | + func->doc = "set jet delay."; |
| 1956 | 1956 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1957 | 1957 | |
| 1958 | 1958 | func = make_new_mfun( "float", "jetDelay", Flute_cget_jetDelay ); //! jet delay |
| 1959 | | − func->doc = "Get jet delay."; |
| 1959 | + func->doc = "get jet delay."; |
| 1960 | 1960 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1961 | 1961 | |
| 1962 | 1962 | func = make_new_mfun( "float", "endReflection", Flute_ctrl_endReflection ); //! end reflection |
| 1963 | 1963 | func->add_arg( "float", "value" ); |
| 1964 | | − func->doc = "Set end reflection."; |
| 1964 | + func->doc = "set end reflection."; |
| 1965 | 1965 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1966 | 1966 | |
| 1967 | 1967 | func = make_new_mfun( "float", "endReflection", Flute_cget_endReflection ); //! end reflection |
| 1968 | | − func->doc = "Get end reflection."; |
| 1968 | + func->doc = "get end reflection."; |
| 1969 | 1969 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1970 | 1970 | |
| 1971 | 1971 | func = make_new_mfun( "float", "noiseGain", Flute_ctrl_noiseGain ); //! noiseGain |
| 1972 | 1972 | func->add_arg( "float", "value" ); |
| 1973 | | − func->doc = "Set noise component gain, [0.0-1.0]."; |
| 1973 | + func->doc = "set noise component gain, [0.0-1.0]."; |
| 1974 | 1974 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1975 | 1975 | |
| 1976 | 1976 | func = make_new_mfun( "float", "noiseGain", Flute_cget_noiseGain ); //! noiseGain |
| 1977 | | − func->doc = "Get noise component gain, [0.0-1.0]."; |
| 1977 | + func->doc = "get noise component gain, [0.0-1.0]."; |
| 1978 | 1978 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1979 | 1979 | |
| 1980 | 1980 | func = make_new_mfun( "float", "vibratoFreq", Flute_ctrl_vibratoFreq ); //! vibratoFreq |
| 1981 | 1981 | func->add_arg( "float", "value" ); |
| 1982 | | − func->doc = "Set vibrato frequency (Hz)."; |
| 1982 | + func->doc = "set vibrato frequency (Hz)."; |
| 1983 | 1983 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1984 | 1984 | |
| 1985 | 1985 | func = make_new_mfun( "float", "vibratoFreq", Flute_cget_vibratoFreq ); //! vibratoFreq |
| 1986 | | − func->doc = "Get vibrato frequency (Hz)."; |
| 1986 | + func->doc = "get vibrato frequency (Hz)."; |
| 1987 | 1987 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1988 | 1988 | |
| 1989 | 1989 | func = make_new_mfun( "float", "vibratoGain", Flute_ctrl_vibratoGain ); //! vibratoGain |
| 1990 | 1990 | func->add_arg( "float", "value" ); |
| 1991 | | − func->doc = "Set vibrato gain, [0.0-1.0]."; |
| 1991 | + func->doc = "set vibrato gain, [0.0-1.0]."; |
| 1992 | 1992 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1993 | 1993 | |
| 1994 | 1994 | func = make_new_mfun( "float", "vibratoGain", Flute_cget_vibratoGain ); //! vibratoGain |
| 1995 | | − func->doc = "Get vibrato gain, [0.0-1.0]."; |
| 1995 | + func->doc = "get vibrato gain, [0.0-1.0]."; |
| 1996 | 1996 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 1997 | 1997 | |
| 1998 | 1998 | func = make_new_mfun( "float", "pressure", Flute_ctrl_pressure ); //! pressure |
| 1999 | 1999 | func->add_arg( "float", "value" ); |
| 2000 | | − func->doc = "Set pressure, [0.0-1.0]."; |
| 2000 | + func->doc = "set pressure, [0.0-1.0]."; |
| 2001 | 2001 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2002 | 2002 | |
| 2003 | 2003 | func = make_new_mfun( "float", "pressure", Flute_cget_pressure ); //! pressure |
| 2004 | | − func->doc = "Get pressure, [0.0-1.0]."; |
| 2004 | + func->doc = "get pressure, [0.0-1.0]."; |
| 2005 | 2005 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2006 | 2006 | |
| 2007 | 2007 | // end the class import |
| @@ -2012,9 +2012,9 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 2012 | 2012 | // begin Mandolin ugen |
| 2013 | 2013 | //------------------------------------------------------------------------ |
| 2014 | 2014 | |
| 2015 | | − doc = "This class inherits from PluckTwo and uses 'commuted synthesis' techniques to model a mandolin instrument.\n\ |
| 2015 | + doc = "inherits from PluckTwo and uses 'commuted synthesis' techniques to model a mandolin instrument.\n\ |
| 2016 | 2016 | \n\ |
| 2017 | | −This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others. Commuted Synthesis, in particular, is covered by patents, granted, pending, and/or applied-for. All are assigned to the Board of Trustees, Stanford University. For information, contact the Office of Technology Licensing, Stanford University.\n\ |
| 2017 | +This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others. Commuted Synthesis, in particular, is covered by patents, granted, pending, and/or applied-for. All are assigned to the Board of Trustees, Stanford University. For information, contact the Office of Technology Licensing, Stanford University.\n\ |
| 2018 | 2018 | \n\ |
| 2019 | 2019 | Control Change Numbers:\n\ |
| 2020 | 2020 | \n\ |
| @@ -2041,57 +2041,57 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 20 unmodified lines |
| 2041 | 2041 | |
| 2042 | 2042 | func = make_new_mfun( "float", "pluck", Mandolin_ctrl_pluck ); //! pluck string with given amplitude |
| 2043 | 2043 | func->add_arg( "float", "value" ); |
| 2044 | | − func->doc = "Pluck instrument, [0.0-1.0]."; |
| 2044 | + func->doc = "pluck the instrument, [0.0-1.0]."; |
| 2045 | 2045 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2046 | 2046 | |
| 2047 | 2047 | func = make_new_mfun( "float", "pluckPos", Mandolin_ctrl_pluckPos ); //! set pluck position ( 0-1) along string |
| 2048 | 2048 | func->add_arg( "float", "value" ); |
| 2049 | | − func->doc = "Set pluck position, [0.0-1.0]."; |
| 2049 | + func->doc = "set pluck position, [0.0-1.0]."; |
| 2050 | 2050 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2051 | 2051 | |
| 2052 | 2052 | func = make_new_mfun( "float", "pluckPos", Mandolin_cget_pluckPos ); //! get pluck position ( 0-1) along string |
| 2053 | | − func->doc = "Get pluck position, [0.0-1.0]."; |
| 2053 | + func->doc = "get pluck position, [0.0-1.0]."; |
| 2054 | 2054 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2055 | 2055 | |
| 2056 | 2056 | func = make_new_mfun( "float", "bodySize", Mandolin_ctrl_bodySize ); //! modify instrument size |
| 2057 | 2057 | func->add_arg( "float", "value" ); |
| 2058 | | − func->doc = "Set body size (percentage)."; |
| 2058 | + func->doc = "set body size (percentage)."; |
| 2059 | 2059 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2060 | 2060 | |
| 2061 | 2061 | func = make_new_mfun( "float", "bodySize", Mandolin_cget_bodySize ); //! modify instrument size |
| 2062 | | − func->doc = "Get body size (percentage)."; |
| 2062 | + func->doc = "get body size (percentage)."; |
| 2063 | 2063 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2064 | 2064 | |
| 2065 | 2065 | func = make_new_mfun( "float", "stringDamping", Mandolin_ctrl_stringDamping ); //! control string damping |
| 2066 | 2066 | func->add_arg( "float", "value" ); |
| 2067 | | − func->doc = "Set string damping, [0.0-1.0]."; |
| 2067 | + func->doc = "set string damping, [0.0-1.0]."; |
| 2068 | 2068 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2069 | 2069 | |
| 2070 | 2070 | func = make_new_mfun( "float", "stringDamping", Mandolin_cget_stringDamping ); //! control string damping |
| 2071 | | − func->doc = "Get string damping, [0.0-1.0]."; |
| 2071 | + func->doc = "get string damping, [0.0-1.0]."; |
| 2072 | 2072 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2073 | 2073 | |
| 2074 | 2074 | func = make_new_mfun( "float", "stringDetune", Mandolin_ctrl_stringDetune ); //! control detuning of string pair |
| 2075 | 2075 | func->add_arg( "float", "value" ); |
| 2076 | | − func->doc = "Set detuning of string pair, [0.0-1.0]."; |
| 2076 | + func->doc = "set detuning of string pair, [0.0-1.0]."; |
| 2077 | 2077 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2078 | 2078 | |
| 2079 | 2079 | func = make_new_mfun( "float", "stringDetune", Mandolin_cget_stringDetune ); //! control detuning of string pair |
| 2080 | | − func->doc = "Get detuning of string pair, [0.0-1.0]."; |
| 2080 | + func->doc = "get detuning of string pair, [0.0-1.0]."; |
| 2081 | 2081 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2082 | 2082 | |
| 2083 | 2083 | func = make_new_mfun( "float", "afterTouch", Mandolin_ctrl_afterTouch ); //! aftertouch |
| 2084 | 2084 | func->add_arg( "float", "value" ); |
| 2085 | | − func->doc = "Set aftertouch (currently unsupported)."; |
| 2085 | + func->doc = "set aftertouch (currently unsupported)."; |
| 2086 | 2086 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2087 | 2087 | |
| 2088 | 2088 | func = make_new_mfun( "string", "bodyIR", Mandolin_ctrl_bodyIR ); //! read body impulse response |
| 2089 | 2089 | func->add_arg( "string", "path" ); |
| 2090 | | − func->doc = "Set body impulse response."; |
| 2090 | + func->doc = "set body impulse response."; |
| 2091 | 2091 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2092 | 2092 | |
| 2093 | 2093 | func = make_new_mfun( "string", "bodyIR", Mandolin_cget_bodyIR ); //! get path |
| 2094 | | − func->doc = "Get body impulse response."; |
| 2094 | + func->doc = "get body impulse response."; |
| 2095 | 2095 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2096 | 2096 | |
| 2097 | 2097 | // end the class import |
| @@ -2102,7 +2102,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 2102 | 2102 | // begin ModalBar ugen |
| 2103 | 2103 | //------------------------------------------------------------------------ |
| 2104 | 2104 | |
| 2105 | | − doc = "This class implements a number of different struck bar instruments. It inherits from the Modal class.\n\ |
| 2105 | + doc = "a suite of struck bar instruments. It inherits from the Modal class.\n\ |
| 2106 | 2106 | \n\ |
| 2107 | 2107 | Control Change Numbers:\n\ |
| 2108 | 2108 | \n\ |
| @@ -2139,125 +2139,125 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 30 unmodified lines |
| 2139 | 2139 | |
| 2140 | 2140 | func = make_new_mfun( "float", "strike", ModalBar_ctrl_strike ); //! strike bar |
| 2141 | 2141 | func->add_arg( "float", "value" ); |
| 2142 | | − func->doc = "Strike bar, [0.0-1.0]."; |
| 2142 | + func->doc = "strike bar, [0.0-1.0]."; |
| 2143 | 2143 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2144 | 2144 | |
| 2145 | 2145 | func = make_new_mfun( "float", "damp", ModalBar_ctrl_damp ); //! damp bar |
| 2146 | 2146 | func->add_arg( "float", "value" ); |
| 2147 | | − func->doc = "Damp bar, [0.0-1.0]."; |
| 2147 | + func->doc = "damp bar, [0.0-1.0]."; |
| 2148 | 2148 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2149 | 2149 | |
| 2150 | 2150 | func = make_new_mfun( "float", "clear", ModalBar_ctrl_clear ); //! clear |
| 2151 | 2151 | func->add_arg( "float", "value" ); |
| 2152 | | − func->doc = "Clear instrument."; |
| 2152 | + func->doc = "clear instrument."; |
| 2153 | 2153 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2154 | 2154 | |
| 2155 | 2155 | func = make_new_mfun( "int", "preset", ModalBar_ctrl_preset ); //! choose preset |
| 2156 | 2156 | func->add_arg( "int", "value" ); |
| 2157 | | − func->doc = "Set preset (see above)."; |
| 2157 | + func->doc = "set preset (see above)."; |
| 2158 | 2158 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2159 | 2159 | |
| 2160 | 2160 | func = make_new_mfun( "int", "preset", ModalBar_cget_preset ); //! choose preset |
| 2161 | | − func->doc = "Get preset."; |
| 2161 | + func->doc = "get preset."; |
| 2162 | 2162 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2163 | 2163 | |
| 2164 | 2164 | func = make_new_mfun( "float", "stickHardness", ModalBar_ctrl_stickHardness ); //! set stickHardness |
| 2165 | 2165 | func->add_arg( "float", "value" ); |
| 2166 | | − func->doc = "Set stick hardness, [0.0-1.0]."; |
| 2166 | + func->doc = "set stick hardness, [0.0-1.0]."; |
| 2167 | 2167 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2168 | 2168 | |
| 2169 | 2169 | func = make_new_mfun( "float", "stickHardness", ModalBar_cget_stickHardness ); //! set stickHardness |
| 2170 | | − func->doc = "Get stick hardness, [0.0-1.0]"; |
| 2170 | + func->doc = "get stick hardness, [0.0-1.0]"; |
| 2171 | 2171 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2172 | 2172 | |
| 2173 | 2173 | func = make_new_mfun( "float", "strikePosition", ModalBar_ctrl_strikePosition ); //! set strikePosition |
| 2174 | 2174 | func->add_arg( "float", "value" ); |
| 2175 | | − func->doc = "Set strike position, [0.0-1.0]."; |
| 2175 | + func->doc = "set strike position, [0.0-1.0]."; |
| 2176 | 2176 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2177 | 2177 | |
| 2178 | 2178 | func = make_new_mfun( "float", "strikePosition", ModalBar_cget_strikePosition ); //! set strikePosition |
| 2179 | | − func->doc = "Get strike position, [0.0-1.0]."; |
| 2179 | + func->doc = "get strike position, [0.0-1.0]."; |
| 2180 | 2180 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2181 | 2181 | |
| 2182 | 2182 | func = make_new_mfun( "float", "vibratoGain", ModalBar_ctrl_vibratoGain ); //! set vibratoGain |
| 2183 | 2183 | func->add_arg( "float", "value" ); |
| 2184 | | − func->doc = "Set vibrato gain, [0.0-1.0]."; |
| 2184 | + func->doc = "set vibrato gain, [0.0-1.0]."; |
| 2185 | 2185 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2186 | 2186 | |
| 2187 | 2187 | func = make_new_mfun( "float", "vibratoGain", ModalBar_cget_vibratoGain ); //! set vibratoGain |
| 2188 | | − func->doc = "Get vibrato gain, [0.0-1.0]."; |
| 2188 | + func->doc = "get vibrato gain, [0.0-1.0]."; |
| 2189 | 2189 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2190 | 2190 | |
| 2191 | 2191 | func = make_new_mfun( "float", "vibratoFreq", ModalBar_ctrl_vibratoFreq ); //! set vibratoFreq |
| 2192 | 2192 | func->add_arg( "float", "value" ); |
| 2193 | | − func->doc = "Set vibrato frequency (Hz)."; |
| 2193 | + func->doc = "set vibrato frequency (Hz)."; |
| 2194 | 2194 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2195 | 2195 | |
| 2196 | 2196 | func = make_new_mfun( "float", "vibratoFreq", ModalBar_cget_vibratoFreq ); //! set vibratoFreq |
| 2197 | | − func->doc = "Get vibrato frequency (Hz)."; |
| 2197 | + func->doc = "get vibrato frequency (Hz)."; |
| 2198 | 2198 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2199 | 2199 | |
| 2200 | 2200 | func = make_new_mfun( "float", "directGain", ModalBar_ctrl_directGain ); //! set directGain |
| 2201 | 2201 | func->add_arg( "float", "value" ); |
| 2202 | | − func->doc = "Set direct gain, [0.0-1.0]."; |
| 2202 | + func->doc = "set direct gain, [0.0-1.0]."; |
| 2203 | 2203 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2204 | 2204 | |
| 2205 | 2205 | func = make_new_mfun( "float", "directGain", ModalBar_cget_directGain ); //! set directGain |
| 2206 | | − func->doc = "Get direct gain, [0.0-1.0]."; |
| 2206 | + func->doc = "get direct gain, [0.0-1.0]."; |
| 2207 | 2207 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2208 | 2208 | |
| 2209 | 2209 | func = make_new_mfun( "float", "masterGain", ModalBar_ctrl_masterGain ); //! set masterGain |
| 2210 | 2210 | func->add_arg( "float", "value" ); |
| 2211 | | − func->doc = "Set master gain, [0.0-1.0]."; |
| 2211 | + func->doc = "set master gain, [0.0-1.0]."; |
| 2212 | 2212 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2213 | 2213 | |
| 2214 | 2214 | func = make_new_mfun( "float", "masterGain", ModalBar_cget_masterGain ); //! set masterGain |
| 2215 | | − func->doc = "Get master gain, [0.0-1.0]."; |
| 2215 | + func->doc = "get master gain, [0.0-1.0]."; |
| 2216 | 2216 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2217 | 2217 | |
| 2218 | 2218 | func = make_new_mfun( "int", "mode", ModalBar_ctrl_mode ); //! choose mode |
| 2219 | 2219 | func->add_arg( "int", "value" ); |
| 2220 | | − func->doc = "Set mode."; |
| 2220 | + func->doc = "set mode."; |
| 2221 | 2221 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2222 | 2222 | |
| 2223 | 2223 | func = make_new_mfun( "int", "mode", ModalBar_cget_mode ); //! choose mode |
| 2224 | | − func->doc = "Get mode."; |
| 2224 | + func->doc = "get mode."; |
| 2225 | 2225 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2226 | 2226 | |
| 2227 | 2227 | func = make_new_mfun( "float", "modeRatio", ModalBar_ctrl_modeRatio ); //! mode edit (modeRatio) |
| 2228 | 2228 | func->add_arg( "float", "value" ); |
| 2229 | | − func->doc = "Set ratio for selected mode."; |
| 2229 | + func->doc = "set ratio for selected mode."; |
| 2230 | 2230 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2231 | 2231 | |
| 2232 | 2232 | func = make_new_mfun( "float", "modeRatio", ModalBar_cget_modeRatio ); //! mode edit (modeRatio) |
| 2233 | | − func->doc = "Get ratio for selected mode."; |
| 2233 | + func->doc = "get ratio for selected mode."; |
| 2234 | 2234 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2235 | 2235 | |
| 2236 | 2236 | func = make_new_mfun( "float", "modeRadius", ModalBar_ctrl_modeRadius ); //! mode edit (modeRadius) |
| 2237 | 2237 | func->add_arg( "float", "value" ); |
| 2238 | | − func->doc = "Set radius for selected mode, [0.0-1.0]."; |
| 2238 | + func->doc = "set radius for selected mode, [0.0-1.0]."; |
| 2239 | 2239 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2240 | 2240 | |
| 2241 | 2241 | func = make_new_mfun( "float", "modeRadius", ModalBar_cget_modeRadius ); //! mode edit (modeRadius) |
| 2242 | | − func->doc = "Get radius for selected mode, [0.0-1.0]."; |
| 2242 | + func->doc = "get radius for selected mode, [0.0-1.0]."; |
| 2243 | 2243 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2244 | 2244 | |
| 2245 | 2245 | func = make_new_mfun( "float", "modeGain", ModalBar_ctrl_modeGain ); //! mode edit (modeGain) |
| 2246 | 2246 | func->add_arg( "float", "value" ); |
| 2247 | | − func->doc = "Set gain for selected mode, [0.0-1.0]."; |
| 2247 | + func->doc = "set gain for selected mode, [0.0-1.0]."; |
| 2248 | 2248 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2249 | 2249 | |
| 2250 | 2250 | func = make_new_mfun( "float", "modeGain", ModalBar_cget_modeGain ); //! mode edit (modeGain) |
| 2251 | | − func->doc = "Get gain for selected mode, [0.0-1.0]."; |
| 2251 | + func->doc = "get gain for selected mode, [0.0-1.0]."; |
| 2252 | 2252 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2253 | 2253 | |
| 2254 | 2254 | func = make_new_mfun( "float", "volume", ModalBar_ctrl_volume ); //! volume |
| 2255 | 2255 | func->add_arg( "float", "value" ); |
| 2256 | | − func->doc = "Set volume, [0.0-1.0]."; |
| 2256 | + func->doc = "set volume, [0.0-1.0]."; |
| 2257 | 2257 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2258 | 2258 | |
| 2259 | 2259 | func = make_new_mfun( "float", "volume", ModalBar_cget_volume ); //! volume |
| 2260 | | − func->doc = "Get volume, [0.0-1.0]."; |
| 2260 | + func->doc = "get volume, [0.0-1.0]."; |
| 2261 | 2261 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2262 | 2262 | |
| 2263 | 2263 | // end the class import |
| @@ -2268,7 +2268,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 2268 | 2268 | // begin Moog ugen |
| 2269 | 2269 | //------------------------------------------------------------------------ |
| 2270 | 2270 | |
| 2271 | | − doc = "This instrument uses one attack wave, one looped wave, and an ADSR envelope (inherited from the Sampler class) and adds two sweepable formant (FormSwep) filters.\n\ |
| 2271 | + doc = "a Moog instrument modeled using one attack wave, one looped wave, and an ADSR envelope (inherited from the Sampler class) and adds two sweepable formant (FormSwep) filters.\n\ |
| 2272 | 2272 | \n\ |
| 2273 | 2273 | Control Change Numbers:\n\ |
| 2274 | 2274 | \n\ |
| @@ -2295,88 +2295,88 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 20 unmodified lines |
| 2295 | 2295 | |
| 2296 | 2296 | func = make_new_mfun( "float", "lfoSpeed", Moog_ctrl_modSpeed ); //! modulation speed |
| 2297 | 2297 | func->add_arg( "float", "value" ); |
| 2298 | | − func->doc = "Set LFO modulation speed."; |
| 2298 | + func->doc = "set LFO modulation speed."; |
| 2299 | 2299 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2300 | 2300 | |
| 2301 | 2301 | func = make_new_mfun( "float", "lfoSpeed", Moog_cget_modSpeed ); //! modulation speed |
| 2302 | | − func->doc = "Get LFO modulation speed."; |
| 2302 | + func->doc = "get LFO modulation speed."; |
| 2303 | 2303 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2304 | 2304 | |
| 2305 | 2305 | func = make_new_mfun( "float", "lfoDepth", Moog_ctrl_modDepth ); //! modulation depth |
| 2306 | 2306 | func->add_arg( "float", "value" ); |
| 2307 | | − func->doc = "Set LFO modulation depth."; |
| 2307 | + func->doc = "set LFO modulation depth."; |
| 2308 | 2308 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2309 | 2309 | |
| 2310 | 2310 | func = make_new_mfun( "float", "lfoDepth", Moog_cget_modDepth ); //! modulation depth |
| 2311 | | − func->doc = "Get LFO modulation depth."; |
| 2311 | + func->doc = "get LFO modulation depth."; |
| 2312 | 2312 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2313 | 2313 | |
| 2314 | 2314 | func = make_new_mfun( "float", "modSpeed", Moog_ctrl_modSpeed ); //! modulation speed |
| 2315 | 2315 | func->add_arg( "float", "value" ); |
| 2316 | | − func->doc = "Set modulation speed."; |
| 2316 | + func->doc = "set modulation speed."; |
| 2317 | 2317 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2318 | 2318 | |
| 2319 | 2319 | func = make_new_mfun( "float", "modSpeed", Moog_cget_modSpeed ); //! modulation speed |
| 2320 | | − func->doc = "Get modulation speed."; |
| 2320 | + func->doc = "get modulation speed."; |
| 2321 | 2321 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2322 | 2322 | |
| 2323 | 2323 | func = make_new_mfun( "float", "modDepth", Moog_ctrl_modDepth ); //! modulation depth |
| 2324 | 2324 | func->add_arg( "float", "value" ); |
| 2325 | | − func->doc = "Set modulation depth."; |
| 2325 | + func->doc = "set modulation depth."; |
| 2326 | 2326 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2327 | 2327 | |
| 2328 | 2328 | func = make_new_mfun( "float", "modDepth", Moog_cget_modDepth ); //! modulation depth |
| 2329 | | − func->doc = "Get modulation depth."; |
| 2329 | + func->doc = "get modulation depth."; |
| 2330 | 2330 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2331 | 2331 | |
| 2332 | 2332 | func = make_new_mfun( "float", "filterQ", Moog_ctrl_filterQ ); //! filter Q value |
| 2333 | 2333 | func->add_arg( "float", "value" ); |
| 2334 | | − func->doc = "Set filter Q value, [0.0-1.0]."; |
| 2334 | + func->doc = "set filter Q value, [0.0-1.0]."; |
| 2335 | 2335 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2336 | 2336 | |
| 2337 | 2337 | func = make_new_mfun( "float", "filterQ", Moog_cget_filterQ ); //! filter Q value |
| 2338 | | − func->doc = "Get filter Q value, [0.0-1.0]."; |
| 2338 | + func->doc = "get filter Q value, [0.0-1.0]."; |
| 2339 | 2339 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2340 | 2340 | |
| 2341 | 2341 | func = make_new_mfun( "float", "filterSweepRate", Moog_ctrl_filterSweepRate ); //! filter sweep rate |
| 2342 | 2342 | func->add_arg( "float", "value" ); |
| 2343 | | − func->doc = "Set filter sweep rate, [0.0-1.0]."; |
| 2343 | + func->doc = "set filter sweep rate, [0.0-1.0]."; |
| 2344 | 2344 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2345 | 2345 | |
| 2346 | 2346 | func = make_new_mfun( "float", "filterSweepRate", Moog_cget_filterSweepRate ); //! filter sweep rate |
| 2347 | | − func->doc = "Get filter sweep rate, [0.0-1.0]."; |
| 2347 | + func->doc = "get filter sweep rate, [0.0-1.0]."; |
| 2348 | 2348 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2349 | 2349 | |
| 2350 | 2350 | func = make_new_mfun( "float", "afterTouch", Moog_ctrl_afterTouch ); // aftertouch |
| 2351 | 2351 | func->add_arg( "float", "value" ); |
| 2352 | | − func->doc = "Set aftertouch, [0.0-1.0]."; |
| 2352 | + func->doc = "set aftertouch, [0.0-1.0]."; |
| 2353 | 2353 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2354 | 2354 | |
| 2355 | 2355 | func = make_new_mfun( "float", "volume", Moog_ctrl_volume ); //! volume |
| 2356 | 2356 | func->add_arg( "float", "value" ); |
| 2357 | | − func->doc = "Set volume."; |
| 2357 | + func->doc = "set volume."; |
| 2358 | 2358 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2359 | 2359 | |
| 2360 | 2360 | func = make_new_mfun( "float", "volume", Moog_cget_volume ); //! volume |
| 2361 | | − func->doc = "Get volume."; |
| 2361 | + func->doc = "get volume."; |
| 2362 | 2362 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2363 | 2363 | |
| 2364 | 2364 | func = make_new_mfun( "float", "vibratoFreq", Moog_ctrl_vibratoFreq ); //! vibrato frequency |
| 2365 | 2365 | func->add_arg( "float", "value" ); |
| 2366 | | − func->doc = "Set vibrato frequency (Hz)."; |
| 2366 | + func->doc = "set vibrato frequency (Hz)."; |
| 2367 | 2367 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2368 | 2368 | |
| 2369 | 2369 | func = make_new_mfun( "float", "vibratoFreq", Moog_cget_vibratoFreq ); //! vibrato frequency |
| 2370 | | − func->doc = "Get vibrato frequency (Hz)."; |
| 2370 | + func->doc = "get vibrato frequency (Hz)."; |
| 2371 | 2371 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2372 | 2372 | |
| 2373 | 2373 | func = make_new_mfun( "float", "vibratoGain", Moog_ctrl_vibratoGain ); //! vibrato gain |
| 2374 | 2374 | func->add_arg( "float", "value" ); |
| 2375 | | − func->doc = "Set vibrato gain, [0.0-1.0]."; |
| 2375 | + func->doc = "set vibrato gain, [0.0-1.0]."; |
| 2376 | 2376 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2377 | 2377 | |
| 2378 | 2378 | func = make_new_mfun( "float", "vibratoGain", Moog_cget_vibratoGain ); //! vibrato gain |
| 2379 | | − func->doc = "Get vibrato gain, [0.0-1.0]."; |
| 2379 | + func->doc = "get vibrato gain, [0.0-1.0]."; |
| 2380 | 2380 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2381 | 2381 | |
| 2382 | 2382 | // end the class import |
| @@ -2387,7 +2387,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 2387 | 2387 | // begin Saxofony ugen |
| 2388 | 2388 | //------------------------------------------------------------------------ |
| 2389 | 2389 | |
| 2390 | | − doc = "This class implements a 'hybrid' digital waveguide instrument that can generate a variety of wind-like sounds. It has also been referred to as the 'blowed string' model. The waveguide section is essentially that of a string, with one rigid and one lossy termination. The non-linear function is a reed table. The string can be 'blown' at any point between the terminations, though just as with strings, it is impossible to excite the system at either end. If the excitation is placed at the string mid-point, the sound is that of a clarinet. At points closer to the 'bridge', the sound is closer to that of a saxophone. See Scavone (2002) for more details.\n\ |
| 2390 | + doc = "a 'hybrid' digital waveguide instrument that can generate a variety of wind-like sounds. It has also been referred to as the 'blowed string' model. The waveguide section is essentially that of a string, with one rigid and one lossy termination. The non-linear function is a reed table. The string can be 'blown' at any point between the terminations, though just as with strings, it is impossible to excite the system at either end. If the excitation is placed at the string mid-point, the sound is that of a clarinet. At points closer to the 'bridge', the sound is closer to that of a saxophone. See Scavone (2002) for more details.\n\ |
| 2391 | 2391 | \n\ |
| 2392 | 2392 | This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others.\n\ |
| 2393 | 2393 | \n\ |
| @@ -2415,89 +2415,89 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 21 unmodified lines |
| 2415 | 2415 | |
| 2416 | 2416 | func = make_new_mfun( "float", "clear", Saxofony_ctrl_clear ); //! clear instrument |
| 2417 | 2417 | func->add_arg( "float", "value" ); |
| 2418 | | − func->doc = "Clear instrument."; |
| 2418 | + func->doc = "clear instrument."; |
| 2419 | 2419 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2420 | 2420 | |
| 2421 | 2421 | func = make_new_mfun( "float", "startBlowing", Saxofony_ctrl_startBlowing ); //! note on |
| 2422 | 2422 | func->add_arg( "float", "value" ); |
| 2423 | | − func->doc = "Start blowing, [0.0-1.0]."; |
| 2423 | + func->doc = "start blowing, [0.0-1.0]."; |
| 2424 | 2424 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2425 | 2425 | |
| 2426 | 2426 | func = make_new_mfun( "float", "stopBlowing", Saxofony_ctrl_stopBlowing ); //! note on |
| 2427 | 2427 | func->add_arg( "float", "value" ); |
| 2428 | | − func->doc = "Stop blowing, [0.0-1.0]."; |
| 2428 | + func->doc = "stop blowing, [0.0-1.0]."; |
| 2429 | 2429 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2430 | 2430 | |
| 2431 | 2431 | func = make_new_mfun( "float", "rate", Saxofony_ctrl_rate ); //! rate |
| 2432 | 2432 | func->add_arg( "float", "value" ); |
| 2433 | | − func->doc = "Set rate of attack (seconds)."; |
| 2433 | + func->doc = "set rate of attack (seconds)."; |
| 2434 | 2434 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2435 | 2435 | |
| 2436 | 2436 | func = make_new_mfun( "float", "rate", Saxofony_cget_rate ); //! rate |
| 2437 | | − func->doc = "Get rate of attack (seconds)."; |
| 2437 | + func->doc = "get rate of attack (seconds)."; |
| 2438 | 2438 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2439 | 2439 | |
| 2440 | 2440 | func = make_new_mfun( "float", "stiffness", Saxofony_ctrl_reed ); //! stiffness |
| 2441 | 2441 | func->add_arg( "float", "value" ); |
| 2442 | | − func->doc = "Set reed stiffness, [0.0-1.0]."; |
| 2442 | + func->doc = "set reed stiffness, [0.0-1.0]."; |
| 2443 | 2443 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2444 | 2444 | |
| 2445 | 2445 | func = make_new_mfun( "float", "stiffness", Saxofony_cget_reed ); //! stiffness |
| 2446 | | − func->doc = "Get reed stiffness, [0.0-1.0]."; |
| 2446 | + func->doc = "get reed stiffness, [0.0-1.0]."; |
| 2447 | 2447 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2448 | 2448 | |
| 2449 | 2449 | func = make_new_mfun( "float", "aperture", Saxofony_ctrl_aperture ); //! aperture |
| 2450 | 2450 | func->add_arg( "float", "value" ); |
| 2451 | | − func->doc = "Set reed aperture, [0.0-1.0]."; |
| 2451 | + func->doc = "set reed aperture, [0.0-1.0]."; |
| 2452 | 2452 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2453 | 2453 | |
| 2454 | 2454 | func = make_new_mfun( "float", "aperture", Saxofony_cget_aperture ); //! aperture |
| 2455 | | − func->doc = "Get reed aperture, [0.0-1.0]."; |
| 2455 | + func->doc = "get reed aperture, [0.0-1.0]."; |
| 2456 | 2456 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2457 | 2457 | |
| 2458 | 2458 | func = make_new_mfun( "float", "noiseGain", Saxofony_ctrl_noiseGain ); //! noiseGain |
| 2459 | 2459 | func->add_arg( "float", "value" ); |
| 2460 | | − func->doc = "Set noise component gain, [0.0-1.0]."; |
| 2460 | + func->doc = "set noise component gain, [0.0-1.0]."; |
| 2461 | 2461 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2462 | 2462 | |
| 2463 | 2463 | func = make_new_mfun( "float", "noiseGain", Saxofony_cget_noiseGain ); //! noiseGain |
| 2464 | | − func->doc = "Get noise component gain, [0.0-1.0]."; |
| 2464 | + func->doc = "get noise component gain, [0.0-1.0]."; |
| 2465 | 2465 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2466 | 2466 | |
| 2467 | 2467 | func = make_new_mfun( "float", "vibratoGain", Saxofony_ctrl_vibratoGain ); //! vibratoGain |
| 2468 | 2468 | func->add_arg( "float", "value" ); |
| 2469 | | − func->doc = "Set vibrato gain, [0.0-1.0]."; |
| 2469 | + func->doc = "set vibrato gain, [0.0-1.0]."; |
| 2470 | 2470 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2471 | 2471 | |
| 2472 | 2472 | func = make_new_mfun( "float", "vibratoGain", Saxofony_cget_vibratoGain ); //! vibratoGain |
| 2473 | | − func->doc = "Get vibrato gain, [0.0-1.0]."; |
| 2473 | + func->doc = "get vibrato gain, [0.0-1.0]."; |
| 2474 | 2474 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2475 | 2475 | |
| 2476 | 2476 | func = make_new_mfun( "float", "vibratoFreq", Saxofony_ctrl_vibratoFreq ); //! vibratoFreq |
| 2477 | 2477 | func->add_arg( "float", "value" ); |
| 2478 | | − func->doc = "Set vibrato frequency (Hz)."; |
| 2478 | + func->doc = "set vibrato frequency (Hz)."; |
| 2479 | 2479 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2480 | 2480 | |
| 2481 | 2481 | func = make_new_mfun( "float", "vibratoFreq", Saxofony_cget_vibratoFreq ); //! vibratoFreq |
| 2482 | | − func->doc = "Get vibrato frequency (Hz)."; |
| 2482 | + func->doc = "get vibrato frequency (Hz)."; |
| 2483 | 2483 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2484 | 2484 | |
| 2485 | 2485 | func = make_new_mfun( "float", "blowPosition", Saxofony_ctrl_blowPosition ); //! blowPosition |
| 2486 | 2486 | func->add_arg( "float", "value" ); |
| 2487 | | − func->doc = "Set lip stiffness, [0.0-1.0]."; |
| 2487 | + func->doc = "set lip stiffness, [0.0-1.0]."; |
| 2488 | 2488 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2489 | 2489 | |
| 2490 | 2490 | func = make_new_mfun( "float", "blowPosition", Saxofony_cget_blowPosition ); //! blowPosition |
| 2491 | | − func->doc = "Get lip stiffness, [0.0-1.0]."; |
| 2491 | + func->doc = "get lip stiffness, [0.0-1.0]."; |
| 2492 | 2492 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2493 | 2493 | |
| 2494 | 2494 | func = make_new_mfun( "float", "pressure", Saxofony_ctrl_pressure ); //! pressure |
| 2495 | 2495 | func->add_arg( "float", "value" ); |
| 2496 | | − func->doc = "Set pressure, [0.0-1.0]"; |
| 2496 | + func->doc = "set pressure, [0.0-1.0]"; |
| 2497 | 2497 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2498 | 2498 | |
| 2499 | 2499 | func = make_new_mfun( "float", "pressure", Saxofony_cget_pressure ); //! pressure |
| 2500 | | − func->doc = "Get pressure, [0.0-1.0]"; |
| 2500 | + func->doc = "get pressure, [0.0-1.0]"; |
| 2501 | 2501 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2502 | 2502 | |
| 2503 | 2503 | // end the class import |
| @@ -2560,66 +2560,66 @@ by Perry R. Cook, 1996 - 1999."; · 56 unmodified lines |
| 2560 | 2560 | |
| 2561 | 2561 | func = make_new_mfun( "int", "which", Shakers_ctrl_which ); //! select instrument |
| 2562 | 2562 | func->add_arg( "int", "value" ); |
| 2563 | | − func->doc = "Set instrument, [0-22] (see above)."; |
| 2563 | + func->doc = "set instrument, [0-22] (see above)."; |
| 2564 | 2564 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2565 | 2565 | |
| 2566 | 2566 | func = make_new_mfun( "int", "which", Shakers_cget_which ); //! select instrument |
| 2567 | | − func->doc = "Get instrument, [0-22] (see above)."; |
| 2567 | + func->doc = "get instrument, [0-22] (see above)."; |
| 2568 | 2568 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2569 | 2569 | |
| 2570 | 2570 | func = make_new_mfun( "int", "preset", Shakers_ctrl_which ); //! select instrument |
| 2571 | 2571 | func->add_arg( "int", "value" ); |
| 2572 | | − func->doc = "Set instrument, [0-22] (see above)."; |
| 2572 | + func->doc = "set instrument, [0-22] (see above)."; |
| 2573 | 2573 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2574 | 2574 | |
| 2575 | 2575 | func = make_new_mfun( "int", "preset", Shakers_cget_which ); //! select instrument |
| 2576 | | − func->doc = "Get instrument, [0-22] (see above)."; |
| 2576 | + func->doc = "get instrument, [0-22] (see above)."; |
| 2577 | 2577 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2578 | 2578 | |
| 2579 | 2579 | func = make_new_mfun( "float", "energy", Shakers_ctrl_energy ); //! energy |
| 2580 | 2580 | func->add_arg( "float", "value" ); |
| 2581 | | − func->doc = "Set shake energy, [0.0-1.0]."; |
| 2581 | + func->doc = "set shake energy, [0.0-1.0]."; |
| 2582 | 2582 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2583 | 2583 | |
| 2584 | 2584 | func = make_new_mfun( "float", "energy", Shakers_cget_energy ); //! energy |
| 2585 | | − func->doc = "Get shake energy, [0.0-1.0]."; |
| 2585 | + func->doc = "get shake energy, [0.0-1.0]."; |
| 2586 | 2586 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2587 | 2587 | |
| 2588 | 2588 | func = make_new_mfun( "float", "decay", Shakers_ctrl_decay ); //! decay |
| 2589 | 2589 | func->add_arg( "float", "value" ); |
| 2590 | | − func->doc = "Set system decay, [0.0-1.0]."; |
| 2590 | + func->doc = "set system decay, [0.0-1.0]."; |
| 2591 | 2591 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2592 | 2592 | |
| 2593 | 2593 | func = make_new_mfun( "float", "decay", Shakers_cget_decay ); //! decay |
| 2594 | | − func->doc = "Get system decay, [0.0-1.0]."; |
| 2594 | + func->doc = "get system decay, [0.0-1.0]."; |
| 2595 | 2595 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2596 | 2596 | |
| 2597 | 2597 | func = make_new_mfun( "float", "objects", Shakers_ctrl_objects ); //! objects |
| 2598 | 2598 | func->add_arg( "float", "value" ); |
| 2599 | | − func->doc = "Set number of objects, [0.0-128.0]."; |
| 2599 | + func->doc = "set number of objects, [0.0-128.0]."; |
| 2600 | 2600 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2601 | 2601 | |
| 2602 | 2602 | func = make_new_mfun( "float", "objects", Shakers_cget_objects ); //! objects |
| 2603 | | − func->doc = "Get number of objects, [0.0-128.0]."; |
| 2603 | + func->doc = "get number of objects, [0.0-128.0]."; |
| 2604 | 2604 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2605 | 2605 | |
| 2606 | 2606 | func = make_new_mfun( "float", "freq", Shakers_ctrl_freq ); //! frequency |
| 2607 | 2607 | func->add_arg( "float", "value" ); |
| 2608 | | − func->doc = "Set frequency (Hz)."; |
| 2608 | + func->doc = "set frequency (Hz)."; |
| 2609 | 2609 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2610 | 2610 | |
| 2611 | 2611 | func = make_new_mfun( "float", "freq", Shakers_cget_freq ); //! frequency |
| 2612 | | − func->doc = "Get frequency (Hz)."; |
| 2612 | + func->doc = "get frequency (Hz)."; |
| 2613 | 2613 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2614 | 2614 | |
| 2615 | 2615 | func = make_new_mfun( "float", "noteOn", Shakers_ctrl_noteOn ); //! note on |
| 2616 | 2616 | func->add_arg( "float", "value" ); |
| 2617 | | − func->doc = "Trigger note on."; |
| 2617 | + func->doc = "trigger note on."; |
| 2618 | 2618 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2619 | 2619 | |
| 2620 | 2620 | func = make_new_mfun( "float", "noteOff", Shakers_ctrl_noteOff ); //! note off |
| 2621 | 2621 | func->add_arg( "float", "value" ); |
| 2622 | | − func->doc = "Trigger note off."; |
| 2622 | + func->doc = "trigger note off."; |
| 2623 | 2623 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2624 | 2624 | |
| 2625 | 2625 | // end the class import |
| @@ -2630,7 +2630,7 @@ by Perry R. Cook, 1996 - 1999."; · 4 unmodified lines |
| 2630 | 2630 | // begin Sitar ugen |
| 2631 | 2631 | //------------------------------------------------------------------------ |
| 2632 | 2632 | |
| 2633 | | − doc = "This class implements a sitar plucked string physical model based on the Karplus-Strong algorithm.\n\ |
| 2633 | + doc = "a sitar plucked string physical model based on the Karplus-Strong algorithm.\n\ |
| 2634 | 2634 | \n\ |
| 2635 | 2635 | 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.\n\ |
| 2636 | 2636 | \n\ |
| @@ -2648,12 +2648,12 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 11 unmodified lines |
| 2648 | 2648 | |
| 2649 | 2649 | func = make_new_mfun( "float", "pluck", Sitar_ctrl_pluck ); //! pluck |
| 2650 | 2650 | func->add_arg( "float", "value" ); |
| 2651 | | − func->doc = "Pluck string."; |
| 2651 | + func->doc = "pluck string."; |
| 2652 | 2652 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2653 | 2653 | |
| 2654 | 2654 | func = make_new_mfun( "float", "clear", Sitar_ctrl_clear ); |
| 2655 | 2655 | func->add_arg( "float", "value" ); |
| 2656 | | − func->doc = "Clear instrument."; |
| 2656 | + func->doc = "clear instrument."; |
| 2657 | 2657 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2658 | 2658 | |
| 2659 | 2659 | // end the class import |
| @@ -2664,7 +2664,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 2664 | 2664 | // begin StifKarp ugen |
| 2665 | 2665 | //------------------------------------------------------------------------ |
| 2666 | 2666 | |
| 2667 | | − doc = "This class implements a simple plucked string algorithm (Karplus Strong) with enhancements (Jaffe-Smith, Smith, and others), including string stiffness and pluck position controls. The stiffness is modeled with allpass filters.\n\ |
| 2667 | + doc = "a simple plucked string algorithm (Karplus Strong) with enhancements (Jaffe-Smith, Smith, and others), including string stiffness and pluck position controls. The stiffness is modeled with allpass filters.\n\ |
| 2668 | 2668 | \n\ |
| 2669 | 2669 | This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others.\n\ |
| 2670 | 2670 | \n\ |
| @@ -2690,48 +2690,48 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 19 unmodified lines |
| 2690 | 2690 | |
| 2691 | 2691 | func = make_new_mfun( "float", "pluck", StifKarp_ctrl_pluck ); //! pluck |
| 2692 | 2692 | func->add_arg( "float", "value" ); |
| 2693 | | − func->doc = "Pluck string."; |
| 2693 | + func->doc = "pluck string."; |
| 2694 | 2694 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2695 | 2695 | |
| 2696 | 2696 | func = make_new_mfun( "float", "clear", StifKarp_ctrl_clear ); |
| 2697 | 2697 | func->add_arg( "float", "value" ); |
| 2698 | | − func->doc = "Clear instrument."; |
| 2698 | + func->doc = "clear instrument."; |
| 2699 | 2699 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2700 | 2700 | |
| 2701 | 2701 | func = make_new_mfun( "float", "pickupPosition", StifKarp_ctrl_pickupPosition ); |
| 2702 | 2702 | func->add_arg( "float", "value" ); |
| 2703 | | − func->doc = "Set pickup position, [0.0-1.0]."; |
| 2703 | + func->doc = "set pickup position, [0.0-1.0]."; |
| 2704 | 2704 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2705 | 2705 | |
| 2706 | 2706 | func = make_new_mfun( "float", "pickupPosition", StifKarp_cget_pickupPosition ); |
| 2707 | | − func->doc = "Get pickup position, [0.0-1.0]."; |
| 2707 | + func->doc = "get pickup position, [0.0-1.0]."; |
| 2708 | 2708 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2709 | 2709 | |
| 2710 | 2710 | func = make_new_mfun( "float", "stretch", StifKarp_ctrl_stretch ); |
| 2711 | 2711 | func->add_arg( "float", "value" ); |
| 2712 | | − func->doc = "Set string strech, [0.0-1.0]."; |
| 2712 | + func->doc = "set string strech, [0.0-1.0]."; |
| 2713 | 2713 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2714 | 2714 | |
| 2715 | 2715 | func = make_new_mfun( "float", "stretch", StifKarp_cget_stretch ); |
| 2716 | | − func->doc = "Get string strech, [0.0-1.0]."; |
| 2716 | + func->doc = "get string strech, [0.0-1.0]."; |
| 2717 | 2717 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2718 | 2718 | |
| 2719 | 2719 | func = make_new_mfun( "float", "sustain", StifKarp_ctrl_sustain ); |
| 2720 | 2720 | func->add_arg( "float", "value" ); |
| 2721 | | − func->doc = "Set string sustain, [0.0-1.0]."; |
| 2721 | + func->doc = "set string sustain, [0.0-1.0]."; |
| 2722 | 2722 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2723 | 2723 | |
| 2724 | 2724 | func = make_new_mfun( "float", "sustain", StifKarp_cget_sustain ); |
| 2725 | | − func->doc = "Get string sustain, [0.0-1.0]."; |
| 2725 | + func->doc = "get string sustain, [0.0-1.0]."; |
| 2726 | 2726 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2727 | 2727 | |
| 2728 | 2728 | func = make_new_mfun( "float", "baseLoopGain", StifKarp_ctrl_baseLoopGain ); |
| 2729 | 2729 | func->add_arg( "float", "value" ); |
| 2730 | | − func->doc = "Set base loop gain, [0.0-1.0]."; |
| 2730 | + func->doc = "set base loop gain, [0.0-1.0]."; |
| 2731 | 2731 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2732 | 2732 | |
| 2733 | 2733 | func = make_new_mfun( "float", "baseLoopGain", StifKarp_cget_baseLoopGain ); |
| 2734 | | − func->doc = "Get base loop gain, [0.0-1.0]."; |
| 2734 | + func->doc = "get base loop gain, [0.0-1.0]."; |
| 2735 | 2735 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2736 | 2736 | |
| 2737 | 2737 | |
| @@ -2743,7 +2743,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 5 unmodified lines |
| 2743 | 2743 | // begin VoicForm ugen |
| 2744 | 2744 | //------------------------------------------------------------------------ |
| 2745 | 2745 | |
| 2746 | | − doc = "This instrument contains an excitation singing wavetable (looping wave with random and periodic vibrato, smoothing on frequency, etc.), excitation noise, and four sweepable complex resonances.\n\ |
| 2746 | + doc = "an instrument containing an excitation singing wavetable (looping wave with random and periodic vibrato, smoothing on frequency, etc.), excitation noise, and four sweepable complex resonances.\n\ |
| 2747 | 2747 | \n\ |
| 2748 | 2748 | Measured formant data is included, and enough data is there to support either parallel or cascade synthesis. In the floating point case cascade synthesis is the most natural so that's what you'll find here.\n\ |
| 2749 | 2749 | \n\ |
| @@ -2780,93 +2780,93 @@ Phoneme Names:\n\ · 30 unmodified lines |
| 2780 | 2780 | |
| 2781 | 2781 | func = make_new_mfun( "string", "phoneme", VoicForm_ctrl_phoneme ); //! select phoneme ( above ) |
| 2782 | 2782 | func->add_arg( "string", "value" ); |
| 2783 | | − func->doc = "Set phoneme (see above)."; |
| 2783 | + func->doc = "set phoneme (see above)."; |
| 2784 | 2784 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2785 | 2785 | |
| 2786 | 2786 | func = make_new_mfun( "string", "phoneme", VoicForm_cget_phoneme ); //! select phoneme ( above ) |
| 2787 | | − func->doc = "Get phoneme (see above)."; |
| 2787 | + func->doc = "get phoneme (see above)."; |
| 2788 | 2788 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2789 | 2789 | |
| 2790 | 2790 | func = make_new_mfun( "float", "speak", VoicForm_ctrl_speak ); //! start singing |
| 2791 | 2791 | func->add_arg( "float", "value" ); |
| 2792 | | − func->doc = "Start singing, [0.0-1.0]."; |
| 2792 | + func->doc = "start singing, [0.0-1.0]."; |
| 2793 | 2793 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2794 | 2794 | |
| 2795 | 2795 | func = make_new_mfun( "float", "quiet", VoicForm_ctrl_quiet ); //! stop singing |
| 2796 | 2796 | func->add_arg( "float", "value" ); |
| 2797 | | − func->doc = "Stop singing, [0.0-1.0]."; |
| 2797 | + func->doc = "stop singing, [0.0-1.0]."; |
| 2798 | 2798 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2799 | 2799 | |
| 2800 | 2800 | func = make_new_mfun( "float", "voiced", VoicForm_ctrl_voiced ); //! set mix for voiced component |
| 2801 | 2801 | func->add_arg( "float", "value" ); |
| 2802 | | − func->doc = "Set mix for voiced component, [0.0 - 1.0]."; |
| 2802 | + func->doc = "set mix for voiced component, [0.0 - 1.0]."; |
| 2803 | 2803 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2804 | 2804 | |
| 2805 | 2805 | func = make_new_mfun( "float", "voiced", VoicForm_cget_voiced ); //! set mix for voiced component |
| 2806 | | − func->doc = "Get mix for voiced component, [0.0 - 1.0]."; |
| 2806 | + func->doc = "get mix for voiced component, [0.0 - 1.0]."; |
| 2807 | 2807 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2808 | 2808 | |
| 2809 | 2809 | func = make_new_mfun( "float", "unVoiced", VoicForm_ctrl_unVoiced ); //! set mix for unvoiced component |
| 2810 | 2810 | func->add_arg( "float", "value" ); |
| 2811 | | − func->doc = "Set mix for unvoiced component, [0.0 - 1.0]."; |
| 2811 | + func->doc = "set mix for unvoiced component, [0.0 - 1.0]."; |
| 2812 | 2812 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2813 | 2813 | |
| 2814 | 2814 | func = make_new_mfun( "float", "unVoiced", VoicForm_cget_unVoiced ); //! set mix for unvoiced component |
| 2815 | | − func->doc = "Get mix for unvoiced component, [0.0 - 1.0]."; |
| 2815 | + func->doc = "get mix for unvoiced component, [0.0 - 1.0]."; |
| 2816 | 2816 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2817 | 2817 | |
| 2818 | 2818 | func = make_new_mfun( "float", "pitchSweepRate", VoicForm_ctrl_pitchSweepRate ); //! pitch sweep |
| 2819 | 2819 | func->add_arg( "float", "value" ); |
| 2820 | | − func->doc = "Set rate of pitch sweep, [0.0-1.0]."; |
| 2820 | + func->doc = "set rate of pitch sweep, [0.0-1.0]."; |
| 2821 | 2821 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2822 | 2822 | |
| 2823 | 2823 | func = make_new_mfun( "float", "pitchSweepRate", VoicForm_cget_pitchSweepRate ); //! pitch sweep |
| 2824 | | − func->doc = "Get rate of pitch sweep, [0.0-1.0]."; |
| 2824 | + func->doc = "get rate of pitch sweep, [0.0-1.0]."; |
| 2825 | 2825 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2826 | 2826 | |
| 2827 | 2827 | func = make_new_mfun( "float", "voiceMix", VoicForm_ctrl_voiceMix ); //! voiced/unvoiced mix |
| 2828 | 2828 | func->add_arg( "float", "value" ); |
| 2829 | | − func->doc = "Set voiced/unvoiced mix, [0.0-1.0]."; |
| 2829 | + func->doc = "set voiced/unvoiced mix, [0.0-1.0]."; |
| 2830 | 2830 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2831 | 2831 | |
| 2832 | 2832 | func = make_new_mfun( "float", "voiceMix", VoicForm_cget_voiceMix ); //! voiced/unvoiced mix |
| 2833 | | − func->doc = "Get voiced/unvoiced mix, [0.0-1.0]."; |
| 2833 | + func->doc = "get voiced/unvoiced mix, [0.0-1.0]."; |
| 2834 | 2834 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2835 | 2835 | |
| 2836 | 2836 | func = make_new_mfun( "int", "phonemeNum", VoicForm_ctrl_selPhoneme ); //! select phoneme by number |
| 2837 | 2837 | func->add_arg( "int", "value" ); |
| 2838 | | − func->doc = "Set phoneme by number, [0.0-128.0]."; |
| 2838 | + func->doc = "set phoneme by number, [0.0-128.0]."; |
| 2839 | 2839 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2840 | 2840 | |
| 2841 | 2841 | func = make_new_mfun( "int", "phonemeNum", VoicForm_cget_selPhoneme ); //! select phoneme by number |
| 2842 | | − func->doc = "Get phoneme by number, [0.0-128.0]."; |
| 2842 | + func->doc = "get phoneme by number, [0.0-128.0]."; |
| 2843 | 2843 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2844 | 2844 | |
| 2845 | 2845 | func = make_new_mfun( "float", "vibratoFreq", VoicForm_ctrl_vibratoFreq );//! vibrato |
| 2846 | 2846 | func->add_arg( "float", "value" ); |
| 2847 | | − func->doc = "Set vibrato frequency (Hz)."; |
| 2847 | + func->doc = "set vibrato frequency (Hz)."; |
| 2848 | 2848 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2849 | 2849 | |
| 2850 | 2850 | func = make_new_mfun( "float", "vibratoFreq", VoicForm_cget_vibratoFreq );//! vibrato |
| 2851 | | − func->doc = "Get vibrato frequency (Hz)."; |
| 2851 | + func->doc = "get vibrato frequency (Hz)."; |
| 2852 | 2852 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2853 | 2853 | |
| 2854 | 2854 | func = make_new_mfun( "float", "vibratoGain", VoicForm_ctrl_vibratoGain );//! vibrato depth |
| 2855 | | − func->doc = "Set vibrato gain (Hz), [0.0-1.0]."; |
| 2855 | + func->doc = "set vibrato gain (Hz), [0.0-1.0]."; |
| 2856 | 2856 | func->add_arg( "float", "value" ); |
| 2857 | 2857 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2858 | 2858 | |
| 2859 | 2859 | func = make_new_mfun( "float", "vibratoGain", VoicForm_cget_vibratoGain );//! vibrato depth |
| 2860 | | − func->doc = "Get vibrato gain (Hz), [0.0-1.0]."; |
| 2860 | + func->doc = "get vibrato gain (Hz), [0.0-1.0]."; |
| 2861 | 2861 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2862 | 2862 | |
| 2863 | 2863 | func = make_new_mfun( "float", "loudness", VoicForm_ctrl_loudness ); //! 'loudness' of voicee |
| 2864 | 2864 | func->add_arg( "float", "value" ); |
| 2865 | | − func->doc = "Set 'loudness' of voice, [0.0-1.0]."; |
| 2865 | + func->doc = "set 'loudness' of voice, [0.0-1.0]."; |
| 2866 | 2866 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2867 | 2867 | |
| 2868 | 2868 | func = make_new_mfun( "float", "loudness", VoicForm_cget_loudness ); //! 'loudness' of voicee |
| 2869 | | − func->doc = "Get 'loudness' of voice, [0.0-1.0]."; |
| 2869 | + func->doc = "get 'loudness' of voice, [0.0-1.0]."; |
| 2870 | 2870 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2871 | 2871 | |
| 2872 | 2872 | // end the class import |
| @@ -2880,7 +2880,7 @@ Phoneme Names:\n\ · 7 unmodified lines |
| 2880 | 2880 | // begin FM ugen |
| 2881 | 2881 | //------------------------------------------------------------------------ |
| 2882 | 2882 | |
| 2883 | | − doc = "This class controls an arbitrary number of waves and envelopes, determined via a constructor argument.\n\ |
| 2883 | + doc = "this class controls an arbitrary number of waves and envelopes, determined via a constructor argument.\n\ |
| 2884 | 2884 | \n\ |
| 2885 | 2885 | Control Change Numbers:\n\ |
| 2886 | 2886 | \n\ |
| @@ -2909,47 +2909,47 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 22 unmodified lines |
| 2909 | 2909 | |
| 2910 | 2910 | func = make_new_mfun( "float", "lfoDepth", FM_ctrl_modDepth ); //!modulation Depth |
| 2911 | 2911 | func->add_arg( "float", "value" ); |
| 2912 | | − func->doc = "Set modulation depth, [0.0-1.0]."; |
| 2912 | + func->doc = "set modulation depth, [0.0-1.0]."; |
| 2913 | 2913 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2914 | 2914 | |
| 2915 | 2915 | func = make_new_mfun( "float", "lfoDepth", FM_cget_modDepth ); //!modulation Depth |
| 2916 | | − func->doc = "Get modulation depth, [0.0-1.0]."; |
| 2916 | + func->doc = "get modulation depth, [0.0-1.0]."; |
| 2917 | 2917 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2918 | 2918 | |
| 2919 | 2919 | func = make_new_mfun( "float", "lfoSpeed", FM_ctrl_modSpeed ); //!modulation Speed |
| 2920 | 2920 | func->add_arg( "float", "value" ); |
| 2921 | | − func->doc = "Set modulation speed (Hz)."; |
| 2921 | + func->doc = "set modulation speed (Hz)."; |
| 2922 | 2922 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2923 | 2923 | |
| 2924 | 2924 | func = make_new_mfun( "float", "lfoSpeed", FM_cget_modSpeed ); //!modulation Speed |
| 2925 | | − func->doc = "Get modulation speed (Hz)."; |
| 2925 | + func->doc = "get modulation speed (Hz)."; |
| 2926 | 2926 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2927 | 2927 | |
| 2928 | 2928 | func = make_new_mfun( "float", "afterTouch", FM_ctrl_afterTouch ); //!aftertouch |
| 2929 | 2929 | func->add_arg( "float", "value" ); |
| 2930 | | − func->doc = "Set aftertouch, [0.0-1.0]."; |
| 2930 | + func->doc = "set aftertouch, [0.0-1.0]."; |
| 2931 | 2931 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2932 | 2932 | |
| 2933 | 2933 | func = make_new_mfun( "float", "afterTouch", FM_cget_afterTouch ); //!aftertouch |
| 2934 | | − func->doc = "Get aftertouch, [0.0-1.0]."; |
| 2934 | + func->doc = "get aftertouch, [0.0-1.0]."; |
| 2935 | 2935 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2936 | 2936 | |
| 2937 | 2937 | func = make_new_mfun( "float", "controlOne", FM_ctrl_control1 ); //! FM control 1 |
| 2938 | 2938 | func->add_arg( "float", "value" ); |
| 2939 | | − func->doc = "Set control one [instrument specific]."; |
| 2939 | + func->doc = "set control one [instrument specific]."; |
| 2940 | 2940 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2941 | 2941 | |
| 2942 | 2942 | func = make_new_mfun( "float", "controlOne", FM_cget_control1 ); //! FM control 1 |
| 2943 | | − func->doc = "Get control one [instrument specific]."; |
| 2943 | + func->doc = "get control one [instrument specific]."; |
| 2944 | 2944 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2945 | 2945 | |
| 2946 | 2946 | func = make_new_mfun( "float", "controlTwo", FM_ctrl_control2 ); //! FM control 2 |
| 2947 | 2947 | func->add_arg( "float", "value" ); |
| 2948 | | − func->doc = "Set control two [instrument specific]."; |
| 2948 | + func->doc = "set control two [instrument specific]."; |
| 2949 | 2949 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2950 | 2950 | |
| 2951 | 2951 | func = make_new_mfun( "float", "controlTwo", FM_cget_control2 ); //! FM control 2 |
| 2952 | | − func->doc = "Get control two [instrument specific]."; |
| 2952 | + func->doc = "get control two [instrument specific]."; |
| 2953 | 2953 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 2954 | 2954 | |
| 2955 | 2955 | // end the class import |
| @@ -2960,7 +2960,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 2960 | 2960 | // begin BeeThree ugen |
| 2961 | 2961 | //------------------------------------------------------------------------ |
| 2962 | 2962 | |
| 2963 | | − doc = " This class implements a simple 4 operator topology, also referred to as algorithm 8 of the TX81Z.\n\ |
| 2963 | + doc = "a simple 4-operator FM topology, also referred to as algorithm 8 of the TX81Z.\n\ |
| 2964 | 2964 | \n\ |
| 2965 | 2965 | Algorithm 8 is :\n\ |
| 2966 | 2966 | \n\ |
| @@ -2994,7 +2994,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 27 unmodified lines |
| 2994 | 2994 | // begin FMVoices ugen |
| 2995 | 2995 | //------------------------------------------------------------------------ |
| 2996 | 2996 | |
| 2997 | | − doc = "This class implements 3 carriers and a common modulator, also referred to as algorithm 6 of the TX81Z.\n\ |
| 2997 | + doc = "a FM instrument with 3 carriers and a common modulator, also referred to as algorithm 6 of the TX81Z.\n\ |
| 2998 | 2998 | \n\ |
| 2999 | 2999 | Algorithm 6 is :\n\ |
| 3000 | 3000 | \n\ |
| @@ -3020,29 +3020,29 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 19 unmodified lines |
| 3020 | 3020 | |
| 3021 | 3021 | func = make_new_mfun( "float", "vowel", FMVoices_ctrl_vowel ); //!select vowel |
| 3022 | 3022 | func->add_arg( "float", "value" ); |
| 3023 | | − func->doc = "Set vowel, [0.0-1.0]."; |
| 3023 | + func->doc = "set vowel, [0.0-1.0]."; |
| 3024 | 3024 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3025 | 3025 | |
| 3026 | 3026 | func = make_new_mfun( "float", "vowel", FMVoices_cget_vowel ); //!select vowel |
| 3027 | | − func->doc = "Get vowel, [0.0-1.0]."; |
| 3027 | + func->doc = "get vowel, [0.0-1.0]."; |
| 3028 | 3028 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3029 | 3029 | |
| 3030 | 3030 | func = make_new_mfun( "float", "spectralTilt", FMVoices_ctrl_spectralTilt ); //! spectral tilt |
| 3031 | 3031 | func->add_arg( "float", "value" ); |
| 3032 | | − func->doc = "Set spectral tilt, [0.0-1.0]."; |
| 3032 | + func->doc = "set spectral tilt, [0.0-1.0]."; |
| 3033 | 3033 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3034 | 3034 | |
| 3035 | 3035 | func = make_new_mfun( "float", "spectralTilt", FMVoices_cget_spectralTilt ); //! spectral tilt |
| 3036 | | − func->doc = "Get spectral tilt, [0.0-1.0]."; |
| 3036 | + func->doc = "get spectral tilt, [0.0-1.0]."; |
| 3037 | 3037 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3038 | 3038 | |
| 3039 | 3039 | func = make_new_mfun( "float", "adsrTarget", FMVoices_ctrl_adsrTarget ); //!adsr targets |
| 3040 | 3040 | func->add_arg( "float", "value" ); |
| 3041 | | − func->doc = "Set ADSR targets, [0.0-1.0]."; |
| 3041 | + func->doc = "set ADSR targets, [0.0-1.0]."; |
| 3042 | 3042 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3043 | 3043 | |
| 3044 | 3044 | func = make_new_mfun( "float", "adsrTarget", FMVoices_cget_adsrTarget ); //!adsr targets |
| 3045 | | − func->doc = "Get ADSR targets, [0.0-1.0]."; |
| 3045 | + func->doc = "get ADSR targets, [0.0-1.0]."; |
| 3046 | 3046 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3047 | 3047 | |
| 3048 | 3048 | // end the class import |
| @@ -3053,7 +3053,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 3053 | 3053 | // begin HevyMetl ugen |
| 3054 | 3054 | //------------------------------------------------------------------------ |
| 3055 | 3055 | |
| 3056 | | − doc = "This class implements 3 cascade operators with feedback modulation, also referred to as algorithm 3 of the TX81Z.\n\ |
| 3056 | + doc = "a FM instrument containing 3 cascade operators with feedback modulation, also referred to as algorithm 3 of the TX81Z.\n\ |
| 3057 | 3057 | \n\ |
| 3058 | 3058 | Algorithm 3 is :\n\ |
| 3059 | 3059 | \n\ |
| @@ -3084,7 +3084,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 24 unmodified lines |
| 3084 | 3084 | // begin PercFlut ugen |
| 3085 | 3085 | //------------------------------------------------------------------------ |
| 3086 | 3086 | |
| 3087 | | − doc = "This class implements algorithm 4 of the TX81Z.\n\ |
| 3087 | + doc = "a FM instrument corresponding to algorithm 4 of the TX81Z.\n\ |
| 3088 | 3088 | \n\ |
| 3089 | 3089 | Algorithm 4 is :\n\ |
| 3090 | 3090 | \n\ |
| @@ -3115,7 +3115,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 24 unmodified lines |
| 3115 | 3115 | // begin Rhodey ugen |
| 3116 | 3116 | //------------------------------------------------------------------------ |
| 3117 | 3117 | |
| 3118 | | − doc = " This class implements two simple FM Pairs summed together, also referred to as algorithm 5 of the TX81Z.\n\ |
| 3118 | + doc = "two simple FM Pairs summed together, also referred to as algorithm 5 of the TX81Z.\n\ |
| 3119 | 3119 | \n\ |
| 3120 | 3120 | Algorithm 5 is :\n\ |
| 3121 | 3121 | \n\ |
| @@ -3150,7 +3150,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 28 unmodified lines |
| 3150 | 3150 | // begin TubeBell ugen |
| 3151 | 3151 | //------------------------------------------------------------------------ |
| 3152 | 3152 | |
| 3153 | | − doc = "This class implements two simple FM Pairs summed together, also referred to as algorithm 5 of the TX81Z.\n\ |
| 3153 | + doc = "two simple FM Pairs summed together, also referred to as algorithm 5 of the TX81Z.\n\ |
| 3154 | 3154 | \n\ |
| 3155 | 3155 | Algorithm 5 is :\n\ |
| 3156 | 3156 | \n\ |
| @@ -3182,7 +3182,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 25 unmodified lines |
| 3182 | 3182 | // begin Wurley ugen |
| 3183 | 3183 | //------------------------------------------------------------------------ |
| 3184 | 3184 | |
| 3185 | | − doc = "This class implements two simple FM Pairs summed together, also referred to as algorithm 5 of the TX81Z.\n\ |
| 3185 | + doc = "two simple FM Pairs summed together, also referred to as algorithm 5 of the TX81Z.\n\ |
| 3186 | 3186 | \n\ |
| 3187 | 3187 | Algorithm 5 is :\n\ |
| 3188 | 3188 | \n\ |
| @@ -3222,7 +3222,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 33 unmodified lines |
| 3222 | 3222 | // begin Delay ugen |
| 3223 | 3223 | //------------------------------------------------------------------------ |
| 3224 | 3224 | |
| 3225 | | − doc = "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.\n\ |
| 3225 | + doc = "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.\n\ |
| 3226 | 3226 | \n\ |
| 3227 | 3227 | A non-interpolating delay line is typically used in fixed delay-length applications, such as for reverberation.\n\ |
| 3228 | 3228 | \n\ |
| @@ -3238,24 +3238,24 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 9 unmodified lines |
| 3238 | 3238 | if( Delay_offset_data == CK_INVALID_OFFSET ) goto error; |
| 3239 | 3239 | func = make_new_mfun( "dur", "delay", Delay_ctrl_delay ); //! length of delay |
| 3240 | 3240 | func->add_arg( "dur", "value" ); |
| 3241 | | − func->doc = "Set length of delay."; |
| 3241 | + func->doc = "set length of delay."; |
| 3242 | 3242 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3243 | 3243 | |
| 3244 | 3244 | func = make_new_mfun( "dur", "delay", Delay_cget_delay ); //! length of delay |
| 3245 | | − func->doc = "Get length of delay."; |
| 3245 | + func->doc = "get length of delay."; |
| 3246 | 3246 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3247 | 3247 | |
| 3248 | 3248 | func = make_new_mfun( "dur", "max", Delay_ctrl_max ); //! max delay (buffer size) |
| 3249 | 3249 | func->add_arg( "dur", "value" ); |
| 3250 | | − func->doc = "Set max delay (buffer size)."; |
| 3250 | + func->doc = "set max delay (buffer size)."; |
| 3251 | 3251 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3252 | 3252 | |
| 3253 | 3253 | func = make_new_mfun( "dur", "max", Delay_cget_max ); //! max delay (buffer size) |
| 3254 | | − func->doc = "Get max delay (buffer size)."; |
| 3254 | + func->doc = "get max delay (buffer size)."; |
| 3255 | 3255 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3256 | 3256 | |
| 3257 | 3257 | func = make_new_mfun( "void", "clear", Delay_clear ); //! clear delay |
| 3258 | | − func->doc = "Clear delay line."; |
| 3258 | + func->doc = "clear delay line."; |
| 3259 | 3259 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3260 | 3260 | |
| 3261 | 3261 | // delay 'subs' not actually extending . |
| @@ -3268,7 +3268,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 6 unmodified lines |
| 3268 | 3268 | // begin DelayA ugen |
| 3269 | 3269 | //------------------------------------------------------------------------ |
| 3270 | 3270 | |
| 3271 | | − doc = "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.\n\ |
| 3271 | + doc = "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.\n\ |
| 3272 | 3272 | \n\ |
| 3273 | 3273 | 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.\n\ |
| 3274 | 3274 | \n\ |
| @@ -3282,24 +3282,24 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 7 unmodified lines |
| 3282 | 3282 | if( DelayA_offset_data == CK_INVALID_OFFSET ) goto error; |
| 3283 | 3283 | func = make_new_mfun( "dur", "delay", DelayA_ctrl_delay ); //! length of delay |
| 3284 | 3284 | func->add_arg( "dur", "value" ); |
| 3285 | | − func->doc = "Set length of delay."; |
| 3285 | + func->doc = "set length of delay."; |
| 3286 | 3286 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3287 | 3287 | |
| 3288 | 3288 | func = make_new_mfun( "dur", "delay", DelayA_cget_delay ); //! length of delay |
| 3289 | | − func->doc = "Get length of delay."; |
| 3289 | + func->doc = "get length of delay."; |
| 3290 | 3290 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3291 | 3291 | |
| 3292 | 3292 | func = make_new_mfun( "dur", "max", DelayA_ctrl_max ); //! max delay ( buffer size ) |
| 3293 | 3293 | func->add_arg( "dur", "value" ); |
| 3294 | | − func->doc = "Set max delay (buffer size)."; |
| 3294 | + func->doc = "set max delay (buffer size)."; |
| 3295 | 3295 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3296 | 3296 | |
| 3297 | 3297 | func = make_new_mfun( "dur", "max", DelayA_cget_max ); //! max delay ( buffer size ) |
| 3298 | | − func->doc = "Get max delay (buffer size)."; |
| 3298 | + func->doc = "get max delay (buffer size)."; |
| 3299 | 3299 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3300 | 3300 | |
| 3301 | 3301 | func = make_new_mfun( "void", "clear", DelayA_clear ); //! clear delay |
| 3302 | | − func->doc = "Clear delay line."; |
| 3302 | + func->doc = "clear delay line."; |
| 3303 | 3303 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3304 | 3304 | |
| 3305 | 3305 | // end the class import |
| @@ -3310,7 +3310,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 3310 | 3310 | // begin DelayL ugen |
| 3311 | 3311 | //------------------------------------------------------------------------ |
| 3312 | 3312 | |
| 3313 | | − doc = "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.\n\ |
| 3313 | + doc = "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.\n\ |
| 3314 | 3314 | \n\ |
| 3315 | 3315 | 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.\n\ |
| 3316 | 3316 | \n\ |
| @@ -3329,24 +3329,24 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 12 unmodified lines |
| 3329 | 3329 | if( DelayL_offset_data == CK_INVALID_OFFSET ) goto error; |
| 3330 | 3330 | func = make_new_mfun( "dur", "delay", DelayL_ctrl_delay ); //! length of delay |
| 3331 | 3331 | func->add_arg( "dur", "value" ); |
| 3332 | | − func->doc = "Set length of delay."; |
| 3332 | + func->doc = "set length of delay."; |
| 3333 | 3333 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3334 | 3334 | |
| 3335 | 3335 | func = make_new_mfun( "dur", "delay", DelayL_cget_delay ); //! length of delay |
| 3336 | | − func->doc = "Get length of delay."; |
| 3336 | + func->doc = "get length of delay."; |
| 3337 | 3337 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3338 | 3338 | |
| 3339 | 3339 | func = make_new_mfun( "dur", "max", DelayL_ctrl_max ); //! max delay ( buffer size ) |
| 3340 | 3340 | func->add_arg( "dur", "value" ); |
| 3341 | | − func->doc = "Set max delay (buffer size)."; |
| 3341 | + func->doc = "set max delay (buffer size)."; |
| 3342 | 3342 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3343 | 3343 | |
| 3344 | 3344 | func = make_new_mfun( "dur", "max", DelayL_cget_max ); //! max delay ( buffer size ) |
| 3345 | | − func->doc = "Get max delay (buffer size)."; |
| 3345 | + func->doc = "get max delay (buffer size)."; |
| 3346 | 3346 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3347 | 3347 | |
| 3348 | 3348 | func = make_new_mfun( "void", "clear", DelayL_clear ); //! clear delay |
| 3349 | | − func->doc = "Clear delay line."; |
| 3349 | + func->doc = "clear delay line."; |
| 3350 | 3350 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3351 | 3351 | |
| 3352 | 3352 | // end the class import |
| @@ -3357,7 +3357,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 3357 | 3357 | // begin Echo ugen |
| 3358 | 3358 | //------------------------------------------------------------------------ |
| 3359 | 3359 | |
| 3360 | | − doc = "This class implements a echo effect.\n\ |
| 3360 | + doc = "an echo effect.\n\ |
| 3361 | 3361 | \n\ |
| 3362 | 3362 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; |
| 3363 | 3363 | |
| @@ -3372,29 +3372,29 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 8 unmodified lines |
| 3372 | 3372 | if( Echo_offset_data == CK_INVALID_OFFSET ) goto error; |
| 3373 | 3373 | func = make_new_mfun( "dur", "delay", Echo_ctrl_delay ); //! length of echo |
| 3374 | 3374 | func->add_arg( "dur", "value" ); |
| 3375 | | − func->doc = "Set length of echo."; |
| 3375 | + func->doc = "set length of echo."; |
| 3376 | 3376 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3377 | 3377 | |
| 3378 | 3378 | func = make_new_mfun( "dur", "delay", Echo_cget_delay ); //! length of echo |
| 3379 | | − func->doc = "Get length of echo."; |
| 3379 | + func->doc = "get length of echo."; |
| 3380 | 3380 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3381 | 3381 | |
| 3382 | 3382 | func = make_new_mfun( "dur", "max", Echo_ctrl_max ); //! max delay |
| 3383 | 3383 | func->add_arg( "dur", "value" ); |
| 3384 | | − func->doc = "Set max delay (buffer size)."; |
| 3384 | + func->doc = "set max delay (buffer size)."; |
| 3385 | 3385 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3386 | 3386 | |
| 3387 | 3387 | func = make_new_mfun( "dur", "max", Echo_cget_max ); //! max delay |
| 3388 | | − func->doc = "Get max delay (buffer size)."; |
| 3388 | + func->doc = "get max delay (buffer size)."; |
| 3389 | 3389 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3390 | 3390 | |
| 3391 | 3391 | func = make_new_mfun( "float", "mix", Echo_ctrl_mix ); //! mix level ( wet/dry ) |
| 3392 | 3392 | func->add_arg( "float", "value" ); |
| 3393 | | − func->doc = "Set mix level (wet/dry)."; |
| 3393 | + func->doc = "set mix level (wet/dry)."; |
| 3394 | 3394 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3395 | 3395 | |
| 3396 | 3396 | func = make_new_mfun( "float", "mix", Echo_cget_mix ); //! mix level ( wet/dry ) |
| 3397 | | − func->doc = "Get mix level (wet/dry)."; |
| 3397 | + func->doc = "get mix level (wet/dry)."; |
| 3398 | 3398 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3399 | 3399 | |
| 3400 | 3400 | // end the class import |
| @@ -3407,7 +3407,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 6 unmodified lines |
| 3407 | 3407 | //------------------------------------------------------------------------ |
| 3408 | 3408 | // begin Envelope ugen |
| 3409 | 3409 | //------------------------------------------------------------------------ |
| 3410 | | − doc = "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`.\n\ |
| 3410 | + doc = "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`.\n\ |
| 3411 | 3411 | \n\ |
| 3412 | 3412 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; |
| 3413 | 3413 | |
| @@ -3423,66 +3423,66 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 9 unmodified lines |
| 3423 | 3423 | if( Envelope_offset_data == CK_INVALID_OFFSET ) goto error; |
| 3424 | 3424 | |
| 3425 | 3425 | func = make_new_mfun( "int", "keyOn", Envelope_ctrl_keyOn0 ); //! ramp to 1.0 |
| 3426 | | − func->doc = "Get keyOn state."; |
| 3426 | + func->doc = "get keyOn state."; |
| 3427 | 3427 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3428 | 3428 | |
| 3429 | 3429 | func = make_new_mfun( "int", "keyOn", Envelope_ctrl_keyOn ); //! ramp to 1.0 |
| 3430 | 3430 | func->add_arg( "int", "value" ); |
| 3431 | | − func->doc = "Ramp to 1.0."; |
| 3431 | + func->doc = "ramp to 1.0."; |
| 3432 | 3432 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3433 | 3433 | |
| 3434 | 3434 | func = make_new_mfun( "int", "keyOff", Envelope_ctrl_keyOff0 ); //! ramp to 0.0 |
| 3435 | | − func->doc = "Get keyOff state."; |
| 3435 | + func->doc = "get keyOff state."; |
| 3436 | 3436 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3437 | 3437 | |
| 3438 | 3438 | func = make_new_mfun( "int", "keyOff", Envelope_ctrl_keyOff ); //! ramp to 0.0 |
| 3439 | 3439 | func->add_arg( "int", "value" ); |
| 3440 | | − func->doc = "Ramp to 0.0."; |
| 3440 | + func->doc = "ramp to 0.0."; |
| 3441 | 3441 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3442 | 3442 | |
| 3443 | 3443 | func = make_new_mfun( "float", "target", Envelope_ctrl_target ); //! ramp to arbitrary value. |
| 3444 | 3444 | func->add_arg( "float", "value" ); |
| 3445 | | − func->doc = "Set value to ramp to."; |
| 3445 | + func->doc = "set value to ramp to."; |
| 3446 | 3446 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3447 | 3447 | |
| 3448 | 3448 | func = make_new_mfun( "float", "target", Envelope_cget_target ); //! ramp to arbitrary value. |
| 3449 | | − func->doc = "Get value to ramp to."; |
| 3449 | + func->doc = "get value to ramp to."; |
| 3450 | 3450 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3451 | 3451 | |
| 3452 | 3452 | func = make_new_mfun( "float", "time", Envelope_ctrl_time ); //! time to reach target |
| 3453 | 3453 | func->add_arg( "float", "value" ); |
| 3454 | | − func->doc = "Set time to reach target (in seconds)."; |
| 3454 | + func->doc = "set time to reach target (in seconds)."; |
| 3455 | 3455 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3456 | 3456 | |
| 3457 | 3457 | func = make_new_mfun( "float", "time", Envelope_cget_time ); //! time to reach target |
| 3458 | | − func->doc = "Get time to reach target (in seconds)."; |
| 3458 | + func->doc = "get time to reach target (in seconds)."; |
| 3459 | 3459 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3460 | 3460 | |
| 3461 | 3461 | func = make_new_mfun( "dur", "duration", Envelope_ctrl_duration ); //! time to reach target |
| 3462 | 3462 | func->add_arg( "dur", "value" ); |
| 3463 | | − func->doc = "Set duration to reach target."; |
| 3463 | + func->doc = "set duration to reach target."; |
| 3464 | 3464 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3465 | 3465 | |
| 3466 | 3466 | func = make_new_mfun( "dur", "duration", Envelope_cget_duration ); //! time to reach target |
| 3467 | | − func->doc = "Get duration to reach target."; |
| 3467 | + func->doc = "get duration to reach target."; |
| 3468 | 3468 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3469 | 3469 | |
| 3470 | 3470 | func = make_new_mfun( "float", "rate", Envelope_ctrl_rate ); //! attack rate |
| 3471 | 3471 | func->add_arg( "float", "value" ); |
| 3472 | | − func->doc = "Set rate of change."; |
| 3472 | + func->doc = "set rate of change."; |
| 3473 | 3473 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3474 | 3474 | |
| 3475 | 3475 | func = make_new_mfun( "float", "rate", Envelope_cget_rate ); //! attack rate |
| 3476 | | − func->doc = "Get rate of change."; |
| 3476 | + func->doc = "get rate of change."; |
| 3477 | 3477 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3478 | 3478 | |
| 3479 | 3479 | func = make_new_mfun( "float", "value", Envelope_ctrl_value ); //! set immediate value |
| 3480 | 3480 | func->add_arg( "float", "value" ); |
| 3481 | | − func->doc = "Set immediate value."; |
| 3481 | + func->doc = "set immediate value."; |
| 3482 | 3482 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3483 | 3483 | |
| 3484 | 3484 | func = make_new_mfun( "float", "value", Envelope_cget_value ); //! set immediate value |
| 3485 | | − func->doc = "Get immediate value."; |
| 3485 | + func->doc = "get immediate value."; |
| 3486 | 3486 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3487 | 3487 | |
| 3488 | 3488 | |
| @@ -3494,7 +3494,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 5 unmodified lines |
| 3494 | 3494 | // begin ADSR ugen |
| 3495 | 3495 | //------------------------------------------------------------------------ |
| 3496 | 3496 | |
| 3497 | | − doc = "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.\n\ |
| 3497 | + doc = "a traditional ADSR (Attack, Decay, Sustain, Release) envelope. It responds to simple `keyOn` and `keyOff` messages, keeping track of its state.\n\ |
| 3498 | 3498 | \n\ |
| 3499 | 3499 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; |
| 3500 | 3500 | |
| @@ -3507,65 +3507,65 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 6 unmodified lines |
| 3507 | 3507 | |
| 3508 | 3508 | func = make_new_mfun( "dur", "attackTime", ADSR_ctrl_attackTime ); //! attack time |
| 3509 | 3509 | func->add_arg( "dur", "value" ); |
| 3510 | | − func->doc = "Set attack time."; |
| 3510 | + func->doc = "set attack time."; |
| 3511 | 3511 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3512 | 3512 | |
| 3513 | 3513 | func = make_new_mfun( "dur", "attackTime", ADSR_cget_attackTime ); //! attack time |
| 3514 | | − func->doc = "Get attack time."; |
| 3514 | + func->doc = "get attack time."; |
| 3515 | 3515 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3516 | 3516 | |
| 3517 | 3517 | func = make_new_mfun( "float", "attackRate", ADSR_ctrl_attackRate ); //! attack rate |
| 3518 | 3518 | func->add_arg( "float", "value" ); |
| 3519 | | − func->doc = "Set attack rate."; |
| 3519 | + func->doc = "set attack rate."; |
| 3520 | 3520 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3521 | 3521 | |
| 3522 | 3522 | func = make_new_mfun( "float", "attackRate", ADSR_cget_attackRate ); //! attack rate |
| 3523 | | − func->doc = "Get attack rate."; |
| 3523 | + func->doc = "get attack rate."; |
| 3524 | 3524 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3525 | 3525 | |
| 3526 | 3526 | func = make_new_mfun( "dur", "decayTime", ADSR_ctrl_decayTime ); //! decay time |
| 3527 | 3527 | func->add_arg( "dur", "value" ); |
| 3528 | | − func->doc = "Set decay time."; |
| 3528 | + func->doc = "set decay time."; |
| 3529 | 3529 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3530 | 3530 | |
| 3531 | 3531 | func = make_new_mfun( "dur", "decayTime", ADSR_cget_decayTime ); //! decay time |
| 3532 | | − func->doc = "Get decay time."; |
| 3532 | + func->doc = "get decay time."; |
| 3533 | 3533 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3534 | 3534 | |
| 3535 | 3535 | func = make_new_mfun( "float", "decayRate", ADSR_ctrl_decayRate ); //! decay rate |
| 3536 | 3536 | func->add_arg( "float", "value" ); |
| 3537 | | − func->doc = "Set decay rate."; |
| 3537 | + func->doc = "set decay rate."; |
| 3538 | 3538 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3539 | 3539 | |
| 3540 | 3540 | func = make_new_mfun( "float", "decayRate", ADSR_cget_decayRate ); //! decay rate |
| 3541 | | − func->doc = "Get decay rate."; |
| 3541 | + func->doc = "get decay rate."; |
| 3542 | 3542 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3543 | 3543 | |
| 3544 | 3544 | func = make_new_mfun( "float", "sustainLevel", ADSR_ctrl_sustainLevel ); //! sustain level |
| 3545 | 3545 | func->add_arg( "float", "value" ); |
| 3546 | | − func->doc = "Set sustain level."; |
| 3546 | + func->doc = "set sustain level."; |
| 3547 | 3547 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3548 | 3548 | |
| 3549 | 3549 | func = make_new_mfun( "float", "sustainLevel", ADSR_cget_sustainLevel ); //! sustain level |
| 3550 | | − func->doc = "Get sustain level."; |
| 3550 | + func->doc = "get sustain level."; |
| 3551 | 3551 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3552 | 3552 | |
| 3553 | 3553 | func = make_new_mfun( "dur", "releaseTime", ADSR_ctrl_releaseTime ); //! release time |
| 3554 | 3554 | func->add_arg( "dur", "value" ); |
| 3555 | | − func->doc = "Set release time."; |
| 3555 | + func->doc = "set release time."; |
| 3556 | 3556 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3557 | 3557 | |
| 3558 | 3558 | func = make_new_mfun( "dur", "releaseTime", ADSR_cget_releaseTime ); //! release time |
| 3559 | | − func->doc = "Get release time."; |
| 3559 | + func->doc = "get release time."; |
| 3560 | 3560 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3561 | 3561 | |
| 3562 | 3562 | func = make_new_mfun( "float", "releaseRate", ADSR_ctrl_releaseRate ); //! release rate |
| 3563 | 3563 | func->add_arg( "float", "value" ); |
| 3564 | | − func->doc = "Set release rate."; |
| 3564 | + func->doc = "set release rate."; |
| 3565 | 3565 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3566 | 3566 | |
| 3567 | 3567 | func = make_new_mfun( "float", "releaseRate", ADSR_cget_releaseRate ); //! release rate |
| 3568 | | − func->doc = "Get release rate."; |
| 3568 | + func->doc = "get release rate."; |
| 3569 | 3569 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3570 | 3570 | |
| 3571 | 3571 | func = make_new_mfun( "void", "set", ADSR_ctrl_set ); //! set |
| @@ -3573,7 +3573,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 1 unmodified line |
| 3573 | 3573 | func->add_arg( "float", "decayTime" ); |
| 3574 | 3574 | func->add_arg( "float", "sustainLevel" ); |
| 3575 | 3575 | func->add_arg( "float", "releaseTime" ); |
| 3576 | | − func->doc = "Set attack, decay, sustain, and release all at once (in seconds)."; |
| 3576 | + func->doc = "set attack, decay, sustain, and release all at once (in seconds)."; |
| 3577 | 3577 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3578 | 3578 | |
| 3579 | 3579 | func = make_new_mfun( "void", "set", ADSR_ctrl_set2 ); //! set |
| @@ -3581,11 +3581,11 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 1 unmodified line |
| 3581 | 3581 | func->add_arg( "dur", "decayDuration" ); |
| 3582 | 3582 | func->add_arg( "float", "sustainLevel" ); |
| 3583 | 3583 | func->add_arg( "dur", "releaseDuration" ); |
| 3584 | | − func->doc = "Set attack, decay, sustain, and release all at once."; |
| 3584 | + func->doc = "set attack, decay, sustain, and release all at once."; |
| 3585 | 3585 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3586 | 3586 | |
| 3587 | 3587 | func = make_new_mfun( "int", "state", ADSR_cget_state ); //! attack=0, decay=1 , sustain=2, release=3, done=4 |
| 3588 | | − func->doc = "Get state; attack=0, decay=1, sustain=2, release=3, done=4"; |
| 3588 | + func->doc = "get state; attack=0, decay=1, sustain=2, release=3, done=4"; |
| 3589 | 3589 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3590 | 3590 | |
| 3591 | 3591 | if( !type_engine_import_svar( env, "int", "ATTACK", TRUE, (t_CKUINT) &ADSR_state_ATTACK) ) goto error; |
| @@ -3718,7 +3718,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 126 unmodified lines |
| 3718 | 3718 | // begin OnePole ugen |
| 3719 | 3719 | //------------------------------------------------------------------------ |
| 3720 | 3720 | |
| 3721 | | − doc = "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.\n\ |
| 3721 | + doc = "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.\n\ |
| 3722 | 3722 | \n\ |
| 3723 | 3723 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; |
| 3724 | 3724 | |
| @@ -3732,29 +3732,29 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 7 unmodified lines |
| 3732 | 3732 | |
| 3733 | 3733 | func = make_new_mfun( "float", "a1", OnePole_ctrl_a1 ); //! filter coefficient |
| 3734 | 3734 | func->add_arg( "float", "value" ); |
| 3735 | | − func->doc = "Set filter coefficient."; |
| 3735 | + func->doc = "set filter coefficient."; |
| 3736 | 3736 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3737 | 3737 | |
| 3738 | 3738 | func = make_new_mfun( "float", "a1", OnePole_cget_a1 ); //! filter coefficient |
| 3739 | | − func->doc = "Get filter coefficient."; |
| 3739 | + func->doc = "get filter coefficient."; |
| 3740 | 3740 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3741 | 3741 | |
| 3742 | 3742 | func = make_new_mfun( "float", "b0", OnePole_ctrl_b0 ); //! filter coefficient |
| 3743 | 3743 | func->add_arg( "float", "value" ); |
| 3744 | | − func->doc = "Set filter coefficient."; |
| 3744 | + func->doc = "set filter coefficient."; |
| 3745 | 3745 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3746 | 3746 | |
| 3747 | 3747 | func = make_new_mfun( "float", "b0", OnePole_cget_b0 ); //! filter coefficient |
| 3748 | | − func->doc = "Get filter coefficient."; |
| 3748 | + func->doc = "get filter coefficient."; |
| 3749 | 3749 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3750 | 3750 | |
| 3751 | 3751 | func = make_new_mfun( "float", "pole", OnePole_ctrl_pole ); //! set pole position along real axis of z-plane |
| 3752 | 3752 | func->add_arg( "float", "value" ); |
| 3753 | | − func->doc = "Set pole position along real axis of z-plane."; |
| 3753 | + func->doc = "set pole position along real axis of z-plane."; |
| 3754 | 3754 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3755 | 3755 | |
| 3756 | 3756 | func = make_new_mfun( "float", "pole", OnePole_cget_pole ); //! set pole position along real axis of z-plane |
| 3757 | | − func->doc = "Get pole position along real axis of z-plane."; |
| 3757 | + func->doc = "get pole position along real axis of z-plane."; |
| 3758 | 3758 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3759 | 3759 | |
| 3760 | 3760 | |
| @@ -3765,7 +3765,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 3765 | 3765 | //------------------------------------------------------------------------ |
| 3766 | 3766 | // begin TwoPole ugen |
| 3767 | 3767 | //------------------------------------------------------------------------ |
| 3768 | | − doc = "This protected Filter subclass implements a two-pole digital filter. A method is provided for creating a resonance in the frequency response while maintaining a nearly constant filter gain.\n\ |
| 3768 | + doc = "a two-pole digital filter. A method is provided for creating a resonance in the frequency response while maintaining a nearly constant filter gain.\n\ |
| 3769 | 3769 | \n\ |
| 3770 | 3770 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; |
| 3771 | 3771 | |
| @@ -3780,56 +3780,56 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 8 unmodified lines |
| 3780 | 3780 | if( TwoPole_offset_data == CK_INVALID_OFFSET ) goto error; |
| 3781 | 3781 | func = make_new_mfun( "float", "a1", TwoPole_ctrl_a1 ); //! filter coefficient |
| 3782 | 3782 | func->add_arg( "float", "value" ); |
| 3783 | | − func->doc = "Set filter coefficient."; |
| 3783 | + func->doc = "set filter coefficient."; |
| 3784 | 3784 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3785 | 3785 | |
| 3786 | 3786 | func = make_new_mfun( "float", "a1", TwoPole_cget_a1 ); //! filter coefficient |
| 3787 | | − func->doc = "Get filter coefficient."; |
| 3787 | + func->doc = "get filter coefficient."; |
| 3788 | 3788 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3789 | 3789 | |
| 3790 | 3790 | func = make_new_mfun( "float", "a2", TwoPole_ctrl_a2 ); //! filter coefficient |
| 3791 | 3791 | func->add_arg( "float", "value" ); |
| 3792 | | − func->doc = "Set filter coefficient."; |
| 3792 | + func->doc = "set filter coefficient."; |
| 3793 | 3793 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3794 | 3794 | |
| 3795 | 3795 | func = make_new_mfun( "float", "a2", TwoPole_cget_a2 ); //! filter coefficient |
| 3796 | | − func->doc = "Get filter coefficient."; |
| 3796 | + func->doc = "get filter coefficient."; |
| 3797 | 3797 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3798 | 3798 | |
| 3799 | 3799 | func = make_new_mfun( "float", "b0", TwoPole_ctrl_b0 ); //! filter coefficient |
| 3800 | 3800 | func->add_arg( "float", "value" ); |
| 3801 | | − func->doc = "Set filter coefficient."; |
| 3801 | + func->doc = "set filter coefficient."; |
| 3802 | 3802 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3803 | 3803 | |
| 3804 | 3804 | func = make_new_mfun( "float", "b0", TwoPole_cget_b0 ); //! filter coefficient |
| 3805 | | − func->doc = "Get filter coefficient."; |
| 3805 | + func->doc = "get filter coefficient."; |
| 3806 | 3806 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3807 | 3807 | |
| 3808 | 3808 | func = make_new_mfun( "float", "freq", TwoPole_ctrl_freq ); //! filter resonance frequency |
| 3809 | 3809 | func->add_arg( "float", "value" ); |
| 3810 | | − func->doc = "Set filter resonance frequency."; |
| 3810 | + func->doc = "set filter resonance frequency."; |
| 3811 | 3811 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3812 | 3812 | |
| 3813 | 3813 | func = make_new_mfun( "float", "freq", TwoPole_cget_freq ); //! filter resonance frequency |
| 3814 | | − func->doc = "Get filter resonance frequency."; |
| 3814 | + func->doc = "get filter resonance frequency."; |
| 3815 | 3815 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3816 | 3816 | |
| 3817 | 3817 | func = make_new_mfun( "float", "radius", TwoPole_ctrl_radius ); //! filter resonance radius |
| 3818 | 3818 | func->add_arg( "float", "value" ); |
| 3819 | | − func->doc = "Set filter radius resonance."; |
| 3819 | + func->doc = "set filter radius resonance."; |
| 3820 | 3820 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3821 | 3821 | |
| 3822 | 3822 | func = make_new_mfun( "float", "radius", TwoPole_cget_radius ); //! filter resonance radius |
| 3823 | | − func->doc = "Get filter radius resonance."; |
| 3823 | + func->doc = "get filter radius resonance."; |
| 3824 | 3824 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3825 | 3825 | |
| 3826 | 3826 | func = make_new_mfun( "int", "norm", TwoPole_ctrl_norm ); //! toggle filter normalization |
| 3827 | 3827 | func->add_arg( "int", "value" ); |
| 3828 | | − func->doc = "Set filter normalization"; |
| 3828 | + func->doc = "set filter normalization."; |
| 3829 | 3829 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3830 | 3830 | |
| 3831 | 3831 | func = make_new_mfun( "int", "norm", TwoPole_cget_norm ); //! toggle filter normalization |
| 3832 | | − func->doc = "Get filter normalization"; |
| 3832 | + func->doc = "get filter normalization."; |
| 3833 | 3833 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3834 | 3834 | |
| 3835 | 3835 | |
| @@ -3840,7 +3840,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 3840 | 3840 | //------------------------------------------------------------------------ |
| 3841 | 3841 | // begin OneZero ugen |
| 3842 | 3842 | //------------------------------------------------------------------------ |
| 3843 | | − doc = " 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.\n\ |
| 3843 | + doc = "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.\n\ |
| 3844 | 3844 | \n\ |
| 3845 | 3845 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; |
| 3846 | 3846 | |
| @@ -3853,29 +3853,29 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 6 unmodified lines |
| 3853 | 3853 | if( OneZero_offset_data == CK_INVALID_OFFSET ) goto error; |
| 3854 | 3854 | func = make_new_mfun( "float", "zero", OneZero_ctrl_zero ); //! set zero position |
| 3855 | 3855 | func->add_arg( "float", "value" ); |
| 3856 | | − func->doc = "Set zero position"; |
| 3856 | + func->doc = "set zero position."; |
| 3857 | 3857 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3858 | 3858 | |
| 3859 | 3859 | func = make_new_mfun( "float", "zero", OneZero_cget_zero ); //! set zero position |
| 3860 | | − func->doc = "Get zero position"; |
| 3860 | + func->doc = "get zero position."; |
| 3861 | 3861 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3862 | 3862 | |
| 3863 | 3863 | func = make_new_mfun( "float", "b0", OneZero_ctrl_b0 ); //! filter coefficient |
| 3864 | 3864 | func->add_arg( "float", "value" ); |
| 3865 | | − func->doc = "Set filter coefficient."; |
| 3865 | + func->doc = "set filter coefficient."; |
| 3866 | 3866 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3867 | 3867 | |
| 3868 | 3868 | func = make_new_mfun( "float", "b0", OneZero_cget_b0 ); //! filter coefficient |
| 3869 | | − func->doc = "Get filter coefficient."; |
| 3869 | + func->doc = "get filter coefficient."; |
| 3870 | 3870 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3871 | 3871 | |
| 3872 | 3872 | func = make_new_mfun( "float", "b1", OneZero_ctrl_b1 ); //! filter coefficient |
| 3873 | 3873 | func->add_arg( "float", "value" ); |
| 3874 | | − func->doc = "Set filter coefficient."; |
| 3874 | + func->doc = "set filter coefficient."; |
| 3875 | 3875 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3876 | 3876 | |
| 3877 | 3877 | func = make_new_mfun( "float", "b1", OneZero_cget_b1 ); //! filter coefficient |
| 3878 | | − func->doc = "Get filter coefficient."; |
| 3878 | + func->doc = "get filter coefficient."; |
| 3879 | 3879 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3880 | 3880 | |
| 3881 | 3881 | |
| @@ -3887,7 +3887,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 5 unmodified lines |
| 3887 | 3887 | // begin TwoZero ugen |
| 3888 | 3888 | //------------------------------------------------------------------------ |
| 3889 | 3889 | |
| 3890 | | − doc = "This protected Filter subclass implements a two-zero digital filter. A method is provided for creating a 'notch' in the frequency response while maintaining a constant filter gain.\n\ |
| 3890 | + doc = "a two-zero digital filter. A method is provided for creating a 'notch' in the frequency response while maintaining a constant filter gain.\n\ |
| 3891 | 3891 | \n\ |
| 3892 | 3892 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; |
| 3893 | 3893 | |
| @@ -3900,47 +3900,47 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 6 unmodified lines |
| 3900 | 3900 | if( TwoZero_offset_data == CK_INVALID_OFFSET ) goto error; |
| 3901 | 3901 | func = make_new_mfun( "float", "b0", TwoZero_ctrl_b0 ); //! filter coefficient |
| 3902 | 3902 | func->add_arg( "float", "value" ); |
| 3903 | | − func->doc = "Set filter coefficient."; |
| 3903 | + func->doc = "set filter coefficient."; |
| 3904 | 3904 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3905 | 3905 | |
| 3906 | 3906 | func = make_new_mfun( "float", "b0", TwoZero_cget_b0 ); //! filter coefficient |
| 3907 | | − func->doc = "Get filter coefficient."; |
| 3907 | + func->doc = "get filter coefficient."; |
| 3908 | 3908 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3909 | 3909 | |
| 3910 | 3910 | func = make_new_mfun( "float", "b1", TwoZero_ctrl_b1 ); //! filter coefficient |
| 3911 | 3911 | func->add_arg( "float", "value" ); |
| 3912 | | − func->doc = "Set filter coefficient."; |
| 3912 | + func->doc = "set filter coefficient."; |
| 3913 | 3913 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3914 | 3914 | |
| 3915 | 3915 | func = make_new_mfun( "float", "b1", TwoZero_cget_b1 ); //! filter coefficient |
| 3916 | | − func->doc = "Get filter coefficient."; |
| 3916 | + func->doc = "get filter coefficient."; |
| 3917 | 3917 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3918 | 3918 | |
| 3919 | 3919 | func = make_new_mfun( "float", "b2", TwoZero_ctrl_b2 ); //! filter coefficient |
| 3920 | 3920 | func->add_arg( "float", "value" ); |
| 3921 | | − func->doc = "Set filter coefficient."; |
| 3921 | + func->doc = "set filter coefficient."; |
| 3922 | 3922 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3923 | 3923 | |
| 3924 | 3924 | func = make_new_mfun( "float", "b2", TwoZero_cget_b2 ); //! filter coefficient |
| 3925 | | − func->doc = "Get filter coefficient."; |
| 3925 | + func->doc = "get filter coefficient."; |
| 3926 | 3926 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3927 | 3927 | |
| 3928 | 3928 | func = make_new_mfun( "float", "freq", TwoZero_ctrl_freq ); //! filter notch frequency |
| 3929 | 3929 | func->add_arg( "float", "value" ); |
| 3930 | | − func->doc = "Set filter notch frequency."; |
| 3930 | + func->doc = "set filter notch frequency."; |
| 3931 | 3931 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3932 | 3932 | |
| 3933 | 3933 | func = make_new_mfun( "float", "freq", TwoZero_cget_freq ); //! filter notch frequency |
| 3934 | | − func->doc = "Get filter notch frequency."; |
| 3934 | + func->doc = "get filter notch frequency."; |
| 3935 | 3935 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3936 | 3936 | |
| 3937 | 3937 | func = make_new_mfun( "float", "radius", TwoZero_ctrl_radius ); //! filter notch radius |
| 3938 | 3938 | func->add_arg( "float", "value" ); |
| 3939 | | − func->doc = "Set filter notch radius."; |
| 3939 | + func->doc = "set filter notch radius."; |
| 3940 | 3940 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3941 | 3941 | |
| 3942 | 3942 | func = make_new_mfun( "float", "radius", TwoZero_cget_radius ); //! filter notch radius |
| 3943 | | − func->doc = "Get filter notch radius."; |
| 3943 | + func->doc = "get filter notch radius."; |
| 3944 | 3944 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3945 | 3945 | |
| 3946 | 3946 | |
| @@ -3952,7 +3952,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 5 unmodified lines |
| 3952 | 3952 | // begin PoleZero ugen |
| 3953 | 3953 | //------------------------------------------------------------------------ |
| 3954 | 3954 | |
| 3955 | | − doc = "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.\n\ |
| 3955 | + doc = "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.\n\ |
| 3956 | 3956 | \n\ |
| 3957 | 3957 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; |
| 3958 | 3958 | |
| @@ -3965,47 +3965,47 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 6 unmodified lines |
| 3965 | 3965 | if( PoleZero_offset_data == CK_INVALID_OFFSET ) goto error; |
| 3966 | 3966 | func = make_new_mfun( "float", "a1", PoleZero_ctrl_a1 ); //! filter coefficient |
| 3967 | 3967 | func->add_arg( "float", "value" ); |
| 3968 | | − func->doc = "Set filter coefficient."; |
| 3968 | + func->doc = "set filter coefficient."; |
| 3969 | 3969 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3970 | 3970 | |
| 3971 | 3971 | func = make_new_mfun( "float", "a1", PoleZero_cget_a1 ); //! filter coefficient |
| 3972 | | − func->doc = "Get filter coefficient."; |
| 3972 | + func->doc = "get filter coefficient."; |
| 3973 | 3973 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3974 | 3974 | |
| 3975 | 3975 | func = make_new_mfun( "float", "b0", PoleZero_ctrl_b0 ); //! filter coefficient |
| 3976 | 3976 | func->add_arg( "float", "value" ); |
| 3977 | | − func->doc = "Set filter coefficient."; |
| 3977 | + func->doc = "set filter coefficient."; |
| 3978 | 3978 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3979 | 3979 | |
| 3980 | 3980 | func = make_new_mfun( "float", "b0", PoleZero_cget_b0 ); //! filter coefficient |
| 3981 | | − func->doc = "Get filter coefficient."; |
| 3981 | + func->doc = "get filter coefficient."; |
| 3982 | 3982 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3983 | 3983 | |
| 3984 | 3984 | func = make_new_mfun( "float", "b1", PoleZero_ctrl_b1 ); //! filter coefficient |
| 3985 | 3985 | func->add_arg( "float", "value" ); |
| 3986 | | − func->doc = "Set filter coefficient."; |
| 3986 | + func->doc = "set filter coefficient."; |
| 3987 | 3987 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3988 | 3988 | |
| 3989 | 3989 | func = make_new_mfun( "float", "b1", PoleZero_cget_b1 ); //! filter coefficient |
| 3990 | | − func->doc = "Get filter coefficient."; |
| 3990 | + func->doc = "get filter coefficient."; |
| 3991 | 3991 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3992 | 3992 | |
| 3993 | 3993 | func = make_new_mfun( "float", "blockZero", PoleZero_ctrl_blockZero ); //! DC blocking filter with given pole position |
| 3994 | 3994 | func->add_arg( "float", "value" ); |
| 3995 | | − func->doc = "Set DC blocking filter with given pole position."; |
| 3995 | + func->doc = "set DC blocking filter with given pole position."; |
| 3996 | 3996 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 3997 | 3997 | |
| 3998 | 3998 | func = make_new_mfun( "float", "blockZero", PoleZero_cget_blockZero ); //! DC blocking filter with given pole position |
| 3999 | | − func->doc = "Get DC blocking filter with given pole position."; |
| 3999 | + func->doc = "get DC blocking filter with given pole position."; |
| 4000 | 4000 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4001 | 4001 | |
| 4002 | 4002 | func = make_new_mfun( "float", "allpass", PoleZero_ctrl_allpass ); //!allpass filter with given coefficient |
| 4003 | 4003 | func->add_arg( "float", "value" ); |
| 4004 | | − func->doc = "Set allpass filter with given coefficient."; |
| 4004 | + func->doc = "set allpass filter with given coefficient."; |
| 4005 | 4005 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4006 | 4006 | |
| 4007 | 4007 | func = make_new_mfun( "float", "allpass", PoleZero_cget_allpass ); //!allpass filter with given coefficient |
| 4008 | | − func->doc = "Get allpass filter with given coefficient."; |
| 4008 | + func->doc = "get allpass filter with given coefficient."; |
| 4009 | 4009 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4010 | 4010 | |
| 4011 | 4011 | // end the class import |
| @@ -4021,7 +4021,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 9 unmodified lines |
| 4021 | 4021 | // begin JCRev ugen |
| 4022 | 4022 | //------------------------------------------------------------------------ |
| 4023 | 4023 | |
| 4024 | | − doc = "John Chowning's 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.\n\ |
| 4024 | + doc = "John Chowning's 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.\n\ |
| 4025 | 4025 | \n\ |
| 4026 | 4026 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; |
| 4027 | 4027 | |
| @@ -4034,11 +4034,11 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 6 unmodified lines |
| 4034 | 4034 | if( JCRev_offset_data == CK_INVALID_OFFSET ) goto error; |
| 4035 | 4035 | func = make_new_mfun( "float", "mix", JCRev_ctrl_mix ); //! mix level |
| 4036 | 4036 | func->add_arg( "float", "value" ); |
| 4037 | | − func->doc = "Set mix level."; |
| 4037 | + func->doc = "set mix level."; |
| 4038 | 4038 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4039 | 4039 | |
| 4040 | 4040 | func = make_new_mfun( "float", "mix", JCRev_cget_mix ); //! mix level |
| 4041 | | − func->doc = "Get mix level."; |
| 4041 | + func->doc = "get mix level."; |
| 4042 | 4042 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4043 | 4043 | |
| 4044 | 4044 | |
| @@ -4050,7 +4050,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 5 unmodified lines |
| 4050 | 4050 | // begin NRev ugen |
| 4051 | 4051 | //------------------------------------------------------------------------ |
| 4052 | 4052 | |
| 4053 | | − doc = "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 rightand left outputs.\n\ |
| 4053 | + doc = "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 rightand left outputs.\n\ |
| 4054 | 4054 | \n\ |
| 4055 | 4055 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; |
| 4056 | 4056 | |
| @@ -4063,11 +4063,11 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 6 unmodified lines |
| 4063 | 4063 | if( NRev_offset_data == CK_INVALID_OFFSET ) goto error; |
| 4064 | 4064 | func = make_new_mfun( "float", "mix", NRev_ctrl_mix ); // set effect mix |
| 4065 | 4065 | func->add_arg( "float", "value" ); |
| 4066 | | − func->doc = "Set mix level."; |
| 4066 | + func->doc = "set mix level."; |
| 4067 | 4067 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4068 | 4068 | |
| 4069 | 4069 | func = make_new_mfun( "float", "mix", NRev_cget_mix ); // set effect mix |
| 4070 | | − func->doc = "Get mix level."; |
| 4070 | + func->doc = "get mix level."; |
| 4071 | 4071 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4072 | 4072 | |
| 4073 | 4073 | // end the class import |
| @@ -4078,7 +4078,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 4078 | 4078 | // begin PRCRev ugen |
| 4079 | 4079 | //------------------------------------------------------------------------ |
| 4080 | 4080 | |
| 4081 | | − doc = "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.\n\ |
| 4081 | + doc = "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.\n\ |
| 4082 | 4082 | \n\ |
| 4083 | 4083 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; |
| 4084 | 4084 | |
| @@ -4091,11 +4091,11 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 6 unmodified lines |
| 4091 | 4091 | if( PRCRev_offset_data == CK_INVALID_OFFSET ) goto error; |
| 4092 | 4092 | func = make_new_mfun( "float", "mix", PRCRev_ctrl_mix ); //! mix level |
| 4093 | 4093 | func->add_arg( "float", "value" ); |
| 4094 | | − func->doc = "Set mix level."; |
| 4094 | + func->doc = "set mix level."; |
| 4095 | 4095 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4096 | 4096 | |
| 4097 | 4097 | func = make_new_mfun( "float", "mix", PRCRev_cget_mix ); //! mix level |
| 4098 | | − func->doc = "Get mix level."; |
| 4098 | + func->doc = "get mix level."; |
| 4099 | 4099 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4100 | 4100 | |
| 4101 | 4101 | // end the class import |
| @@ -4107,7 +4107,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 5 unmodified lines |
| 4107 | 4107 | // begin Chorus ugen |
| 4108 | 4108 | //------------------------------------------------------------------------ |
| 4109 | 4109 | |
| 4110 | | − doc = "Implements a chorus effect.\n\ |
| 4110 | + doc = "a chorus effect.\n\ |
| 4111 | 4111 | \n\ |
| 4112 | 4112 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; |
| 4113 | 4113 | |
| @@ -4120,38 +4120,38 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 6 unmodified lines |
| 4120 | 4120 | if( Chorus_offset_data == CK_INVALID_OFFSET ) goto error; |
| 4121 | 4121 | func = make_new_mfun( "float", "modFreq", Chorus_ctrl_modFreq ); //! modulation frequency |
| 4122 | 4122 | func->add_arg( "float", "value" ); |
| 4123 | | − func->doc = "Set modulation frequency."; |
| 4123 | + func->doc = "set modulation frequency."; |
| 4124 | 4124 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4125 | 4125 | |
| 4126 | 4126 | func = make_new_mfun( "float", "modFreq", Chorus_cget_modFreq ); //! modulation frequency |
| 4127 | | − func->doc = "Get modulation frequency."; |
| 4127 | + func->doc = "get modulation frequency."; |
| 4128 | 4128 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4129 | 4129 | |
| 4130 | 4130 | func = make_new_mfun( "float", "modDepth", Chorus_ctrl_modDepth ); //! modulation depth |
| 4131 | 4131 | func->add_arg( "float", "value" ); |
| 4132 | | − func->doc = "Set modulation depth."; |
| 4132 | + func->doc = "set modulation depth."; |
| 4133 | 4133 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4134 | 4134 | |
| 4135 | 4135 | func = make_new_mfun( "float", "modDepth", Chorus_cget_modDepth ); //! modulation depth |
| 4136 | | − func->doc = "Get modulation depth."; |
| 4136 | + func->doc = "get modulation depth."; |
| 4137 | 4137 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4138 | 4138 | |
| 4139 | 4139 | func = make_new_mfun( "dur", "baseDelay", Chorus_ctrl_baseDelay ); //! base delay |
| 4140 | 4140 | func->add_arg( "dur", "value" ); |
| 4141 | | − func->doc = "Set base delay."; |
| 4141 | + func->doc = "set base delay."; |
| 4142 | 4142 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4143 | 4143 | |
| 4144 | 4144 | func = make_new_mfun( "dur", "baseDelay", Chorus_cget_baseDelay ); //! base delay |
| 4145 | | − func->doc = "Get base delay."; |
| 4145 | + func->doc = "get base delay."; |
| 4146 | 4146 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4147 | 4147 | |
| 4148 | 4148 | func = make_new_mfun( "float", "mix", Chorus_ctrl_mix ); //! effect mix |
| 4149 | 4149 | func->add_arg( "float", "value" ); |
| 4150 | | − func->doc = "Set effect mix."; |
| 4150 | + func->doc = "set effect mix."; |
| 4151 | 4151 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4152 | 4152 | |
| 4153 | 4153 | func = make_new_mfun( "float", "mix", Chorus_cget_mix ); //! effect mix |
| 4154 | | − func->doc = "Get effect mix."; |
| 4154 | + func->doc = "get effect mix."; |
| 4155 | 4155 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4156 | 4156 | |
| 4157 | 4157 | func = make_new_mfun( "void", "max", Chorus_ctrl_set ); |
| @@ -4168,7 +4168,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 10 unmodified lines |
| 4168 | 4168 | // begin Modulate ugen |
| 4169 | 4169 | //------------------------------------------------------------------------ |
| 4170 | 4170 | |
| 4171 | | − doc = "This class combines random and periodic modulations to give a nice, natural human modulation function.\n\ |
| 4171 | + doc = "combines random and periodic modulations to give a nice, natural human modulation function.\n\ |
| 4172 | 4172 | \n\ |
| 4173 | 4173 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; |
| 4174 | 4174 | |
| @@ -4181,29 +4181,29 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 6 unmodified lines |
| 4181 | 4181 | if( Modulate_offset_data == CK_INVALID_OFFSET ) goto error; |
| 4182 | 4182 | func = make_new_mfun( "float", "vibratoRate", Modulate_ctrl_vibratoRate ); //! set rate of vibrato |
| 4183 | 4183 | func->add_arg( "float", "value" ); |
| 4184 | | − func->doc = "Set rate for vibrato."; |
| 4184 | + func->doc = "set rate for vibrato."; |
| 4185 | 4185 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4186 | 4186 | |
| 4187 | 4187 | func = make_new_mfun( "float", "vibratoRate", Modulate_cget_vibratoRate ); //! set rate of vibrato |
| 4188 | | − func->doc = "Get rate for vibrato."; |
| 4188 | + func->doc = "get rate for vibrato."; |
| 4189 | 4189 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4190 | 4190 | |
| 4191 | 4191 | func = make_new_mfun( "float", "vibratoGain", Modulate_ctrl_vibratoGain ); //! gain for vibrato |
| 4192 | 4192 | func->add_arg( "float", "value" ); |
| 4193 | | − func->doc = "Set gain for vibrato."; |
| 4193 | + func->doc = "set gain for vibrato."; |
| 4194 | 4194 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4195 | 4195 | |
| 4196 | 4196 | func = make_new_mfun( "float", "vibratoGain", Modulate_cget_vibratoGain ); //! gain for vibrato |
| 4197 | | − func->doc = "Get gain for vibrato."; |
| 4197 | + func->doc = "get gain for vibrato."; |
| 4198 | 4198 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4199 | 4199 | |
| 4200 | 4200 | func = make_new_mfun( "float", "randomGain", Modulate_ctrl_randomGain ); //! gain for random contribution |
| 4201 | 4201 | func->add_arg( "float", "value" ); |
| 4202 | | − func->doc = "Set gain for random contribution"; |
| 4202 | + func->doc = "set gain for random contribution."; |
| 4203 | 4203 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4204 | 4204 | |
| 4205 | 4205 | func = make_new_mfun( "float", "randomGain", Modulate_cget_randomGain ); //! gain for random contribution |
| 4206 | | − func->doc = "Get gain for random contribution"; |
| 4206 | + func->doc = "get gain for random contribution."; |
| 4207 | 4207 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4208 | 4208 | |
| 4209 | 4209 | |
| @@ -4215,7 +4215,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 5 unmodified lines |
| 4215 | 4215 | // begin PitShift ugen |
| 4216 | 4216 | //------------------------------------------------------------------------ |
| 4217 | 4217 | |
| 4218 | | − doc = "This class implements a simple pitch shifter using delay lines.\n\ |
| 4218 | + doc = "a simple pitch shifter using delay lines.\n\ |
| 4219 | 4219 | \n\ |
| 4220 | 4220 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; |
| 4221 | 4221 | |
| @@ -4228,30 +4228,30 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 6 unmodified lines |
| 4228 | 4228 | if( PitShift_offset_data == CK_INVALID_OFFSET ) goto error; |
| 4229 | 4229 | func = make_new_mfun( "float", "shift", PitShift_ctrl_shift ); //! degree of pitch shifting |
| 4230 | 4230 | func->add_arg( "float", "value" ); |
| 4231 | | − func->doc = "Set degree of pitch shifting"; |
| 4231 | + func->doc = "set degree of pitch shifting"; |
| 4232 | 4232 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4233 | 4233 | |
| 4234 | 4234 | func = make_new_mfun( "float", "shift", PitShift_cget_shift ); //! degree of pitch shifting |
| 4235 | | − func->doc = "Get degree of pitch shifting"; |
| 4235 | + func->doc = "get degree of pitch shifting"; |
| 4236 | 4236 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4237 | 4237 | |
| 4238 | 4238 | func = make_new_mfun( "float", "mix", PitShift_ctrl_effectMix ); //! mix level |
| 4239 | 4239 | func->add_arg( "float", "value" ); |
| 4240 | | − func->doc = "Set mix level"; |
| 4240 | + func->doc = "set mix level"; |
| 4241 | 4241 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4242 | 4242 | |
| 4243 | 4243 | func = make_new_mfun( "float", "mix", PitShift_cget_effectMix ); //! mix level |
| 4244 | | − func->doc = "Get mix level"; |
| 4244 | + func->doc = "get mix level"; |
| 4245 | 4245 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4246 | 4246 | |
| 4247 | 4247 | func = make_new_mfun( "float", "effectMix", PitShift_ctrl_effectMix ); //! mix level |
| 4248 | | − func->doc = "Set effect mix level"; |
| 4248 | + func->doc = "set effect mix level"; |
| 4249 | 4249 | func->add_arg( "float", "value" ); |
| 4250 | 4250 | |
| 4251 | 4251 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4252 | 4252 | |
| 4253 | 4253 | func = make_new_mfun( "float", "effectMix", PitShift_cget_effectMix ); //! mix level |
| 4254 | | − func->doc = "Get effect mix level"; |
| 4254 | + func->doc = "get effect mix level"; |
| 4255 | 4255 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4256 | 4256 | |
| 4257 | 4257 | |
| @@ -4263,7 +4263,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 5 unmodified lines |
| 4263 | 4263 | // begin SubNoise ugen |
| 4264 | 4264 | //------------------------------------------------------------------------ |
| 4265 | 4265 | |
| 4266 | | − doc = "Generates a new random number every 'rate' ticks using the C `rand()` function. The quality of the r`and()` function varies from one OS to another.\n\ |
| 4266 | + doc = "generates a new random number every 'rate' ticks using the C `rand()` function. The quality of the r`and()` function varies from one OS to another.\n\ |
| 4267 | 4267 | \n\ |
| 4268 | 4268 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; |
| 4269 | 4269 | |
| @@ -4276,11 +4276,11 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 6 unmodified lines |
| 4276 | 4276 | if( SubNoise_offset_data == CK_INVALID_OFFSET ) goto error; |
| 4277 | 4277 | func = make_new_mfun( "int", "rate", SubNoise_ctrl_rate ); //! subsampling rate |
| 4278 | 4278 | func->add_arg( "int", "value" ); |
| 4279 | | − func->doc = "Set subsampling rate"; |
| 4279 | + func->doc = "set subsampling rate"; |
| 4280 | 4280 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4281 | 4281 | |
| 4282 | 4282 | func = make_new_mfun( "int", "rate", SubNoise_cget_rate ); //! subsampling rate |
| 4283 | | − func->doc = "Get subsampling rate"; |
| 4283 | + func->doc = "get subsampling rate"; |
| 4284 | 4284 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4285 | 4285 | |
| 4286 | 4286 | // end the class import |
| @@ -4293,7 +4293,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 6 unmodified lines |
| 4293 | 4293 | // begin WvIn ugen |
| 4294 | 4294 | //------------------------------------------------------------------------ |
| 4295 | 4295 | |
| 4296 | | − doc = "This class provides input support for various audio file formats. It also serves as a base class for 'realtime' streaming subclasses.\n\ |
| 4296 | + doc = "input support for various audio file formats. It also serves as a base class for 'realtime' streaming subclasses.\n\ |
| 4297 | 4297 | \n\ |
| 4298 | 4298 | WvIn loads the contents of an audio file for subsequent output. Linear interpolation is used for fractional 'read rates'.\n\ |
| 4299 | 4299 | \n\ |
| @@ -4312,20 +4312,20 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 12 unmodified lines |
| 4312 | 4312 | if( WvIn_offset_data == CK_INVALID_OFFSET ) goto error; |
| 4313 | 4313 | func = make_new_mfun( "float", "rate", WvIn_ctrl_rate ); //! playback rate |
| 4314 | 4314 | func->add_arg( "float", "value" ); |
| 4315 | | − func->doc = "Set playback rate."; |
| 4315 | + func->doc = "set playback rate."; |
| 4316 | 4316 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4317 | 4317 | |
| 4318 | 4318 | func = make_new_mfun( "float", "rate", WvIn_cget_rate ); //! playback rate |
| 4319 | | − func->doc = "Get playback rate."; |
| 4319 | + func->doc = "get playback rate."; |
| 4320 | 4320 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4321 | 4321 | |
| 4322 | 4322 | func = make_new_mfun( "string", "path", WvIn_ctrl_path ); //! specifies file to be played |
| 4323 | 4323 | func->add_arg( "string", "value" ); |
| 4324 | | − func->doc = "Set file to be played."; |
| 4324 | + func->doc = "set file to be played."; |
| 4325 | 4325 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4326 | 4326 | |
| 4327 | 4327 | func = make_new_mfun( "string", "path", WvIn_cget_path ); //! specifies file to be played |
| 4328 | | − func->doc = "Get file to be played."; |
| 4328 | + func->doc = "get file to be played."; |
| 4329 | 4329 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4330 | 4330 | |
| 4331 | 4331 | |
| @@ -4337,7 +4337,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 5 unmodified lines |
| 4337 | 4337 | // begin WaveLoop ugen |
| 4338 | 4338 | //------------------------------------------------------------------------ |
| 4339 | 4339 | |
| 4340 | | − doc = "This class inherits from WvIn and provides audio file looping functionality.\n\ |
| 4340 | + doc = "inherits from WvIn and provides audio file looping functionality.\n\ |
| 4341 | 4341 | \n\ |
| 4342 | 4342 | WaveLoop supports multi-channel data in interleaved format. It is important to distinguish the `tick()` methods, which return samples produced by averaging across sample frames, from the `tickFrame()` methods, which return pointers to multi-channel sample frames. For single-channel data, these methods return equivalent values.\n\ |
| 4343 | 4343 | \n\ |
| @@ -4350,29 +4350,29 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 6 unmodified lines |
| 4350 | 4350 | |
| 4351 | 4351 | func = make_new_mfun( "float", "freq", WaveLoop_ctrl_freq ); //! set frequency of playback ( loops / second ) |
| 4352 | 4352 | func->add_arg( "float", "value" ); |
| 4353 | | − func->doc = "Set frequency of playback (loops/second)."; |
| 4353 | + func->doc = "set frequency of playback (loops/second)."; |
| 4354 | 4354 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4355 | 4355 | |
| 4356 | 4356 | func = make_new_mfun( "float", "freq", WaveLoop_cget_freq ); //! set frequency of playback ( loops / second ) |
| 4357 | | − func->doc = "Get frequency of playback (loops/second)."; |
| 4357 | + func->doc = "get frequency of playback (loops/second)."; |
| 4358 | 4358 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4359 | 4359 | |
| 4360 | 4360 | func = make_new_mfun( "float", "addPhase", WaveLoop_ctrl_phase ); //! offset by phase |
| 4361 | 4361 | func->add_arg( "float", "value" ); |
| 4362 | | − func->doc = "Set offset by phase."; |
| 4362 | + func->doc = "set offset by phase."; |
| 4363 | 4363 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4364 | 4364 | |
| 4365 | 4365 | func = make_new_mfun( "float", "addPhase", WaveLoop_cget_phase ); //! offset by phase |
| 4366 | | − func->doc = "Get offset by phase."; |
| 4366 | + func->doc = "get offset by phase."; |
| 4367 | 4367 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4368 | 4368 | |
| 4369 | 4369 | func = make_new_mfun( "float", "addPhaseOffset", WaveLoop_ctrl_phaseOffset ); //! set phase offset |
| 4370 | 4370 | func->add_arg( "float", "value" ); |
| 4371 | | − func->doc = "Set phase offset."; |
| 4371 | + func->doc = "set phase offset."; |
| 4372 | 4372 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4373 | 4373 | |
| 4374 | 4374 | func = make_new_mfun( "float", "addPhaseOffset", WaveLoop_cget_phaseOffset ); //! set phase offset |
| 4375 | | − func->doc = "Get phase offset."; |
| 4375 | + func->doc = "get phase offset."; |
| 4376 | 4376 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4377 | 4377 | |
| 4378 | 4378 | // end the class import |
| @@ -4384,11 +4384,11 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 5 unmodified lines |
| 4384 | 4384 | // begin WvOut ugen |
| 4385 | 4385 | //------------------------------------------------------------------------ |
| 4386 | 4386 | |
| 4387 | | − doc = "This class provides output support for various audio file formats. It also serves as a base class for 'realtime' streaming subclasses.\n\ |
| 4387 | + doc = "output support for various audio file formats. It also serves as a base class for 'realtime' streaming subclasses.\n\ |
| 4388 | 4388 | \n\ |
| 4389 | | −WvOut writes samples to an audio file. It supports multi-channel data in interleaved format. 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 pointer to multi-channel sample frame data.\n\ |
| 4389 | +WvOut writes samples to an audio file. It supports multi-channel data in interleaved format. 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 pointer to multi-channel sample frame data.\n\ |
| 4390 | 4390 | \n\ |
| 4391 | | −WvOut currently supports 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. Uncompressed data types are not supported.\n\ |
| 4391 | +WvOut currently supports 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. Uncompressed data types are not supported.\n\ |
| 4392 | 4392 | \n\ |
| 4393 | 4393 | Currently, WvOut is non-interpolating and the output rate is always `Stk::sampleRate()`.\n\ |
| 4394 | 4394 | \n\ |
| @@ -4404,67 +4404,67 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 9 unmodified lines |
| 4404 | 4404 | |
| 4405 | 4405 | func = make_new_mfun( "string", "matFilename", WvOut_ctrl_matFilename ); //!open matlab file for writing |
| 4406 | 4406 | func->add_arg( "string", "value" ); |
| 4407 | | − func->doc = "Open MatLab file for writing."; |
| 4407 | + func->doc = "open MATLAB file for writing."; |
| 4408 | 4408 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4409 | 4409 | |
| 4410 | 4410 | func = make_new_mfun( "string", "sndFilename", WvOut_ctrl_sndFilename ); //!open snd file for writing |
| 4411 | 4411 | func->add_arg( "string", "value" ); |
| 4412 | | − func->doc = "Open SND file for writing."; |
| 4412 | + func->doc = "open SND file for writing."; |
| 4413 | 4413 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4414 | 4414 | |
| 4415 | 4415 | func = make_new_mfun( "string", "wavFilename", WvOut_ctrl_wavFilename ); //!open WAVE file for writing |
| 4416 | 4416 | func->add_arg( "string", "value" ); |
| 4417 | | − func->doc = "Open WAVE file for writing."; |
| 4417 | + func->doc = "open WAVE file for writing."; |
| 4418 | 4418 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4419 | 4419 | |
| 4420 | 4420 | func = make_new_mfun( "string", "rawFilename", WvOut_ctrl_rawFilename ); //!open raw file for writing |
| 4421 | 4421 | func->add_arg( "string", "value" ); |
| 4422 | | − func->doc = "Open a raw file for writing."; |
| 4422 | + func->doc = "open a raw file for writing."; |
| 4423 | 4423 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4424 | 4424 | |
| 4425 | 4425 | func = make_new_mfun( "string", "aifFilename", WvOut_ctrl_aifFilename ); //!open AIFF file for writing |
| 4426 | 4426 | func->add_arg( "string", "value" ); |
| 4427 | | − func->doc = "Open an AIFF file for writing."; |
| 4427 | + func->doc = "open an AIFF file for writing."; |
| 4428 | 4428 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4429 | 4429 | |
| 4430 | 4430 | func = make_new_mfun( "string", "filename", WvOut_cget_filename ); //!get filename |
| 4431 | | − func->doc = "Get filename."; |
| 4431 | + func->doc = "get filename."; |
| 4432 | 4432 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4433 | 4433 | |
| 4434 | 4434 | func = make_new_mfun( "int", "record", WvOut_ctrl_record ); // !start/stop output |
| 4435 | 4435 | func->add_arg( "int", "value" ); |
| 4436 | | − func->doc = "Start/stop output."; |
| 4436 | + func->doc = "start/stop output."; |
| 4437 | 4437 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4438 | 4438 | |
| 4439 | 4439 | func = make_new_mfun( "int", "record", WvOut_cget_record ); // !start/stop output |
| 4440 | | − func->doc = "Start/stop output."; |
| 4440 | + func->doc = "start/stop output."; |
| 4441 | 4441 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4442 | 4442 | |
| 4443 | 4443 | func = make_new_mfun( "string", "closeFile", WvOut_ctrl_closeFile ); //! close file properly |
| 4444 | 4444 | func->add_arg( "string", "value" ); |
| 4445 | | − func->doc = "Close the file properly."; |
| 4445 | + func->doc = "close the file properly."; |
| 4446 | 4446 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4447 | 4447 | |
| 4448 | 4448 | func = make_new_mfun( "string", "closeFile", WvOut_ctrl_closeFile ); //! close file properly |
| 4449 | | − func->doc = "Close the file properly."; |
| 4449 | + func->doc = "close the file properly."; |
| 4450 | 4450 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4451 | 4451 | |
| 4452 | 4452 | func = make_new_mfun( "string", "autoPrefix", WvOut_ctrl_autoPrefix ); //! set/get auto prefix string |
| 4453 | 4453 | func->add_arg( "string", "value" ); |
| 4454 | | − func->doc = "Set auto prefix string."; |
| 4454 | + func->doc = "set auto prefix string."; |
| 4455 | 4455 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4456 | 4456 | |
| 4457 | 4457 | func = make_new_mfun( "string", "autoPrefix", WvOut_cget_autoPrefix ); //! set/get auto prefix string |
| 4458 | | − func->doc = "Get auto prefix string."; |
| 4458 | + func->doc = "get auto prefix string."; |
| 4459 | 4459 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4460 | 4460 | |
| 4461 | 4461 | func = make_new_mfun( "float", "fileGain", WvOut_ctrl_fileGain ); //! set/get auto prefix string |
| 4462 | 4462 | func->add_arg( "float", "value" ); |
| 4463 | | − func->doc = "Set file gain."; |
| 4463 | + func->doc = "set file gain."; |
| 4464 | 4464 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4465 | 4465 | |
| 4466 | 4466 | func = make_new_mfun( "float", "fileGain", WvOut_cget_fileGain ); //! set/get auto prefix string |
| 4467 | | − func->doc = "Get file gain."; |
| 4467 | + func->doc = "get file gain."; |
| 4468 | 4468 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4469 | 4469 | |
| 4470 | 4470 | // end the class import |
| @@ -4504,7 +4504,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 33 unmodified lines |
| 4504 | 4504 | // begin BLT (BandLtd) |
| 4505 | 4505 | //------------------------------------------------------------------------ |
| 4506 | 4506 | |
| 4507 | | − doc = "Super-class for band-limited oscillators."; |
| 4507 | + doc = "super-class for band-limited oscillators."; |
| 4508 | 4508 | |
| 4509 | 4509 | if( !type_engine_import_ugen_begin( env, "BLT", "UGen", env->global(), |
| 4510 | 4510 | BLT_ctor, BLT_dtor, |
| @@ -4520,29 +4520,29 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 9 unmodified lines |
| 4520 | 4520 | |
| 4521 | 4521 | func = make_new_mfun( "float", "phase", BLT_ctrl_phase ); //!set phase |
| 4522 | 4522 | func->add_arg( "float", "value" ); |
| 4523 | | − func->doc = "Set phase."; |
| 4523 | + func->doc = "set phase."; |
| 4524 | 4524 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4525 | 4525 | |
| 4526 | 4526 | func = make_new_mfun( "float", "phase", BLT_cget_phase ); //!get phase |
| 4527 | | − func->doc = "Get phase."; |
| 4527 | + func->doc = "get phase."; |
| 4528 | 4528 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4529 | 4529 | |
| 4530 | 4530 | func = make_new_mfun( "float", "freq", BLT_ctrl_freq ); //!set freq |
| 4531 | 4531 | func->add_arg( "float", "value" ); |
| 4532 | | − func->doc = "Set frequency."; |
| 4532 | + func->doc = "set frequency."; |
| 4533 | 4533 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4534 | 4534 | |
| 4535 | 4535 | func = make_new_mfun( "float", "freq", BLT_cget_freq ); //!get freq |
| 4536 | | − func->doc = "Set frequency."; |
| 4536 | + func->doc = "set frequency."; |
| 4537 | 4537 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4538 | 4538 | |
| 4539 | 4539 | func = make_new_mfun( "int", "harmonics", BLT_ctrl_harmonics ); //!set harmonics |
| 4540 | 4540 | func->add_arg( "int", "value" ); |
| 4541 | | − func->doc = "Set harmonics."; |
| 4541 | + func->doc = "set harmonics."; |
| 4542 | 4542 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4543 | 4543 | |
| 4544 | 4544 | func = make_new_mfun( "int", "harmonics", BLT_cget_harmonics ); //!get harmonics |
| 4545 | | − func->doc = "Get harmonics."; |
| 4545 | + func->doc = "get harmonics."; |
| 4546 | 4546 | if( !type_engine_import_mfun( env, func ) ) goto error; |
| 4547 | 4547 | |
| 4548 | 4548 | // end the class import |
| @@ -4553,7 +4553,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; · 4 unmodified lines |
| 4553 | 4553 | // begin Blit |
| 4554 | 4554 | //------------------------------------------------------------------------ |
| 4555 | 4555 | |
| 4556 | | − doc = "This class generates a band-limited impulse train using a closed-form algorithm reported by Stilson and Smith in 'Alias-Free Digital Synthesis of Classic Analog Waveforms', 1996. The user can specify both the fundamental frequency of the impulse train and the number of harmonics contained in the resulting signal.\n\ |
| 4556 | + doc = "a band-limited impulse train using a closed-form algorithm reported by Stilson and Smith in 'Alias-Free Digital Synthesis of Classic Analog Waveforms', 1996. The user can specify both the fundamental frequency of the impulse train and the number of harmonics contained in the resulting signal.\n\ |
| 4557 | 4557 | \n\ |
| 4558 | 4558 | The signal is normalized so that the peak value is +/-1.0.\n\ |
| 4559 | 4559 | \n\ |
| @@ -4575,7 +4575,7 @@ Revisions by Gary Scavone for STK, 2005."; · 15 unmodified lines |
| 4575 | 4575 | // begin BlitSaw |
| 4576 | 4576 | //------------------------------------------------------------------------ |
| 4577 | 4577 | |
| 4578 | | − doc = "This class generates a band-limited sawtooth waveform using a closed-form algorithm reported by Stilson and Smith in 'Alias-Free Digital Synthesis of Classic Analog Waveforms', 1996. The user can specify both the fundamental frequency of the sawtooth and the number of harmonics contained in the resulting signal.\n\ |
| 4578 | + doc = "a band-limited sawtooth waveform using a closed-form algorithm reported by Stilson and Smith in 'Alias-Free Digital Synthesis of Classic Analog Waveforms', 1996. The user can specify both the fundamental frequency of the sawtooth and the number of harmonics contained in the resulting signal.\n\ |
| 4579 | 4579 | \n\ |
| 4580 | 4580 | 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).\n\ |
| 4581 | 4581 | \n\ |
| @@ -4593,7 +4593,7 @@ Modified algorithm code by Gary Scavone, 2005."; · 11 unmodified lines |
| 4593 | 4593 | // begin BlitSquare |
| 4594 | 4594 | //------------------------------------------------------------------------ |
| 4595 | 4595 | |
| 4596 | | − doc = "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.\n\ |
| 4596 | + doc = "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.\n\ |
| 4597 | 4597 | \n\ |
| 4598 | 4598 | The user can specify both the fundamental frequency of the waveform and the number of harmonics contained in the resulting signal.\n\ |
| 4599 | 4599 | \n\ |
| @@ -4828,22 +4828,22 @@ struct SKINISpec skini_msgs[__SK_MaxMsgTypes_] = · 228 unmodified lines |
| 4828 | 4828 | /* type is the message type sent back from the SKINI line parser. */ |
| 4829 | 4829 | /* data<n> is either */ |
| 4830 | 4830 | /* NOPE : field not used, specifically, there aren't going */ |
| 4831 | | −/* to be any more fields on this line. So if there */ |
| 4831 | +/* to be any more fields on this line. So if there */ |
| 4832 | 4832 | /* is is NOPE in data2, data3 won't even be checked */ |
| 4833 | 4833 | /* SK_INT : byte (actually scanned as 32 bit signed integer) */ |
| 4834 | 4834 | /* If it's a MIDI data field which is required to */ |
| 4835 | 4835 | /* be an integer, like a controller number, it's */ |
| 4836 | | −/* 0-127. Otherwise) get creative with SK_INTs */ |
| 4837 | | −/* SK_DBL : double precision floating point. SKINI uses these */ |
| 4836 | +/* 0-127. Otherwise) get creative with SK_INTs */ |
| 4837 | +/* SK_DBL : double precision floating point. SKINI uses these */ |
| 4838 | 4838 | /* in the MIDI context for note numbers with micro */ |
| 4839 | 4839 | /* tuning, velocities, controller values, etc. */ |
| 4840 | | −/* SK_STR : only valid in final field. This allows (nearly) */ |
| 4840 | +/* SK_STR : only valid in final field. This allows (nearly) */ |
| 4841 | 4841 | /* arbitrary message types to be supported by simply */ |
| 4842 | 4842 | /* scanning the string to EndOfLine and then passing */ |
| 4843 | | −/* it to a more intellegent handler. For example, */ |
| 4843 | +/* it to a more intellegent handler. For example, */ |
| 4844 | 4844 | /* MIDI SYSEX (system exclusive) messages of up to */ |
| 4845 | 4845 | /* 256bytes can be read as space-delimited integers */ |
| 4846 | | −/* into the 1K SK_STR buffer. Longer bulk dumps, */ |
| 4846 | +/* into the 1K SK_STR buffer. Longer bulk dumps, */ |
| 4847 | 4847 | /* soundfiles, etc. should be handled as a new */ |
| 4848 | 4848 | /* message type pointing to a FileName stored in the */ |
| 4849 | 4849 | /* SK_STR field, or as a new type of multi-line */ |
| @@ -4858,7 +4858,7 @@ struct SKINISpec skini_msgs[__SK_MaxMsgTypes_] = · 8 unmodified lines |
| 4858 | 4858 | |
| 4859 | 4859 | This Envelope subclass implements a |
| 4860 | 4860 | traditional ADSR (Attack, Decay, |
| 4861 | | − Sustain, Release) envelope. It |
| 4861 | + Sustain, Release) envelope. It |
| 4862 | 4862 | responds to simple keyOn and keyOff |
| 4863 | 4863 | messages, keeping track of its state. |
| 4864 | 4864 | The \e state = ADSR::DONE after the |
| @@ -5033,7 +5033,7 @@ void ADSR :: setValue(MY_FLOAT aValue) · 168 unmodified lines |
| 5033 | 5033 | target = aValue; |
| 5034 | 5034 | value = aValue; |
| 5035 | 5035 | this->setSustainLevel(aValue); |
| 5036 | | − rate = (MY_FLOAT) 0.0; |
| 5036 | + rate = (MY_FLOAT)0.0; |
| 5037 | 5037 | } |
| 5038 | 5038 | |
| 5039 | 5039 | int ADSR :: getState(void) const |
| @@ -5107,7 +5107,7 @@ MY_FLOAT *ADSR :: tick(MY_FLOAT *vec, unsigned int vectorSize) · 67 unmodified lines |
| 5107 | 5107 | |
| 5108 | 5108 | This class uses banded waveguide techniques to |
| 5109 | 5109 | model a variety of sounds, including bowed |
| 5110 | | − bars, glasses, and bowls. For more |
| 5110 | + bars, glasses, and bowls. For more |
| 5111 | 5111 | information, see Essl, G. and Cook, P. "Banded |
| 5112 | 5112 | Waveguides: Towards Physical Modelling of Bar |
| 5113 | 5113 | Percussion Instruments", Proceedings of the |
| @@ -5321,7 +5321,7 @@ void BandedWG :: setFrequency(MY_FLOAT frequency) · 207 unmodified lines |
| 5321 | 5321 | } |
| 5322 | 5322 | // CK_STDCERR << CK_STDENDL; |
| 5323 | 5323 | |
| 5324 | | − // Set the bandpass filter resonances |
| 5324 | + // set the bandpass filter resonances |
| 5325 | 5325 | radius = 1.0 - ONE_PI * 32 / Stk::sampleRate(); //freakency * modes[i] / Stk::sampleRate()/32; |
| 5326 | 5326 | if ( radius < 0.0 ) radius = 0.0; |
| 5327 | 5327 | bandpass[i].setResonance(freakency * modes[i], radius, true); |
| @@ -5528,7 +5528,7 @@ void BandedWG :: controlChange(int number, MY_FLOAT value) · 200 unmodified lines |
| 5528 | 5528 | |
| 5529 | 5529 | The basic Chowning/Stanford FM patent expired |
| 5530 | 5530 | in 1995, but there exist follow-on patents, |
| 5531 | | − mostly assigned to Yamaha. If you are of the |
| 5531 | + mostly assigned to Yamaha. If you are of the |
| 5532 | 5532 | type who should worry about this (making |
| 5533 | 5533 | money) worry away. |
| 5534 | 5534 | |
| @@ -5611,7 +5611,7 @@ MY_FLOAT BeeThree :: tick() · 76 unmodified lines |
| 5611 | 5611 | \brief STK biquad (two-pole, two-zero) filter class. |
| 5612 | 5612 | |
| 5613 | 5613 | This protected Filter subclass implements a |
| 5614 | | − two-pole, two-zero digital filter. A method |
| 5614 | + two-pole, two-zero digital filter. A method |
| 5615 | 5615 | is provided for creating a resonance in the |
| 5616 | 5616 | frequency response while maintaining a constant |
| 5617 | 5617 | filter gain. |
| @@ -5737,14 +5737,14 @@ MY_FLOAT *BiQuad :: tick(MY_FLOAT *vec, unsigned int vectorSize) · 119 unmodified lines |
| 5737 | 5737 | |
| 5738 | 5738 | This class generates a band-limited impulse train using a |
| 5739 | 5739 | closed-form algorithm reported by Stilson and Smith in "Alias-Free |
| 5740 | | − Digital Synthesis of Classic Analog Waveforms", 1996. The user |
| 5740 | + Digital Synthesis of Classic Analog Waveforms", 1996. The user |
| 5741 | 5741 | can specify both the fundamental frequency of the impulse train |
| 5742 | 5742 | and the number of harmonics contained in the resulting signal. |
| 5743 | 5743 | |
| 5744 | 5744 | The signal is normalized so that the peak value is +/-1.0. |
| 5745 | 5745 | |
| 5746 | 5746 | If nHarmonics is 0, then the signal will contain all harmonics up |
| 5747 | | − to half the sample rate. Note, however, that this setting may |
| 5747 | + to half the sample rate. Note, however, that this setting may |
| 5748 | 5748 | produce aliasing in the signal when the frequency is changing (no |
| 5749 | 5749 | automatic modification of the number of harmonics is performed by |
| 5750 | 5750 | the setFrequency() function). |
| @@ -5844,12 +5844,12 @@ MY_FLOAT Blit :: tick( void ) · 93 unmodified lines |
| 5844 | 5844 | |
| 5845 | 5845 | This class generates a band-limited sawtooth waveform using a |
| 5846 | 5846 | closed-form algorithm reported by Stilson and Smith in "Alias-Free |
| 5847 | | − Digital Synthesis of Classic Analog Waveforms", 1996. The user |
| 5847 | + Digital Synthesis of Classic Analog Waveforms", 1996. The user |
| 5848 | 5848 | can specify both the fundamental frequency of the sawtooth and the |
| 5849 | 5849 | number of harmonics contained in the resulting signal. |
| 5850 | 5850 | |
| 5851 | 5851 | If nHarmonics is 0, then the signal will contain all harmonics up |
| 5852 | | − to half the sample rate. Note, however, that this setting may |
| 5852 | + to half the sample rate. Note, however, that this setting may |
| 5853 | 5853 | produce aliasing in the signal when the frequency is changing (no |
| 5854 | 5854 | automatic modification of the number of harmonics is performed by |
| 5855 | 5855 | the setFrequency() function). |
| @@ -5896,11 +5896,11 @@ void BlitSaw :: setHarmonics( unsigned int nHarmonics ) · 40 unmodified lines |
| 5896 | 5896 | this->updateHarmonics(); |
| 5897 | 5897 | |
| 5898 | 5898 | // I found that the initial DC offset could be minimized with an |
| 5899 | | − // initial state setting as given below. This initialization should |
| 5899 | + // initial state setting as given below. This initialization should |
| 5900 | 5900 | // only happen before starting the oscillator for the first time |
| 5901 | 5901 | // (but after setting the frequency and number of harmonics). I |
| 5902 | 5902 | // struggled a bit to decide where best to put this and finally |
| 5903 | | − // settled on here. In general, the user shouldn't be messing with |
| 5903 | + // settled on here. In general, the user shouldn't be messing with |
| 5904 | 5904 | // the number of harmonics once the oscillator is running because |
| 5905 | 5905 | // this is automatically taken care of in the setFrequency() |
| 5906 | 5906 | // function. (GPS - 1 October 2005) |
| @@ -5928,10 +5928,10 @@ MY_FLOAT BlitSaw :: tick( void ) · 21 unmodified lines |
| 5928 | 5928 | { |
| 5929 | 5929 | // The code below implements the BLIT algorithm of Stilson and |
| 5930 | 5930 | // Smith, followed by a summation and filtering operation to produce |
| 5931 | | − // a sawtooth waveform. After experimenting with various approaches |
| 5931 | + // a sawtooth waveform. After experimenting with various approaches |
| 5932 | 5932 | // to calculate the average value of the BLIT over one period, I |
| 5933 | 5933 | // found that an estimate of C2_ = 1.0 / period (in samples) worked |
| 5934 | | − // most consistently. A "leaky integrator" is then applied to the |
| 5934 | + // most consistently. A "leaky integrator" is then applied to the |
| 5935 | 5935 | // difference of the BLIT output and C2_. (GPS - 1 October 2005) |
| 5936 | 5936 | |
| 5937 | 5937 | // A fully optimized version of this code would replace the two sin |
| @@ -5966,12 +5966,12 @@ MY_FLOAT BlitSaw :: tick( void ) · 28 unmodified lines |
| 5966 | 5966 | /*! \class BlitSquare |
| 5967 | 5967 | \brief STK band-limited square wave class. |
| 5968 | 5968 | |
| 5969 | | − This class generates a band-limited square wave signal. It is |
| 5969 | + This class generates a band-limited square wave signal. It is |
| 5970 | 5970 | derived in part from the approach reported by Stilson and Smith in |
| 5971 | 5971 | "Alias-Free Digital Synthesis of Classic Analog Waveforms", 1996. |
| 5972 | 5972 | The algorithm implemented in this class uses a SincM function with |
| 5973 | 5973 | an even M value to achieve a bipolar bandlimited impulse train. |
| 5974 | | − This signal is then integrated to achieve a square waveform. The |
| 5974 | + This signal is then integrated to achieve a square waveform. The |
| 5975 | 5975 | integration process has an associated DC offset but that is |
| 5976 | 5976 | subtracted off the output signal. |
| 5977 | 5977 | |
| @@ -5980,7 +5980,7 @@ MY_FLOAT BlitSaw :: tick( void ) · 2 unmodified lines |
| 5980 | 5980 | signal. |
| 5981 | 5981 | |
| 5982 | 5982 | If nHarmonics is 0, then the signal will contain all harmonics up |
| 5983 | | − to half the sample rate. Note, however, that this setting may |
| 5983 | + to half the sample rate. Note, however, that this setting may |
| 5984 | 5984 | produce aliasing in the signal when the frequency is changing (no |
| 5985 | 5985 | automatic modification of the number of harmonics is performed by |
| 5986 | 5986 | the setFrequency() function). |
| @@ -6017,7 +6017,7 @@ void BlitSquare :: setFrequency( MY_FLOAT frequency ) · 30 unmodified lines |
| 6017 | 6017 | #endif |
| 6018 | 6018 | |
| 6019 | 6019 | // By using an even value of the parameter M, we get a bipolar blit |
| 6020 | | − // waveform at half the blit frequency. Thus, we need to scale the |
| 6020 | + // waveform at half the blit frequency. Thus, we need to scale the |
| 6021 | 6021 | // frequency value here by 0.5. (GPS, 2006). |
| 6022 | 6022 | p_ = 0.5 * Stk::sampleRate() / frequency; |
| 6023 | 6023 | rate_ = ONE_PI / p_; |
| @@ -6283,10 +6283,10 @@ void BlowBotl :: controlChange(int number, MY_FLOAT value) · 259 unmodified lines |
| 6283 | 6283 | |
| 6284 | 6284 | In this implementation, the distances between |
| 6285 | 6285 | the reed/register hole and tonehole/bell are |
| 6286 | | − fixed. As a result, both the tonehole and |
| 6286 | + fixed. As a result, both the tonehole and |
| 6287 | 6287 | register hole will have variable influence on |
| 6288 | 6288 | the playing frequency, which is dependent on |
| 6289 | | − the length of the air column. In addition, |
| 6289 | + the length of the air column. In addition, |
| 6290 | 6290 | the highest playing freqeuency is limited by |
| 6291 | 6291 | these fixed lengths. |
| 6292 | 6292 | This is a digital waveguide model, making its |
| @@ -6599,12 +6599,12 @@ MY_FLOAT BowTabl :: tick(MY_FLOAT input) · 306 unmodified lines |
| 6599 | 6599 | MY_FLOAT sample; |
| 6600 | 6600 | sample = input + offSet; // add bias to input |
| 6601 | 6601 | sample *= slope; // then scale it |
| 6602 | | − lastOutput = (MY_FLOAT) fabs((double) sample) + (MY_FLOAT) 0.75; |
| 6603 | | − lastOutput = (MY_FLOAT) pow( lastOutput,(MY_FLOAT) -4.0 ); |
| 6602 | + lastOutput = (MY_FLOAT)fabs((double) sample) + (MY_FLOAT) 0.75; |
| 6603 | + lastOutput = (MY_FLOAT)pow( lastOutput,(MY_FLOAT) -4.0 ); |
| 6604 | 6604 | |
| 6605 | | − // Set minimum friction to 0.0 |
| 6605 | + // set minimum friction to 0.0 |
| 6606 | 6606 | //if (lastOutput < 0.0 ) lastOutput = 0.0; |
| 6607 | | − // Set maximum friction to 1.0. |
| 6607 | + // set maximum friction to 1.0. |
| 6608 | 6608 | if (lastOutput > 1.0 ) lastOutput = (MY_FLOAT) 1.0; |
| 6609 | 6609 | |
| 6610 | 6610 | return lastOutput; |
| @@ -7515,16 +7515,16 @@ MY_FLOAT *Delay :: tick(MY_FLOAT *vec, unsigned int vectorSize) · 904 unmodified lines |
| 7515 | 7515 | |
| 7516 | 7516 | This Delay subclass implements a fractional- |
| 7517 | 7517 | length digital delay-line using a first-order |
| 7518 | | − allpass filter. A fixed maximum length |
| 7518 | + allpass filter. A fixed maximum length |
| 7519 | 7519 | of 4095 and a delay of 0.5 is set using the |
| 7520 | | − default constructor. Alternatively, the |
| 7520 | + default constructor. Alternatively, the |
| 7521 | 7521 | delay and maximum length can be set during |
| 7522 | 7522 | instantiation with an overloaded constructor. |
| 7523 | 7523 | |
| 7524 | 7524 | An allpass filter has unity magnitude gain but |
| 7525 | 7525 | variable phase delay properties, making it useful |
| 7526 | 7526 | in achieving fractional delays without affecting |
| 7527 | | − a signal's frequency magnitude response. In |
| 7527 | + a signal's frequency magnitude response. In |
| 7528 | 7528 | order to achieve a maximally flat phase delay |
| 7529 | 7529 | response, the minimum delay possible in this |
| 7530 | 7530 | implementation is limited to a value of 0.5. |
| @@ -7664,9 +7664,9 @@ MY_FLOAT DelayA :: tick(MY_FLOAT sample) · 133 unmodified lines |
| 7664 | 7664 | |
| 7665 | 7665 | This Delay subclass implements a fractional- |
| 7666 | 7666 | length digital delay-line using first-order |
| 7667 | | − linear interpolation. A fixed maximum length |
| 7667 | + linear interpolation. A fixed maximum length |
| 7668 | 7668 | of 4095 and a delay of zero is set using the |
| 7669 | | − default constructor. Alternatively, the |
| 7669 | + default constructor. Alternatively, the |
| 7670 | 7670 | delay and maximum length can be set during |
| 7671 | 7671 | instantiation with an overloaded constructor. |
| 7672 | 7672 | |
| @@ -7674,7 +7674,7 @@ MY_FLOAT DelayA :: tick(MY_FLOAT sample) · 1 unmodified line |
| 7674 | 7674 | for achieving fractional delay lengths, though |
| 7675 | 7675 | it does introduce high-frequency signal |
| 7676 | 7676 | attenuation to varying degrees depending on the |
| 7677 | | − fractional delay setting. The use of higher |
| 7677 | + fractional delay setting. The use of higher |
| 7678 | 7678 | order Lagrange interpolators can typically |
| 7679 | 7679 | improve (minimize) this attenuation characteristic. |
| 7680 | 7680 | |
| @@ -7794,9 +7794,9 @@ MY_FLOAT DelayL :: tick(MY_FLOAT sample) · 113 unmodified lines |
| 7794 | 7794 | |
| 7795 | 7795 | This class implements a drum sampling |
| 7796 | 7796 | synthesizer using WvIn objects and one-pole |
| 7797 | | − filters. The drum rawwave files are sampled |
| 7797 | + filters. The drum rawwave files are sampled |
| 7798 | 7798 | at 22050 Hz, but will be appropriately |
| 7799 | | − interpolated for other sample rates. You can |
| 7799 | + interpolated for other sample rates. You can |
| 7800 | 7800 | specify the maximum polyphony (maximum number |
| 7801 | 7801 | of simultaneous voices) via a #define in the |
| 7802 | 7802 | Drummer.h. |
| @@ -7807,7 +7807,7 @@ MY_FLOAT DelayL :: tick(MY_FLOAT sample) · 4 unmodified lines |
| 7807 | 7807 | |
| 7808 | 7808 | #include <math.h> |
| 7809 | 7809 | |
| 7810 | | −// Not really General MIDI yet. Coming soon. |
| 7810 | +// Not really General MIDI yet. Coming soon. |
| 7811 | 7811 | unsigned char genMIDIMap[128] = |
| 7812 | 7812 | { 0,0,0,0,0,0,0,0, // 0-7 |
| 7813 | 7813 | 0,0,0,0,0,0,0,0, // 8-15 |
| @@ -8207,7 +8207,7 @@ MY_FLOAT Envelope :: lastOut(void) const · 393 unmodified lines |
| 8207 | 8207 | |
| 8208 | 8208 | The basic Chowning/Stanford FM patent expired |
| 8209 | 8209 | in 1995, but there exist follow-on patents, |
| 8210 | | − mostly assigned to Yamaha. If you are of the |
| 8210 | + mostly assigned to Yamaha. If you are of the |
| 8211 | 8211 | type who should worry about this (making |
| 8212 | 8212 | money) worry away. |
| 8213 | 8213 | |
| @@ -8436,7 +8436,7 @@ void FM :: controlChange(int number, MY_FLOAT value) · 222 unmodified lines |
| 8436 | 8436 | |
| 8437 | 8437 | The basic Chowning/Stanford FM patent expired |
| 8438 | 8438 | in 1995, but there exist follow-on patents, |
| 8439 | | − mostly assigned to Yamaha. If you are of the |
| 8439 | + mostly assigned to Yamaha. If you are of the |
| 8440 | 8440 | type who should worry about this (making |
| 8441 | 8441 | money) worry away. |
| 8442 | 8442 | |
| @@ -8618,7 +8618,7 @@ void FMVoices :: controlChange(int number, MY_FLOAT value) · 175 unmodified lines |
| 8618 | 8618 | |
| 8619 | 8619 | The \e gain parameter is applied at the filter |
| 8620 | 8620 | input and does not affect the coefficient values. |
| 8621 | | − The default gain value is 1.0. This structure |
| 8621 | + The default gain value is 1.0. This structure |
| 8622 | 8622 | results in one extra multiply per computed sample, |
| 8623 | 8623 | but allows easy control of the overall filter gain. |
| 8624 | 8624 | |
| @@ -8849,7 +8849,7 @@ MY_FLOAT *FilterStk :: tick(MY_FLOAT *vec, unsigned int vectorSize) · 224 unmodified lines |
| 8849 | 8849 | |
| 8850 | 8850 | This class implements a simple flute |
| 8851 | 8851 | physical model, as discussed by Karjalainen, |
| 8852 | | − Smith, Waryznyk, etc. The jet model uses |
| 8852 | + Smith, Waryznyk, etc. The jet model uses |
| 8853 | 8853 | a polynomial, a la Cook. |
| 8854 | 8854 | |
| 8855 | 8855 | This is a digital waveguide model, making its |
| @@ -9103,7 +9103,7 @@ FormSwep :: FormSwep() : BiQuad() · 247 unmodified lines |
| 9103 | 9103 | deltaGain = (MY_FLOAT) 0.0; |
| 9104 | 9104 | deltaFrequency = (MY_FLOAT) 0.0; |
| 9105 | 9105 | deltaRadius = (MY_FLOAT) 0.0; |
| 9106 | | − sweepState = (MY_FLOAT) 0.0; |
| 9106 | + sweepState = (MY_FLOAT) 0.0; |
| 9107 | 9107 | sweepRate = (MY_FLOAT) 0.002; |
| 9108 | 9108 | dirty = false; |
| 9109 | 9109 | this->clear(); |
| @@ -9215,7 +9215,7 @@ MY_FLOAT *FormSwep :: tick(MY_FLOAT *vec, unsigned int vectorSize) · 105 unmodified lines |
| 9215 | 9215 | |
| 9216 | 9216 | The basic Chowning/Stanford FM patent expired |
| 9217 | 9217 | in 1995, but there exist follow-on patents, |
| 9218 | | − mostly assigned to Yamaha. If you are of the |
| 9218 | + mostly assigned to Yamaha. If you are of the |
| 9219 | 9219 | type who should worry about this (making |
| 9220 | 9220 | money) worry away. |
| 9221 | 9221 | |
| @@ -9369,7 +9369,7 @@ void Instrmnt :: controlChange(int number, MY_FLOAT value) · 147 unmodified lines |
| 9369 | 9369 | This class is derived from the CLM JCRev |
| 9370 | 9370 | function, which is based on the use of |
| 9371 | 9371 | networks of simple allpass and comb delay |
| 9372 | | − filters. This class implements three series |
| 9372 | + filters. This class implements three series |
| 9373 | 9373 | allpass units, followed by four parallel comb |
| 9374 | 9374 | filters, and two decorrelation delay lines in |
| 9375 | 9375 | parallel at the output. |
| @@ -9537,7 +9537,7 @@ MY_FLOAT JetTabl :: tick( MY_FLOAT input ) · 161 unmodified lines |
| 9537 | 9537 | // Perform "table lookup" using a polynomial |
| 9538 | 9538 | // calculation (x^3 - x), which approximates |
| 9539 | 9539 | // the jet sigmoid behavior. |
| 9540 | | − lastOutput = input * (input * input - (MY_FLOAT) 1.0); |
| 9540 | + lastOutput = input * (input * input - (MY_FLOAT)1.0); |
| 9541 | 9541 | |
| 9542 | 9542 | // Saturate at +/- 1.0. |
| 9543 | 9543 | if (lastOutput > 1.0) |
| @@ -9568,8 +9568,8 @@ MY_FLOAT *JetTabl :: tick(MY_FLOAT *vec, unsigned int vectorSize) · 24 unmodified lines |
| 9568 | 9568 | Stanford University, Yamaha, and others. |
| 9569 | 9569 | Commuted Synthesis, in particular, is covered |
| 9570 | 9570 | by patents, granted, pending, and/or |
| 9571 | | − applied-for. All are assigned to the Board of |
| 9572 | | − Trustees, Stanford University. For |
| 9571 | + applied-for. All are assigned to the Board of |
| 9572 | + Trustees, Stanford University. For |
| 9573 | 9573 | information, contact the Office of Technology |
| 9574 | 9574 | Licensing, Stanford University. |
| 9575 | 9575 | |
| @@ -9758,7 +9758,7 @@ void Mandolin :: controlChange(int number, MY_FLOAT value) · 182 unmodified lines |
| 9758 | 9758 | |
| 9759 | 9759 | This class implements a rectilinear, |
| 9760 | 9760 | two-dimensional digital waveguide mesh |
| 9761 | | − structure. For details, see Van Duyne and |
| 9761 | + structure. For details, see Van Duyne and |
| 9762 | 9762 | Smith, "Physical Modeling with the 2-D Digital |
| 9763 | 9763 | Waveguide Mesh", Proceedings of the 1993 |
| 9764 | 9764 | International Computer Music Conference. |
| @@ -10041,7 +10041,7 @@ MY_FLOAT Mesh2D :: tick0() · 276 unmodified lines |
| 10041 | 10041 | } |
| 10042 | 10042 | |
| 10043 | 10043 | // Loop over velocity-junction boundary faces, update edge |
| 10044 | | − // reflections, with filtering. We're only filtering on one x and y |
| 10044 | + // reflections, with filtering. We're only filtering on one x and y |
| 10045 | 10045 | // edge here and even this could be made much sparser. |
| 10046 | 10046 | for (y=0; y<NY-1; y++) { |
| 10047 | 10047 | vxp1[0][y] = filterY[y]->tick(vxm[0][y]); |
| @@ -10052,9 +10052,9 @@ MY_FLOAT Mesh2D :: tick0() · 4 unmodified lines |
| 10052 | 10052 | vym1[x][NY-1] = vyp[x][NY-1]; |
| 10053 | 10053 | } |
| 10054 | 10054 | |
| 10055 | | − // Output = sum of outgoing waves at far corner. Note that the last |
| 10055 | + // Output = sum of outgoing waves at far corner. Note that the last |
| 10056 | 10056 | // index in each coordinate direction is used only with the other |
| 10057 | | − // coordinate indices at their next-to-last values. This is because |
| 10057 | + // coordinate indices at their next-to-last values. This is because |
| 10058 | 10058 | // the "unit strings" attached to each velocity node to terminate |
| 10059 | 10059 | // the mesh are not themselves connected together. |
| 10060 | 10060 | outsamp = vxp[NX-1][NY-2] + vyp[NX-2][NY-1]; |
| @@ -10092,7 +10092,7 @@ MY_FLOAT Mesh2D :: tick1() · 31 unmodified lines |
| 10092 | 10092 | } |
| 10093 | 10093 | |
| 10094 | 10094 | // Loop over velocity-junction boundary faces, update edge |
| 10095 | | − // reflections, with filtering. We're only filtering on one x and y |
| 10095 | + // reflections, with filtering. We're only filtering on one x and y |
| 10096 | 10096 | // edge here and even this could be made much sparser. |
| 10097 | 10097 | for (y=0; y<NY-1; y++) { |
| 10098 | 10098 | vxp[0][y] = filterY[y]->tick(vxm1[0][y]); |
| @@ -10375,7 +10375,7 @@ MY_FLOAT Modal :: tick() · 276 unmodified lines |
| 10375 | 10375 | \brief STK resonant bar instrument class. |
| 10376 | 10376 | |
| 10377 | 10377 | This class implements a number of different |
| 10378 | | − struck bar instruments. It inherits from the |
| 10378 | + struck bar instruments. It inherits from the |
| 10379 | 10379 | Modal class. |
| 10380 | 10380 | |
| 10381 | 10381 | Control Change Numbers: |
| @@ -10461,9 +10461,9 @@ void ModalBar :: setStrikePosition(MY_FLOAT position) · 79 unmodified lines |
| 10461 | 10461 | this->setModeGain(0, 0.12 * temp); |
| 10462 | 10462 | |
| 10463 | 10463 | temp = sin(0.05 + (3.9 * temp2)); |
| 10464 | | − this->setModeGain(1,(MY_FLOAT) -0.03 * temp); |
| 10464 | + this->setModeGain(1, (MY_FLOAT)-0.03 * temp); |
| 10465 | 10465 | |
| 10466 | | − temp = (MY_FLOAT) sin(-0.05 + (11 * temp2)); |
| 10466 | + temp = (MY_FLOAT)sin(-0.05 + (11 * temp2)); |
| 10467 | 10467 | this->setModeGain(2,(MY_FLOAT) 0.11 * temp); |
| 10468 | 10468 | } |
| 10469 | 10469 | |
| @@ -10606,7 +10606,7 @@ Modulate :: ~Modulate() · 136 unmodified lines |
| 10606 | 10606 | |
| 10607 | 10607 | void Modulate :: reset() |
| 10608 | 10608 | { |
| 10609 | | − lastOutput = (MY_FLOAT) 0.0; |
| 10609 | + lastOutput = (MY_FLOAT)0.0; |
| 10610 | 10610 | } |
| 10611 | 10611 | |
| 10612 | 10612 | void Modulate :: setVibratoRate(MY_FLOAT aRate) |
| @@ -10821,7 +10821,7 @@ void Moog :: controlChange(int number, MY_FLOAT value) · 208 unmodified lines |
| 10821 | 10821 | This class is derived from the CLM NRev |
| 10822 | 10822 | function, which is based on the use of |
| 10823 | 10823 | networks of simple allpass and comb delay |
| 10824 | | − filters. This particular arrangement consists |
| 10824 | + filters. This particular arrangement consists |
| 10825 | 10825 | of 6 comb filters in parallel, followed by 3 |
| 10826 | 10826 | allpass filters, a lowpass filter, and another |
| 10827 | 10827 | allpass in series, followed by two allpass |
| @@ -10944,7 +10944,7 @@ MY_FLOAT NRev :: tick(MY_FLOAT input) · 116 unmodified lines |
| 10944 | 10944 | \brief STK noise generator. |
| 10945 | 10945 | |
| 10946 | 10946 | Generic random number generation using the |
| 10947 | | − C rand() function. The quality of the rand() |
| 10947 | + C rand() function. The quality of the rand() |
| 10948 | 10948 | function varies from one OS to another. |
| 10949 | 10949 | |
| 10950 | 10950 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002. |
| @@ -11005,7 +11005,7 @@ MY_FLOAT Noise :: lastOut() const · 54 unmodified lines |
| 11005 | 11005 | \brief STK one-pole filter class. |
| 11006 | 11006 | |
| 11007 | 11007 | This protected Filter subclass implements |
| 11008 | | − a one-pole digital filter. A method is |
| 11008 | + a one-pole digital filter. A method is |
| 11009 | 11009 | provided for setting the pole position along |
| 11010 | 11010 | the real axis of the z-plane while maintaining |
| 11011 | 11011 | a constant peak filter gain. |
| @@ -11034,7 +11034,7 @@ OnePole :: OnePole(MY_FLOAT thePole) : FilterStk() · 22 unmodified lines |
| 11034 | 11034 | B = (MY_FLOAT) (1.0 + thePole); |
| 11035 | 11035 | |
| 11036 | 11036 | A[1] = -thePole; |
| 11037 | | − FilterStk::setCoefficients( 1, &B, 2, A ); |
| 11037 | + FilterStk::setCoefficients( 1, &B, 2, A ); |
| 11038 | 11038 | } |
| 11039 | 11039 | |
| 11040 | 11040 | OnePole :: ~OnePole() |
| @@ -11106,7 +11106,7 @@ MY_FLOAT *OnePole :: tick(MY_FLOAT *vec, unsigned int vectorSize) · 65 unmodified lines |
| 11106 | 11106 | \brief STK one-zero filter class. |
| 11107 | 11107 | |
| 11108 | 11108 | This protected Filter subclass implements |
| 11109 | | − a one-zero digital filter. A method is |
| 11109 | + a one-zero digital filter. A method is |
| 11110 | 11110 | provided for setting the zero position |
| 11111 | 11111 | along the real axis of the z-plane while |
| 11112 | 11112 | maintaining a constant filter gain. |
| @@ -11207,7 +11207,7 @@ MY_FLOAT *OneZero :: tick(MY_FLOAT *vec, unsigned int vectorSize) · 94 unmodified lines |
| 11207 | 11207 | Stanford/CCRMA reverbs (NRev, KipRev), which |
| 11208 | 11208 | were based on the Chowning/Moorer/Schroeder |
| 11209 | 11209 | reverberators using networks of simple allpass |
| 11210 | | − and comb delay filters. This class implements |
| 11210 | + and comb delay filters. This class implements |
| 11211 | 11211 | two series allpass units and two parallel comb |
| 11212 | 11212 | filters. |
| 11213 | 11213 | |
| @@ -11323,7 +11323,7 @@ MY_FLOAT PRCRev :: tick(MY_FLOAT input) · 109 unmodified lines |
| 11323 | 11323 | |
| 11324 | 11324 | The basic Chowning/Stanford FM patent expired |
| 11325 | 11325 | in 1995, but there exist follow-on patents, |
| 11326 | | − mostly assigned to Yamaha. If you are of the |
| 11326 | + mostly assigned to Yamaha. If you are of the |
| 11327 | 11327 | type who should worry about this (making |
| 11328 | 11328 | money) worry away. |
| 11329 | 11329 | |
| @@ -11503,7 +11503,7 @@ const MY_FLOAT Phonemes :: phonemeParameters[32][4][3] = · 173 unmodified lines |
| 11503 | 11503 | { 895, 0.900, -3}, |
| 11504 | 11504 | {2556, 0.950, -17}, |
| 11505 | 11505 | {3070, 0.910, -20}}, |
| 11506 | | − { { 637, 0.910, 0}, // ohh (bone) NOTE:: same as aww (bought) |
| 11506 | + { { 637, 0.910, 0}, // ohh (bone) NOTE: same as aww (bought) |
| 11507 | 11507 | { 895, 0.900, -3}, |
| 11508 | 11508 | {2556, 0.950, -17}, |
| 11509 | 11509 | {3070, 0.910, -20}}, |
| @@ -11793,7 +11793,7 @@ MY_FLOAT *PitShift :: tick(MY_FLOAT *vec, unsigned int vectorSize) · 283 unmodified lines |
| 11793 | 11793 | Smith, and others. |
| 11794 | 11794 | |
| 11795 | 11795 | PluckTwo is an abstract class, with no excitation |
| 11796 | | − specified. Therefore, it can't be directly |
| 11796 | + specified. Therefore, it can't be directly |
| 11797 | 11797 | instantiated. |
| 11798 | 11798 | |
| 11799 | 11799 | This is a digital waveguide model, making its |
| @@ -12040,9 +12040,9 @@ MY_FLOAT Plucked :: tick() · 240 unmodified lines |
| 12040 | 12040 | \brief STK one-pole, one-zero filter class. |
| 12041 | 12041 | |
| 12042 | 12042 | This protected Filter subclass implements |
| 12043 | | − a one-pole, one-zero digital filter. A |
| 12043 | + a one-pole, one-zero digital filter. A |
| 12044 | 12044 | method is provided for creating an allpass |
| 12045 | | − filter with a given coefficient. Another |
| 12045 | + filter with a given coefficient. Another |
| 12046 | 12046 | method is provided to create a DC blocking filter. |
| 12047 | 12047 | |
| 12048 | 12048 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002. |
| @@ -12435,7 +12435,7 @@ bool Reverb :: isPrime(int number) · 386 unmodified lines |
| 12435 | 12435 | |
| 12436 | 12436 | The basic Chowning/Stanford FM patent expired |
| 12437 | 12437 | in 1995, but there exist follow-on patents, |
| 12438 | | − mostly assigned to Yamaha. If you are of the |
| 12438 | + mostly assigned to Yamaha. If you are of the |
| 12439 | 12439 | type who should worry about this (making |
| 12440 | 12440 | money) worry away. |
| 12441 | 12441 | |
| @@ -12528,7 +12528,7 @@ MY_FLOAT Rhodey :: tick() · 86 unmodified lines |
| 12528 | 12528 | \brief STK SKINI parsing class |
| 12529 | 12529 | |
| 12530 | 12530 | This class parses SKINI formatted text |
| 12531 | | − messages. It can be used to parse individual |
| 12531 | + messages. It can be used to parse individual |
| 12532 | 12532 | messages or it can be passed an entire file. |
| 12533 | 12533 | The file specification is Perry's and his |
| 12534 | 12534 | alone, but it's all text so it shouldn't be to |
| @@ -12537,7 +12537,7 @@ MY_FLOAT Rhodey :: tick() · 2 unmodified lines |
| 12537 | 12537 | SKINI (Synthesis toolKit Instrument Network |
| 12538 | 12538 | Interface) is like MIDI, but allows for |
| 12539 | 12539 | floating-point control changes, note numbers, |
| 12540 | | − etc. The following example causes a sharp |
| 12540 | + etc. The following example causes a sharp |
| 12541 | 12541 | middle C to be played with a velocity of 111.132: |
| 12542 | 12542 | |
| 12543 | 12543 | noteOn 60.01 111.13 |
| @@ -12552,7 +12552,7 @@ MY_FLOAT Rhodey :: tick() · 8 unmodified lines |
| 12552 | 12552 | #include <stdlib.h> |
| 12553 | 12553 | |
| 12554 | 12554 | // Constructor for use when parsing SKINI strings (coming over socket |
| 12555 | | −// for example. Use parseThis() method with string pointer. |
| 12555 | +// for example. Use parseThis() method with string pointer. |
| 12556 | 12556 | SKINI :: SKINI() |
| 12557 | 12557 | { |
| 12558 | 12558 | } |
| @@ -12938,19 +12938,19 @@ MY_FLOAT Sampler :: tick() · 379 unmodified lines |
| 12938 | 12938 | |
| 12939 | 12939 | This class implements a "hybrid" digital |
| 12940 | 12940 | waveguide instrument that can generate a |
| 12941 | | − variety of wind-like sounds. It has also been |
| 12942 | | − referred to as the "blowed string" model. The |
| 12941 | + variety of wind-like sounds. It has also been |
| 12942 | + referred to as the "blowed string" model. The |
| 12943 | 12943 | waveguide section is essentially that of a |
| 12944 | 12944 | string, with one rigid and one lossy |
| 12945 | | − termination. The non-linear function is a |
| 12946 | | − reed table. The string can be "blown" at any |
| 12945 | + termination. The non-linear function is a |
| 12946 | + reed table. The string can be "blown" at any |
| 12947 | 12947 | point between the terminations, though just as |
| 12948 | 12948 | with strings, it is impossible to excite the |
| 12949 | | − system at either end. If the excitation is |
| 12949 | + system at either end. If the excitation is |
| 12950 | 12950 | placed at the string mid-point, the sound is |
| 12951 | | − that of a clarinet. At points closer to the |
| 12951 | + that of a clarinet. At points closer to the |
| 12952 | 12952 | "bridge", the sound is closer to that of a |
| 12953 | | − saxophone. See Scavone (2002) for more details. |
| 12953 | + saxophone. See Scavone (2002) for more details. |
| 12954 | 12954 | |
| 12955 | 12955 | This is a digital waveguide model, making its |
| 12956 | 12956 | use possibly subject to patents held by Stanford |
| @@ -13167,7 +13167,7 @@ void Saxofony :: controlChange(int number, MY_FLOAT value) · 210 unmodified lines |
| 13167 | 13167 | PhISEM (Physically Informed Stochastic Event |
| 13168 | 13168 | Modeling) is an algorithmic approach for |
| 13169 | 13169 | simulating collisions of multiple independent |
| 13170 | | − sound producing objects. This class is a |
| 13170 | + sound producing objects. This class is a |
| 13171 | 13171 | meta-model that can simulate a Maraca, Sekere, |
| 13172 | 13172 | Cabasa, Bamboo Wind Chimes, Water Drops, |
| 13173 | 13173 | Tambourine, Sleighbells, and a Guiro. |
| @@ -13175,7 +13175,7 @@ void Saxofony :: controlChange(int number, MY_FLOAT value) · 1 unmodified line |
| 13175 | 13175 | PhOLIES (Physically-Oriented Library of |
| 13176 | 13176 | Imitated Environmental Sounds) is a similar |
| 13177 | 13177 | approach for the synthesis of environmental |
| 13178 | | − sounds. This class implements simulations of |
| 13178 | + sounds. This class implements simulations of |
| 13179 | 13179 | breaking sticks, crunchy snow (or not), a |
| 13180 | 13180 | wrench, sandpaper, and more. |
| 13181 | 13181 | |
| @@ -13298,11 +13298,11 @@ MY_FLOAT noise_tick() // Return random MY_FLOAT float between -1.0 and 1.0 · 116 unmodified lines |
| 13298 | 13298 | #define WUTR_SYSTEM_DECAY 0.996 |
| 13299 | 13299 | #define WUTR_GAIN 1.0 |
| 13300 | 13300 | #define WUTR_NUM_SOURCES 10 |
| 13301 | | −#define WUTR_CENTER_FREQ0 450.0 |
| 13302 | | −#define WUTR_CENTER_FREQ1 600.0 |
| 13303 | | −#define WUTR_CENTER_FREQ2 750.0 |
| 13304 | | −#define WUTR_RESON 0.9985 |
| 13305 | | −#define WUTR_FREQ_SWEEP 1.0001 |
| 13301 | +#define WUTR_CENTER_FREQ0 450.0 |
| 13302 | +#define WUTR_CENTER_FREQ1 600.0 |
| 13303 | +#define WUTR_CENTER_FREQ2 750.0 |
| 13304 | +#define WUTR_RESON 0.9985 |
| 13305 | +#define WUTR_FREQ_SWEEP 1.0001 |
| 13306 | 13306 | |
| 13307 | 13307 | // Tambourine |
| 13308 | 13308 | #define TAMB_SOUND_DECAY 0.95 |
| @@ -13312,7 +13312,7 @@ MY_FLOAT noise_tick() // Return random MY_FLOAT float between -1.0 and 1.0 · 3 unmodified lines |
| 13312 | 13312 | #define TAMB_SHELL_FREQ 2300 |
| 13313 | 13313 | #define TAMB_SHELL_GAIN 0.1 |
| 13314 | 13314 | #define TAMB_SHELL_RESON 0.96 |
| 13315 | | −#define TAMB_CYMB_FREQ1 5600 |
| 13315 | +#define TAMB_CYMB_FREQ1 5600 |
| 13316 | 13316 | #define TAMB_CYMB_FREQ2 8100 |
| 13317 | 13317 | #define TAMB_CYMB_RESON 0.99 |
| 13318 | 13318 | |
| @@ -13332,18 +13332,18 @@ MY_FLOAT noise_tick() // Return random MY_FLOAT float between -1.0 and 1.0 · 13 unmodified lines |
| 13332 | 13332 | #define GUIR_SOUND_DECAY 0.95 |
| 13333 | 13333 | #define GUIR_GAIN 10.0 |
| 13334 | 13334 | #define GUIR_NUM_PARTS 128 |
| 13335 | | −#define GUIR_GOURD_FREQ 2500.0 |
| 13335 | +#define GUIR_GOURD_FREQ 2500.0 |
| 13336 | 13336 | #define GUIR_GOURD_RESON 0.97 |
| 13337 | | −#define GUIR_GOURD_FREQ2 4000.0 |
| 13337 | +#define GUIR_GOURD_FREQ2 4000.0 |
| 13338 | 13338 | #define GUIR_GOURD_RESON2 0.97 |
| 13339 | 13339 | |
| 13340 | 13340 | // Wrench |
| 13341 | 13341 | #define WRENCH_SOUND_DECAY 0.95 |
| 13342 | 13342 | #define WRENCH_GAIN 5 |
| 13343 | 13343 | #define WRENCH_NUM_PARTS 128 |
| 13344 | | −#define WRENCH_FREQ 3200.0 |
| 13344 | +#define WRENCH_FREQ 3200.0 |
| 13345 | 13345 | #define WRENCH_RESON 0.99 |
| 13346 | | −#define WRENCH_FREQ2 8000.0 |
| 13346 | +#define WRENCH_FREQ2 8000.0 |
| 13347 | 13347 | #define WRENCH_RESON2 0.992 |
| 13348 | 13348 | |
| 13349 | 13349 | // Cokecan |
| @@ -13352,7 +13352,7 @@ MY_FLOAT noise_tick() // Return random MY_FLOAT float between -1.0 and 1.0 · 2 unmodified lines |
| 13352 | 13352 | #define COKECAN_GAIN 0.8 |
| 13353 | 13353 | #define COKECAN_NUM_PARTS 48 |
| 13354 | 13354 | #define COKECAN_HELMFREQ 370 |
| 13355 | | −#define COKECAN_HELM_RES 0.99 |
| 13355 | +#define COKECAN_HELM_RES 0.99 |
| 13356 | 13356 | #define COKECAN_METLFREQ0 1025 |
| 13357 | 13357 | #define COKECAN_METLFREQ1 1424 |
| 13358 | 13358 | #define COKECAN_METLFREQ2 2149 |
| @@ -14441,9 +14441,9 @@ void Simple :: controlChange(int number, MY_FLOAT value) · 1082 unmodified lines |
| 14441 | 14441 | |
| 14442 | 14442 | This class contains all that is needed to make |
| 14443 | 14443 | a pitched musical sound, like a simple voice |
| 14444 | | − or violin. In general, it will not be used |
| 14444 | + or violin. In general, it will not be used |
| 14445 | 14445 | alone because of munchkinification effects |
| 14446 | | − from pitch shifting. It will be used as an |
| 14446 | + from pitch shifting. It will be used as an |
| 14447 | 14447 | excitation source for other instruments. |
| 14448 | 14448 | |
| 14449 | 14449 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002. |
| @@ -15021,7 +15021,7 @@ void StifKarp :: controlChange(int number, MY_FLOAT value) · 571 unmodified lines |
| 15021 | 15021 | |
| 15022 | 15022 | Nearly all STK classes inherit from this class. |
| 15023 | 15023 | The global sample rate can be queried and |
| 15024 | | − modified via Stk. In addition, this class |
| 15024 | + modified via Stk. In addition, this class |
| 15025 | 15025 | provides error handling and byte-swapping |
| 15026 | 15026 | functions. |
| 15027 | 15027 | |
| @@ -15177,7 +15177,7 @@ void StkError :: printMessage(void) · 149 unmodified lines |
| 15177 | 15177 | \brief STK sub-sampled noise generator. |
| 15178 | 15178 | |
| 15179 | 15179 | Generates a new random number every "rate" ticks |
| 15180 | | − using the C rand() function. The quality of the |
| 15180 | + using the C rand() function. The quality of the |
| 15181 | 15181 | rand() function varies from one OS to another. |
| 15182 | 15182 | |
| 15183 | 15183 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002. |
| @@ -15220,7 +15220,7 @@ MY_FLOAT SubNoise :: tick() · 36 unmodified lines |
| 15220 | 15220 | |
| 15221 | 15221 | This class loads a table of floating-point |
| 15222 | 15222 | doubles, which are assumed to be in big-endian |
| 15223 | | − format. Linear interpolation is performed for |
| 15223 | + format. Linear interpolation is performed for |
| 15224 | 15224 | fractional lookup indexes. |
| 15225 | 15225 | |
| 15226 | 15226 | An StkError will be thrown if the table file |
| @@ -15343,7 +15343,7 @@ MY_FLOAT *Table :: tick(MY_FLOAT *vec, unsigned int vectorSize) · 116 unmodified lines |
| 15343 | 15343 | |
| 15344 | 15344 | The basic Chowning/Stanford FM patent expired |
| 15345 | 15345 | in 1995, but there exist follow-on patents, |
| 15346 | | − mostly assigned to Yamaha. If you are of the |
| 15346 | + mostly assigned to Yamaha. If you are of the |
| 15347 | 15347 | type who should worry about this (making |
| 15348 | 15348 | money) worry away. |
| 15349 | 15349 | |
| @@ -15427,7 +15427,7 @@ MY_FLOAT TubeBell :: tick() · 77 unmodified lines |
| 15427 | 15427 | \brief STK two-pole filter class. |
| 15428 | 15428 | |
| 15429 | 15429 | This protected Filter subclass implements |
| 15430 | | − a two-pole digital filter. A method is |
| 15430 | + a two-pole digital filter. A method is |
| 15431 | 15431 | provided for creating a resonance in the |
| 15432 | 15432 | frequency response while maintaining a nearly |
| 15433 | 15433 | constant filter gain. |
| @@ -15526,7 +15526,7 @@ MY_FLOAT *TwoPole :: tick(MY_FLOAT *vec, unsigned int vectorSize) · 92 unmodified lines |
| 15526 | 15526 | \brief STK two-zero filter class. |
| 15527 | 15527 | |
| 15528 | 15528 | This protected Filter subclass implements |
| 15529 | | − a two-zero digital filter. A method is |
| 15529 | + a two-zero digital filter. A method is |
| 15530 | 15530 | provided for creating a "notch" in the |
| 15531 | 15531 | frequency response while maintaining a |
| 15532 | 15532 | constant filter gain. |
| @@ -15699,7 +15699,7 @@ void Vector3D :: setZ(double aval) · 166 unmodified lines |
| 15699 | 15699 | |
| 15700 | 15700 | Measured formant data is included, and enough |
| 15701 | 15701 | data is there to support either parallel or |
| 15702 | | − cascade synthesis. In the floating point case |
| 15702 | + cascade synthesis. In the floating point case |
| 15703 | 15703 | cascade synthesis is the most natural so |
| 15704 | 15704 | that's what you'll find here. |
| 15705 | 15705 | |
| @@ -15955,14 +15955,14 @@ void VoicForm :: controlChange(int number, MY_FLOAT value) · 249 unmodified lines |
| 15955 | 15955 | \brief STK voice manager class. |
| 15956 | 15956 | |
| 15957 | 15957 | This class can be used to manage a group of |
| 15958 | | − STK instrument classes. Individual voices can |
| 15958 | + STK instrument classes. Individual voices can |
| 15959 | 15959 | be controlled via unique note tags. |
| 15960 | 15960 | Instrument groups can be controlled by channel |
| 15961 | 15961 | number. |
| 15962 | 15962 | |
| 15963 | 15963 | A previously constructed STK instrument class |
| 15964 | 15964 | is linked with a voice manager using the |
| 15965 | | − addInstrument() function. An optional channel |
| 15965 | + addInstrument() function. An optional channel |
| 15966 | 15966 | number argument can be specified to the |
| 15967 | 15967 | addInstrument() function as well (default |
| 15968 | 15968 | channel = 0). The voice manager does not |
| @@ -15971,10 +15971,10 @@ void VoicForm :: controlChange(int number, MY_FLOAT value) · 2 unmodified lines |
| 15971 | 15971 | deallocate all instruments. |
| 15972 | 15972 | |
| 15973 | 15973 | The tick() function returns the mix of all |
| 15974 | | − sounding voices. Each noteOn returns a unique |
| 15974 | + sounding voices. Each noteOn returns a unique |
| 15975 | 15975 | tag (credits to the NeXT MusicKit), so you can |
| 15976 | 15976 | send control changes to specific voices within |
| 15977 | | − an ensemble. Alternately, control changes can |
| 15977 | + an ensemble. Alternately, control changes can |
| 15978 | 15978 | be sent to all voices on a given channel. |
| 15979 | 15979 | |
| 15980 | 15980 | by Perry R. Cook and Gary P. Scavone, 1995 - 2002. |
| @@ -16223,7 +16223,7 @@ MY_FLOAT Voicer :: lastOutRight() const · 242 unmodified lines |
| 16223 | 16223 | audio file looping functionality. |
| 16224 | 16224 | |
| 16225 | 16225 | WaveLoop supports multi-channel data in |
| 16226 | | − interleaved format. It is important to |
| 16226 | + interleaved format. It is important to |
| 16227 | 16227 | distinguish the tick() methods, which return |
| 16228 | 16228 | samples produced by averaging across sample |
| 16229 | 16229 | frames, from the tickFrame() methods, which |
| @@ -16546,7 +16546,7 @@ MY_FLOAT Whistle :: tick() · 316 unmodified lines |
| 16546 | 16546 | temp = -temp; // We know (hope) it's inside, just how much?? |
| 16547 | 16547 | if (temp < (PEA_RADIUS * 1.25)) { |
| 16548 | 16548 | pea->getVelocity(tempVector); // This is the can/pea collision |
| 16549 | | − tempX = tempVectorP->getX(); // calculation. Could probably |
| 16549 | + tempX = tempVectorP->getX(); // calculation. Could probably |
| 16550 | 16550 | tempY = tempVectorP->getY(); // simplify using tables, etc. |
| 16551 | 16551 | phi = -atan2(tempY,tempX); |
| 16552 | 16552 | cosphi = cos(phi); |
| @@ -16649,7 +16649,7 @@ void Whistle :: controlChange(int number, MY_FLOAT value) · 96 unmodified lines |
| 16649 | 16649 | |
| 16650 | 16650 | The basic Chowning/Stanford FM patent expired |
| 16651 | 16651 | in 1995, but there exist follow-on patents, |
| 16652 | | − mostly assigned to Yamaha. If you are of the |
| 16652 | + mostly assigned to Yamaha. If you are of the |
| 16653 | 16653 | type who should worry about this (making |
| 16654 | 16654 | money) worry away. |
| 16655 | 16655 | |
| @@ -16762,24 +16762,24 @@ void Wurley :: controlChange( int which, MY_FLOAT value ) · 106 unmodified lines |
| 16762 | 16762 | \brief STK audio data input base class. |
| 16763 | 16763 | |
| 16764 | 16764 | This class provides input support for various |
| 16765 | | − audio file formats. It also serves as a base |
| 16765 | + audio file formats. It also serves as a base |
| 16766 | 16766 | class for "realtime" streaming subclasses. |
| 16767 | 16767 | |
| 16768 | 16768 | WvIn loads the contents of an audio file for |
| 16769 | | − subsequent output. Linear interpolation is |
| 16769 | + subsequent output. Linear interpolation is |
| 16770 | 16770 | used for fractional "read rates". |
| 16771 | 16771 | |
| 16772 | 16772 | WvIn supports multi-channel data in interleaved |
| 16773 | | − format. It is important to distinguish the |
| 16773 | + format. It is important to distinguish the |
| 16774 | 16774 | tick() methods, which return samples produced |
| 16775 | 16775 | by averaging across sample frames, from the |
| 16776 | 16776 | tickFrame() methods, which return pointers to |
| 16777 | | − multi-channel sample frames. For single-channel |
| 16777 | + multi-channel sample frames. For single-channel |
| 16778 | 16778 | data, these methods return equivalent values. |
| 16779 | 16779 | |
| 16780 | 16780 | Small files are completely read into local memory |
| 16781 | | − during instantiation. Large files are read |
| 16782 | | − incrementally from disk. The file size threshold |
| 16781 | + during instantiation. Large files are read |
| 16782 | + incrementally from disk. The file size threshold |
| 16783 | 16783 | and the increment size values are defined in |
| 16784 | 16784 | WvIn.h. |
| 16785 | 16785 | |
| @@ -16787,7 +16787,7 @@ void Wurley :: controlChange( int which, MY_FLOAT value ) · 1 unmodified line |
| 16787 | 16787 | MAT-file (Matlab), and STK RAW file formats. |
| 16788 | 16788 | Signed integer (8-, 16-, and 32-bit) and floating- |
| 16789 | 16789 | point (32- and 64-bit) data types are supported. |
| 16790 | | − Uncompressed data types are not supported. If |
| 16790 | + Uncompressed data types are not supported. If |
| 16791 | 16791 | using MAT-files, data should be saved in an array |
| 16792 | 16792 | with each data channel filling a matrix row. |
| 16793 | 16793 | |
| @@ -17319,7 +17319,7 @@ if( little_endian ) · 525 unmodified lines |
| 17319 | 17319 | if( little_endian ) |
| 17320 | 17320 | swap16((unsigned char *)&temp); |
| 17321 | 17321 | |
| 17322 | | − // Get file sample rate from the header. For AIFF files, this value |
| 17322 | + // Get file sample rate from the header. For AIFF files, this value |
| 17323 | 17323 | // is stored in a 10-byte, IEEE Standard 754 floating point number, |
| 17324 | 17324 | // so we need to convert it first. |
| 17325 | 17325 | unsigned char srate[10]; |
| @@ -17794,12 +17794,12 @@ MY_FLOAT *WvIn :: tickFrame(MY_FLOAT *frameVector, unsigned int frames) · 468 unmodified lines |
| 17794 | 17794 | \brief STK audio data output base class. |
| 17795 | 17795 | |
| 17796 | 17796 | This class provides output support for various |
| 17797 | | − audio file formats. It also serves as a base |
| 17797 | + audio file formats. It also serves as a base |
| 17798 | 17798 | class for "realtime" streaming subclasses. |
| 17799 | 17799 | |
| 17800 | | − WvOut writes samples to an audio file. It |
| 17800 | + WvOut writes samples to an audio file. It |
| 17801 | 17801 | supports multi-channel data in interleaved |
| 17802 | | − format. It is important to distinguish the |
| 17802 | + format. It is important to distinguish the |
| 17803 | 17803 | tick() methods, which output single samples |
| 17804 | 17804 | to all channels in a sample frame, from the |
| 17805 | 17805 | tickFrame() method, which takes a pointer |
| @@ -17807,14 +17807,14 @@ MY_FLOAT *WvIn :: tickFrame(MY_FLOAT *frameVector, unsigned int frames) · 1 unmodified line |
| 17807 | 17807 | |
| 17808 | 17808 | WvOut currently supports WAV, AIFF, AIFC, SND |
| 17809 | 17809 | (AU), MAT-file (Matlab), and STK RAW file |
| 17810 | | − formats. Signed integer (8-, 16-, and 32-bit) |
| 17810 | + formats. Signed integer (8-, 16-, and 32-bit) |
| 17811 | 17811 | and floating- point (32- and 64-bit) data types |
| 17812 | | − are supported. STK RAW files use 16-bit |
| 17813 | | − integers by definition. MAT-files will always |
| 17814 | | − be written as 64-bit floats. If a data type |
| 17812 | + are supported. STK RAW files use 16-bit |
| 17813 | + integers by definition. MAT-files will always |
| 17814 | + be written as 64-bit floats. If a data type |
| 17815 | 17815 | specification does not match the specified file |
| 17816 | 17816 | type, the data type will automatically be |
| 17817 | | − modified. Uncompressed data types are not |
| 17817 | + modified. Uncompressed data types are not |
| 17818 | 17818 | supported. |
| 17819 | 17819 | |
| 17820 | 17820 | Currently, WvOut is non-interpolating and the |
| @@ -18442,7 +18442,7 @@ bool WvOut :: setMatFile( const char *fileName ) · 621 unmodified lines |
| 18442 | 18442 | // 3. Array Name |
| 18443 | 18443 | // We'll use fileName for the matlab array name (as well as the file name). |
| 18444 | 18444 | // If fileName is 4 characters or less, we have to use a compressed data element |
| 18445 | | − // format for the array name data element. Otherwise, the array name must |
| 18445 | + // format for the array name data element. Otherwise, the array name must |
| 18446 | 18446 | // be formatted in 8-byte increments (up to 31 characters + NULL). |
| 18447 | 18447 | SINT32 namelength = (SINT32) strlen(fileName); |
| 18448 | 18448 | if (strstr(fileName, ".mat")) namelength -= 4; |
| @@ -18664,7 +18664,7 @@ void WvOut :: tickFrame(const MY_FLOAT *frameVector, unsigned int frames) · 215 unmodified lines |
| 18664 | 18664 | |
| 18665 | 18665 | This class can be used to read events from a standard MIDI file. |
| 18666 | 18666 | Event bytes are copied to a C++ vector and must be subsequently |
| 18667 | | − interpreted by the user. The function getNextMidiEvent() skips |
| 18667 | + interpreted by the user. The function getNextMidiEvent() skips |
| 18668 | 18668 | meta and sysex events, returning only MIDI channel messages. |
| 18669 | 18669 | Event delta-times are returned in the form of "ticks" and a |
| 18670 | 18670 | function is provided to determine the current "seconds per tick". |
| @@ -18755,9 +18755,9 @@ MidiFileIn :: MidiFileIn( std::string fileName ) · 84 unmodified lines |
| 18755 | 18755 | tickrate = (double) (*data & 0x7FFF); // ticks per quarter note |
| 18756 | 18756 | } |
| 18757 | 18757 | |
| 18758 | | − // Now locate the track offsets and lengths. If not using time |
| 18758 | + // Now locate the track offsets and lengths. If not using time |
| 18759 | 18759 | // code, we can initialize the "tick time" using a default tempo of |
| 18760 | | − // 120 beats per minute. We will then check for tempo meta-events |
| 18760 | + // 120 beats per minute. We will then check for tempo meta-events |
| 18761 | 18761 | // afterward. |
| 18762 | 18762 | unsigned int i; |
| 18763 | 18763 | for ( i=0; i<nTracks_; i++ ) { |
| @@ -18882,8 +18882,8 @@ unsigned long MidiFileIn :: getNextEvent( std::vector<unsigned char> *event, uns · 118 unmodified lines |
| 18882 | 18882 | { |
| 18883 | 18883 | // Fill the user-provided vector with the next event in the |
| 18884 | 18884 | // specified track (default = 0) and return the event delta time in |
| 18885 | | − // ticks. This function assumes that the stored track pointer is |
| 18886 | | − // positioned at the start of a track event. If the track has |
| 18885 | + // ticks. This function assumes that the stored track pointer is |
| 18886 | + // positioned at the start of a track event. If the track has |
| 18887 | 18887 | // reached its end, the event vector size will be zero. |
| 18888 | 18888 | // |
| 18889 | 18889 | // If we have a format 0 or 2 file and we're not using timecode, we |
| @@ -19002,7 +19002,7 @@ unsigned long MidiFileIn :: getNextMidiEvent( std::vector<unsigned char> *midiEv · 112 unmodified lines |
| 19002 | 19002 | { |
| 19003 | 19003 | // Fill the user-provided vector with the next MIDI event in the |
| 19004 | 19004 | // specified track (default = 0) and return the event delta time in |
| 19005 | | − // ticks. Meta-Events preceeding this event are skipped and ignored. |
| 19005 | + // ticks. Meta-Events preceeding this event are skipped and ignored. |
| 19006 | 19006 | if ( track >= nTracks_ ) { |
| 19007 | 19007 | CK_STDCOUT << "MidiFileIn::getNextMidiEvent: invalid track argument (" << track << ")."; |
| 19008 | 19008 | handleError( "", StkError::WARNING ); return 0; |
| @@ -19024,7 +19024,7 @@ unsigned long MidiFileIn :: getNextMidiEvent( std::vector<unsigned char> *midiEv · 15 unmodified lines |
| 19024 | 19024 | bool MidiFileIn :: readVariableLength( unsigned long *value ) |
| 19025 | 19025 | { |
| 19026 | 19026 | // It is assumed that this function is called with the file read |
| 19027 | | − // pointer positioned at the start of a variable-length value. The |
| 19027 | + // pointer positioned at the start of a variable-length value. The |
| 19028 | 19028 | // function returns "true" if the value is successfully parsed and |
| 19029 | 19029 | // "false" otherwise. |
| 19030 | 19030 | *value = 0; |
| @@ -25025,7 +25025,7 @@ CK_DLL_CTRL( Moog_ctrl_filterQ ) · 5994 unmodified lines |
| 25025 | 25025 | Moog * m = (Moog *)OBJ_MEMBER_UINT(SELF, Instrmnt_offset_data); |
| 25026 | 25026 | t_CKFLOAT f = GET_NEXT_FLOAT(ARGS); |
| 25027 | 25027 | m->controlChange( __SK_FilterQ_, f * 128.0 ); |
| 25028 | | − RETURN->v_float = (t_CKFLOAT) 10.0 * ( m->filterQ - 0.80 ); |
| 25028 | + RETURN->v_float = (t_CKFLOAT)10.0 * ( m->filterQ - 0.80 ); |
| 25029 | 25029 | } |
| 25030 | 25030 | |
| 25031 | 25031 | |
| @@ -25036,7 +25036,7 @@ CK_DLL_CTRL( Moog_ctrl_filterQ ) · 4 unmodified lines |
| 25036 | 25036 | CK_DLL_CGET( Moog_cget_filterQ ) |
| 25037 | 25037 | { |
| 25038 | 25038 | Moog * m = (Moog *)OBJ_MEMBER_UINT(SELF, Instrmnt_offset_data); |
| 25039 | | − RETURN->v_float = (t_CKFLOAT) 10.0 * ( m->filterQ - 0.80 ); |
| 25039 | + RETURN->v_float = (t_CKFLOAT)10.0 * ( m->filterQ - 0.80 ); |
| 25040 | 25040 | } |
| 25041 | 25041 | |
| 25042 | 25042 | |
| @@ -25049,7 +25049,7 @@ CK_DLL_CTRL( Moog_ctrl_filterSweepRate ) · 6 unmodified lines |
| 25049 | 25049 | Moog * m = (Moog *)OBJ_MEMBER_UINT(SELF, Instrmnt_offset_data); |
| 25050 | 25050 | t_CKFLOAT f = GET_NEXT_FLOAT(ARGS); |
| 25051 | 25051 | m->controlChange( __SK_FilterSweepRate_, f * 128.0 ); |
| 25052 | | − RETURN->v_float = (t_CKFLOAT) m->filterRate * 5000; |
| 25052 | + RETURN->v_float = (t_CKFLOAT)m->filterRate * 5000; |
| 25053 | 25053 | } |
| 25054 | 25054 | |
| 25055 | 25055 | |
| @@ -25060,7 +25060,7 @@ CK_DLL_CTRL( Moog_ctrl_filterSweepRate ) · 4 unmodified lines |
| 25060 | 25060 | CK_DLL_CGET( Moog_cget_filterSweepRate ) |
| 25061 | 25061 | { |
| 25062 | 25062 | Moog * m = (Moog *)OBJ_MEMBER_UINT(SELF, Instrmnt_offset_data); |
| 25063 | | − RETURN->v_float = (t_CKFLOAT) m->filterRate * 5000; |
| 25063 | + RETURN->v_float = (t_CKFLOAT)m->filterRate * 5000; |
| 25064 | 25064 | } |
| 25065 | 25065 | |
| 25066 | 25066 | |
| @@ -25109,7 +25109,7 @@ CK_DLL_CTRL( Moog_ctrl_vibratoGain ) · 42 unmodified lines |
| 25109 | 25109 | Moog * m = (Moog *)OBJ_MEMBER_UINT(SELF, Instrmnt_offset_data); |
| 25110 | 25110 | t_CKFLOAT f = GET_NEXT_FLOAT(ARGS); |
| 25111 | 25111 | m->controlChange( __SK_ModWheel_, f * 128.0 ); |
| 25112 | | − RETURN->v_float = (t_CKFLOAT) m->m_vibratoGain; |
| 25112 | + RETURN->v_float = (t_CKFLOAT)m->m_vibratoGain; |
| 25113 | 25113 | } |
| 25114 | 25114 | |
| 25115 | 25115 | |
| @@ -25120,7 +25120,7 @@ CK_DLL_CTRL( Moog_ctrl_vibratoGain ) · 4 unmodified lines |
| 25120 | 25120 | CK_DLL_CGET( Moog_cget_vibratoGain ) |
| 25121 | 25121 | { |
| 25122 | 25122 | Moog * m = (Moog *)OBJ_MEMBER_UINT(SELF, Instrmnt_offset_data); |
| 25123 | | − RETURN->v_float = (t_CKFLOAT) m->m_vibratoGain; |
| 25123 | + RETURN->v_float = (t_CKFLOAT)m->m_vibratoGain; |
| 25124 | 25124 | } |
| 25125 | 25125 | |
| 25126 | 25126 | |
| @@ -25133,7 +25133,7 @@ CK_DLL_CTRL( Moog_ctrl_volume ) · 6 unmodified lines |
| 25133 | 25133 | Moog * m = (Moog *)OBJ_MEMBER_UINT(SELF, Instrmnt_offset_data); |
| 25134 | 25134 | t_CKFLOAT f = GET_NEXT_FLOAT(ARGS); |
| 25135 | 25135 | m->controlChange( __SK_AfterTouch_Cont_, f * 128.0 ); |
| 25136 | | − RETURN->v_float = (t_CKFLOAT) m->m_volume; |
| 25136 | + RETURN->v_float = (t_CKFLOAT)m->m_volume; |
| 25137 | 25137 | } |
| 25138 | 25138 | |
| 25139 | 25139 | |
| @@ -25144,7 +25144,7 @@ CK_DLL_CTRL( Moog_ctrl_volume ) · 4 unmodified lines |
| 25144 | 25144 | CK_DLL_CGET( Moog_cget_volume ) |
| 25145 | 25145 | { |
| 25146 | 25146 | Moog * m = (Moog *)OBJ_MEMBER_UINT(SELF, Instrmnt_offset_data); |
| 25147 | | − RETURN->v_float = (t_CKFLOAT) m->m_volume; |
| 25147 | + RETURN->v_float = (t_CKFLOAT)m->m_volume; |
| 25148 | 25148 | } |
| 25149 | 25149 | |
| 25150 | 25150 | |
| @@ -25274,7 +25274,7 @@ CK_DLL_CTRL( PitShift_ctrl_shift ) · 123 unmodified lines |
| 25274 | 25274 | PitShift * p = (PitShift *)OBJ_MEMBER_UINT(SELF, PitShift_offset_data); |
| 25275 | 25275 | t_CKFLOAT f = GET_NEXT_FLOAT(ARGS); |
| 25276 | 25276 | p->setShift( f ); |
| 25277 | | − RETURN->v_float = (t_CKFLOAT) 1.0 - p->rate; |
| 25277 | + RETURN->v_float = (t_CKFLOAT)1.0 - p->rate; |
| 25278 | 25278 | } |
| 25279 | 25279 | |
| 25280 | 25280 | |
| @@ -25285,7 +25285,7 @@ CK_DLL_CTRL( PitShift_ctrl_shift ) · 4 unmodified lines |
| 25285 | 25285 | CK_DLL_CGET( PitShift_cget_shift ) |
| 25286 | 25286 | { |
| 25287 | 25287 | PitShift * p = (PitShift *)OBJ_MEMBER_UINT(SELF, PitShift_offset_data); |
| 25288 | | − RETURN->v_float = (t_CKFLOAT) 1.0 - p->rate; |
| 25288 | + RETURN->v_float = (t_CKFLOAT)1.0 - p->rate; |
| 25289 | 25289 | } |
| 25290 | 25290 | |
| 25291 | 25291 | |
| @@ -25298,7 +25298,7 @@ CK_DLL_CTRL( PitShift_ctrl_effectMix ) · 6 unmodified lines |
| 25298 | 25298 | PitShift * p = (PitShift *)OBJ_MEMBER_UINT(SELF, PitShift_offset_data); |
| 25299 | 25299 | t_CKFLOAT f = GET_NEXT_FLOAT(ARGS); |
| 25300 | 25300 | p->setEffectMix( f ); |
| 25301 | | − RETURN->v_float = (t_CKFLOAT) p->effectMix; |
| 25301 | + RETURN->v_float = (t_CKFLOAT)p->effectMix; |
| 25302 | 25302 | } |
| 25303 | 25303 | |
| 25304 | 25304 | |
| @@ -25309,7 +25309,7 @@ CK_DLL_CTRL( PitShift_ctrl_effectMix ) · 4 unmodified lines |
| 25309 | 25309 | CK_DLL_CGET( PitShift_cget_effectMix ) |
| 25310 | 25310 | { |
| 25311 | 25311 | PitShift * p = (PitShift *)OBJ_MEMBER_UINT(SELF, PitShift_offset_data); |
| 25312 | | − RETURN->v_float = (t_CKFLOAT) p->effectMix; |
| 25312 | + RETURN->v_float = (t_CKFLOAT)p->effectMix; |
| 25313 | 25313 | } |
| 25314 | 25314 | |
| 25315 | 25315 | |