-
-
Notifications
You must be signed in to change notification settings - Fork 260
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
backport from #1055 and #1012 #1101
Conversation
Tagging @patrickt |
Agreed that it should be scaled to the 0..1 range. Saying that, in the 2.0 branch I did start organising things so all the signals had a Tidal/src/Sound/Tidal/Signal/Waveform.hs Lines 32 to 37 in 2263c2e
Also looking at the |
I'll further investigate the scaling issues and take a look at the bipolar implementation in the tidal 2 branch. Looks interesting! |
It looks like the bipolar version is already in the dev branch: Lines 69 to 79 in d05c3b2
|
Oops, sorry for the distraction! |
These now look way more like normal distributed values:
Do you think this can be merged now or do you have a testing method in mind for this? I calculated the mean outside Tidal and got values very close to 0.5f. |
…rmal [0,1] value range
Looks good! I'm not sure exactly what's going on, but it's probably a good idea to change |
You should have access now to merge when ready |
backported from: #1055
As the title says + testing :)
I just wonder what happens when shifting time:
Is it correct that values are not clamped between 0 and 1 anymore even with
rand
-- or are these values normalized internally then?