[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] Buffer gen methods

On 7 Dec 2004, at 03:29, James Harkins wrote:

On Monday, Dec 6, 2004, at 18:53 US/Eastern, Scott Wilson wrote:

I've just about got the new help for Buffer done, and I noticed that sine2 and sine3 seem to have just been implemented as copies of sine1. This should work, but perhaps separate args for freqs, amps, and phases would be better IMO. If no one objects I'll change this.

One advantage to the current way is that the frequencies array is compatible with message style. But I can see why it would be clearer to have the different arguments.

I don't think that's much of an advantage, to be honest. More useful is to be able to treat them separately as in an SC2 Signal. Then you can do stuff like this with amps and not have to interlace them yourself afterwards: