Practical difference between "line" and "line~" when you can use either
line~ is an msp object and generates a signal ramp or envelope
line sends out number values as messages
In your case, using line~ instead of line will probably yield better result because ther eis no discontinuity in audio signal (whereas with line you would have gaps between each line grain, which occur at minimum 1.ms ; with line~ it's each audio sample which is a lot more)
This is a clear explanation. Thanks a lot SRS and VICHUG!
In your case, using line~ instead of line will probably yield better result because ther eis no discontinuity in audio signal (whereas with line you would have gaps between each line grain, which occur at minimum 1.ms ; with line~ it’s each audio sample which is a lot more)
Here's an example where one might use both. In the example, the conversion of decibels to amplitude happens only, at most, every 1/40 of a second, and the line~ object goes to its new value linearly in 1/40 of a second. That's different from using only line~ and then using dbtoa~ to do tens of thousands of calculations per second.
Thank you very much for your further clarification and example CHRISTOPHER DOBRIAN. Is the purpose of the use of "line" in such a situation, saving CPU power?