ArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2017-06-21T23:37:52+02:00 https://brainmodular.org/forums/app.php/feed/topic/5748 2017-06-21T23:37:52+02:00 2017-06-21T23:37:52+02:00 https://brainmodular.org/forums/viewtopic.php?t=5748&p=37091#p37091 <![CDATA[Autopitch formula to fit sample to time/tempo of project (NOT Grain)]]>
Best,
tL.

Statistics: Posted by lytz1 — 21 Jun 2017, 23:37


]]>
2017-06-21T12:11:22+02:00 2017-06-21T12:11:22+02:00 https://brainmodular.org/forums/viewtopic.php?t=5748&p=37090#p37090 <![CDATA[Autopitch formula to fit sample to time/tempo of project (NOT Grain)]]>
do you know why the output always gives TWO values? (The output after the last divider alternates
between a positive and a negative one.)
Does not happen here

I did some mods :
it is log10(x) module to use, not ln(x)

you can use bar length or cycle length as you prefer

adding a sync

Image

Statistics: Posted by oli_lab — 21 Jun 2017, 12:11


]]>
2017-06-20T22:08:24+02:00 2017-06-20T22:08:24+02:00 https://brainmodular.org/forums/viewtopic.php?t=5748&p=37089#p37089 <![CDATA[Autopitch formula to fit sample to time/tempo of project (NOT Grain)]]>
looks good so far, I just need to get it in sync somehow.

Also, do you know why the output always gives TWO values? (The output after the last divider alternates
between a positive and a negative one.)

Best,
tL.

Statistics: Posted by lytz1 — 20 Jun 2017, 22:08


]]>
2017-06-20T11:31:15+02:00 2017-06-20T11:31:15+02:00 https://brainmodular.org/forums/viewtopic.php?t=5748&p=37087#p37087 <![CDATA[Autopitch formula to fit sample to time/tempo of project (NOT Grain)]]> http://www.sensomusic.com/forums/upload ... 0pitch.pat

tell us how it goes !

cheers

Statistics: Posted by oli_lab — 20 Jun 2017, 11:31


]]>
2017-06-20T02:16:59+02:00 2017-06-20T02:16:59+02:00 https://brainmodular.org/forums/viewtopic.php?t=5748&p=37086#p37086 <![CDATA[Autopitch formula to fit sample to time/tempo of project (NOT Grain)]]> Audiomulch can do this automatically so I guess there HAS to be a way to do this in HH as well. Would save me a lot of time.

(I want the pitch to change when changing tempo, I can't use timestretch/grain for what I have to do. In one case, for example, I need the sampler to play half-tempo of project-tempo resulting in playing back the loop an octave down.)


See below: Senso wrote this in 2006. I think this is exactly what I need but I have no idea how to patch this, because of the (...)'s.

Anyone an idea?

Thanks guys,
tL.


SENSO:
I think that the question could be asked like:

I have a sample with a length (let's say length_ini);
What pitch should I play this sample to fit to another length, for example the cycle length (let's say length_final).

The pitch can be calculated with:

Pitch = 12*LN(Length_ini/length_final)/LN(2)

LN=Logarithm
You can use the Math/Trunc module to get a rounded pitch if you need it.

In the User Library you can find a patch called "Sampler Adapt Pitch" witch does this kind of stuff.

Statistics: Posted by lytz1 — 20 Jun 2017, 02:16


]]>
BrainModular BrainModular Users Forum 2017-06-21T23:37:52+02:00 https://brainmodular.org/forums/app.php/feed/topic/5748 2017-06-21T23:37:52+02:00 2017-06-21T23:37:52+02:00 https://brainmodular.org/forums/viewtopic.php?t=5748&p=37091#p37091 <![CDATA[Autopitch formula to fit sample to time/tempo of project (NOT Grain)]]>
Best,
tL.

Statistics: Posted by lytz1 — 21 Jun 2017, 23:37


]]>
2017-06-21T12:11:22+02:00 2017-06-21T12:11:22+02:00 https://brainmodular.org/forums/viewtopic.php?t=5748&p=37090#p37090 <![CDATA[Autopitch formula to fit sample to time/tempo of project (NOT Grain)]]>
do you know why the output always gives TWO values? (The output after the last divider alternates
between a positive and a negative one.)
Does not happen here

I did some mods :
it is log10(x) module to use, not ln(x)

you can use bar length or cycle length as you prefer

adding a sync

Image

Statistics: Posted by oli_lab — 21 Jun 2017, 12:11


]]>
2017-06-20T22:08:24+02:00 2017-06-20T22:08:24+02:00 https://brainmodular.org/forums/viewtopic.php?t=5748&p=37089#p37089 <![CDATA[Autopitch formula to fit sample to time/tempo of project (NOT Grain)]]>
looks good so far, I just need to get it in sync somehow.

Also, do you know why the output always gives TWO values? (The output after the last divider alternates
between a positive and a negative one.)

Best,
tL.

Statistics: Posted by lytz1 — 20 Jun 2017, 22:08


]]>
2017-06-20T11:31:15+02:00 2017-06-20T11:31:15+02:00 https://brainmodular.org/forums/viewtopic.php?t=5748&p=37087#p37087 <![CDATA[Autopitch formula to fit sample to time/tempo of project (NOT Grain)]]> http://www.sensomusic.com/forums/upload ... 0pitch.pat

tell us how it goes !

cheers

Statistics: Posted by oli_lab — 20 Jun 2017, 11:31


]]>
2017-06-20T02:16:59+02:00 2017-06-20T02:16:59+02:00 https://brainmodular.org/forums/viewtopic.php?t=5748&p=37086#p37086 <![CDATA[Autopitch formula to fit sample to time/tempo of project (NOT Grain)]]> Audiomulch can do this automatically so I guess there HAS to be a way to do this in HH as well. Would save me a lot of time.

(I want the pitch to change when changing tempo, I can't use timestretch/grain for what I have to do. In one case, for example, I need the sampler to play half-tempo of project-tempo resulting in playing back the loop an octave down.)


See below: Senso wrote this in 2006. I think this is exactly what I need but I have no idea how to patch this, because of the (...)'s.

Anyone an idea?

Thanks guys,
tL.


SENSO:
I think that the question could be asked like:

I have a sample with a length (let's say length_ini);
What pitch should I play this sample to fit to another length, for example the cycle length (let's say length_final).

The pitch can be calculated with:

Pitch = 12*LN(Length_ini/length_final)/LN(2)

LN=Logarithm
You can use the Math/Trunc module to get a rounded pitch if you need it.

In the User Library you can find a patch called "Sampler Adapt Pitch" witch does this kind of stuff.

Statistics: Posted by lytz1 — 20 Jun 2017, 02:16


]]>