-
Notifications
You must be signed in to change notification settings - Fork 25
Description
The package I'm working on, SignalOperators
, a uses few of the same function names as the SampledSignals package. I'm wondering if we might discuss moving shared functions to some parent package (AudioBase
, SignalBase
, or a PR to DSP
?), and then depending on that shared package. The goal would be to allow people to use both SampledSignals
and SignalOperators
OR to just use one of them, without running into clashes in the namespace.
The shared functions are samplerate
and nchannels
.
I use nsamples
, and you use nframes
. I could see changing the name of my function to nframes
, in which case there would be three shared functions. However, for consistency, it seems like, if it is called nframes
it should be called framerate
, not samplerate
. If a sample is defined to include just one channel's value, than the sample rate is twice as fast for a 2-channel signal than a 1-channel signal.