-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pan0 in -1 to 1 range #222
Comments
some questions:
in sclang, we have unipolar
if pan is unipolar and pan0 bipolar, then shouldn't sine and sine0 be analogous? One possibility is to add |
Ah sorry for mixing up front and rear, to tell the truth I just switch cables around until things sound right. :) In earlier versions of tidal I thought the I still think it makes sense for most effects to be unipolar. But then it's nice to be able to multiply signals together to get a more complex waveform before scaling to the 0 .. 1 range. Unfortunately tidal's Maybe this needs solving with types. Then sine can be of type |
no, sorry, that's not what I meant. In supercollider, the bipolar versions have a 2 on the end, like |
Ok I think I prefer 2 and good to keep consistent with supercollider as well. I guess there's no specific function for conversion in supercollider, as (sig+1)/2 is so easy? |
Oh and yes tidal could just always send |
(We've gone through this before elsewhere including in #36 but would be good to tackle it with #190 in mind)
A couple of problems in one
pan
currently is in the range 0 to 1, rather than the more standard and useful -1 to 1.To solve just the first problem, we could add
pan0
for the 0 .. 1 range.To solve both problems, in addition in stereo mode 0.25 is left, 0.75 is right. 0.5, 1 and 0 would all be centre. 0.5 .. 0.75 would then be the same as 1 .. 0.75.
In multichannel mode 0.25 and 0.75 would also be left and right, but 0.5 would be front and 0 and 1 would be rear.
(I might be mixing up left/right and front/rear, I'm not too bothered about where they go :) )
(not sure what to call a -1 .. 1 signal. I thought it was a 'bipolar' signal but looking it up that seems to be one in a binary state)
I've already made sine0, tri0 etc in tidal to support the -1 .. 1 range.
The text was updated successfully, but these errors were encountered: