If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Oscillator keytrack?
7 posts
• Page 1 of 1
Oscillator keytrack?
Hi everyone,
I am trying to figure how to add keytrack to and oscillator. So far I've tried multiplying the Frequency from the Midi to Poly module together with a knob with a 0-1 value, but it pitches the whole coarse of the oscillator. I have attached a simple schematic of an oscillator setup to show what I mean!
I am trying to figure how to add keytrack to and oscillator. So far I've tried multiplying the Frequency from the Midi to Poly module together with a knob with a 0-1 value, but it pitches the whole coarse of the oscillator. I have attached a simple schematic of an oscillator setup to show what I mean!
- Attachments
-
- Schematic1.fsm
- (19.86 KiB) Downloaded 889 times
- shrunkyq
- Posts: 15
- Joined: Fri Aug 17, 2018 9:21 pm
Re: Oscillator keytrack?
Unfortunately I can’t open your schematic.
What version of FS are you using?
It should be in version 3, ideally 3.06 which is recommended. If it’s the 3.09 beta 2 version from this DSPR site then it’s full of bugs and you won’t get any help on the forum. If you wish to post a schematic from a different version please say in the post which version it is because if someone tries to open it in 3.08.1 they get into a situation of getting permanent error boxes and have to close FS via Windows Task Manager, which is a pain.
Could you please explain what parameter you want to key-track? If you change the ratio of the freq 0-1 signal it will change the base tuning but the relative tuning will still be equal temperament. For example, if you divide the freq value by 2 (or multiply by 0.5 which is better) the whole pitch range will drop by 1 octave. So we need more info please…
What version of FS are you using?
It should be in version 3, ideally 3.06 which is recommended. If it’s the 3.09 beta 2 version from this DSPR site then it’s full of bugs and you won’t get any help on the forum. If you wish to post a schematic from a different version please say in the post which version it is because if someone tries to open it in 3.08.1 they get into a situation of getting permanent error boxes and have to close FS via Windows Task Manager, which is a pain.
Could you please explain what parameter you want to key-track? If you change the ratio of the freq 0-1 signal it will change the base tuning but the relative tuning will still be equal temperament. For example, if you divide the freq value by 2 (or multiply by 0.5 which is better) the whole pitch range will drop by 1 octave. So we need more info please…
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: Oscillator keytrack?
Hi Spogg,
Sorry I didn't know that I had to upload with an older version of Flowstone. I don't have the release version installed at the moment but here is a picture of the schematic since it is very basic.
https://ibb.co/qBYhGK2 (tried to use the Img when making the post, but the image was too large)
Basically I want to have a keytrack knob for the frequency that goes into the oscillators pitch. (So when the keytrack is at 0, you will only get one pitch and if you multiply it by 2 the notes will be more spread. So not equal temperament)
That is what I am trying to figure out, but turns out to be more of a headache for me than I thought
Sorry I didn't know that I had to upload with an older version of Flowstone. I don't have the release version installed at the moment but here is a picture of the schematic since it is very basic.
https://ibb.co/qBYhGK2 (tried to use the Img when making the post, but the image was too large)
Basically I want to have a keytrack knob for the frequency that goes into the oscillators pitch. (So when the keytrack is at 0, you will only get one pitch and if you multiply it by 2 the notes will be more spread. So not equal temperament)
That is what I am trying to figure out, but turns out to be more of a headache for me than I thought
Spogg wrote:Unfortunately I can’t open your schematic.
What version of FS are you using?
It should be in version 3, ideally 3.06 which is recommended. If it’s the 3.09 beta 2 version from this DSPR site then it’s full of bugs and you won’t get any help on the forum. If you wish to post a schematic from a different version please say in the post which version it is because if someone tries to open it in 3.08.1 they get into a situation of getting permanent error boxes and have to close FS via Windows Task Manager, which is a pain.
Could you please explain what parameter you want to key-track? If you change the ratio of the freq 0-1 signal it will change the base tuning but the relative tuning will still be equal temperament. For example, if you divide the freq value by 2 (or multiply by 0.5 which is better) the whole pitch range will drop by 1 octave. So we need more info please…
- shrunkyq
- Posts: 15
- Joined: Fri Aug 17, 2018 9:21 pm
Re: Oscillator keytrack?
Ok no probs. My post sounded a bit stern reading it back, but nothing personal intended.
What you describe is not dead simple but it’s achievable. I would suggest you take a reference midi note number (=pitch not frequency) as your knob’s zero setting, say 60 for middle C.
Then take the pitch output from the Voices module and subtract the reference note number. So your new pitch range will be -60 to 67 (instead of 0 to 127). The knob is then set to cross-fade (mix) between the new pitch value and the set pitch reference. This should be so that when the knob is at 1 the keyboard is properly tuned and any setting in between will give a compressed range. For example when the knob is at 0.5 middle C will play correctly but playing an octave higher will give you middle G, not the C an octave higher.
Finally the mix should be passed through a pitch to frequency converter and then to the oscillator. If you want to go from compressed to expanded I would multiply the midi pitch side by whatever factor suits. What you will be doing is subtracting or adding pitch-related values from the keyboard to the set reference pitch.
When I see this kind of question I always like to second-guess the project’s intention, so I’m going to take a punt on it being for tuned percussion where the pitch of the drum or whatever is spread across a wide keyboard span. Am I warm?
I hope that’ll point you in the right direction.
What you describe is not dead simple but it’s achievable. I would suggest you take a reference midi note number (=pitch not frequency) as your knob’s zero setting, say 60 for middle C.
Then take the pitch output from the Voices module and subtract the reference note number. So your new pitch range will be -60 to 67 (instead of 0 to 127). The knob is then set to cross-fade (mix) between the new pitch value and the set pitch reference. This should be so that when the knob is at 1 the keyboard is properly tuned and any setting in between will give a compressed range. For example when the knob is at 0.5 middle C will play correctly but playing an octave higher will give you middle G, not the C an octave higher.
Finally the mix should be passed through a pitch to frequency converter and then to the oscillator. If you want to go from compressed to expanded I would multiply the midi pitch side by whatever factor suits. What you will be doing is subtracting or adding pitch-related values from the keyboard to the set reference pitch.
When I see this kind of question I always like to second-guess the project’s intention, so I’m going to take a punt on it being for tuned percussion where the pitch of the drum or whatever is spread across a wide keyboard span. Am I warm?
I hope that’ll point you in the right direction.
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: Oscillator keytrack?
Here is how you can do osc keytrack. You can change the -60 to what you want the default pitch to be when the keytrack is 0. You can also change the knob range to go higher than 1.
- Attachments
-
- osc_keytrack.fsm
- (12.73 KiB) Downloaded 876 times
- adamszabo
- Posts: 667
- Joined: Sun Jul 11, 2010 7:21 am
Re: Oscillator keytrack?
Thanks! It's actually going to be a standard synthesizer with 4 Oscillators and a sample player with individual filters etc
Spogg wrote:Ok no probs. My post sounded a bit stern reading it back, but nothing personal intended.
What you describe is not dead simple but it’s achievable. I would suggest you take a reference midi note number (=pitch not frequency) as your knob’s zero setting, say 60 for middle C.
Then take the pitch output from the Voices module and subtract the reference note number. So your new pitch range will be -60 to 67 (instead of 0 to 127). The knob is then set to cross-fade (mix) between the new pitch value and the set pitch reference. This should be so that when the knob is at 1 the keyboard is properly tuned and any setting in between will give a compressed range. For example when the knob is at 0.5 middle C will play correctly but playing an octave higher will give you middle G, not the C an octave higher.
Finally the mix should be passed through a pitch to frequency converter and then to the oscillator. If you want to go from compressed to expanded I would multiply the midi pitch side by whatever factor suits. What you will be doing is subtracting or adding pitch-related values from the keyboard to the set reference pitch.
When I see this kind of question I always like to second-guess the project’s intention, so I’m going to take a punt on it being for tuned percussion where the pitch of the drum or whatever is spread across a wide keyboard span. Am I warm?
I hope that’ll point you in the right direction.
- shrunkyq
- Posts: 15
- Joined: Fri Aug 17, 2018 9:21 pm
Re: Oscillator keytrack?
Genious mate, thank you!
adamszabo wrote:Here is how you can do osc keytrack. You can change the -60 to what you want the default pitch to be when the keytrack is 0. You can also change the knob range to go higher than 1.
- shrunkyq
- Posts: 15
- Joined: Fri Aug 17, 2018 9:21 pm
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 70 guests