Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lokki

Pages: 1 [2] 3 4 ... 8
16
PreenFM2 / Re: Thoughts about operator tuning
« on: August 16, 2017, 12:04:27 AM »
actually that makes sense, it is more trivial then the change i tried to do with midi-offset.

but then again, i will first try and then say how easy it was :-)

17
PreenFM2 / Re: global tune, midi-offset for presets and more...
« on: August 15, 2017, 08:20:36 PM »
haha, this seems to be all way over my head... globaltune does not work on the preenfm when i test it now. if i set it to a constant offest value it works. i took a different approach and added a globalTune float variable in osc.cpp and changed the line (and all others that should be affected):

oscState->mainFrequency = frequencyToUse[note]  * oscillator->frequencyMul * (1.0f + oscillator->detune * .05f);

to

oscState->mainFrequency = frequencyToUse[note] *  globalTune * oscillator->frequencyMul * (1.0f + oscillator->detune * .05f);

if i set globalTune = 4.0f in the osc init function it works as expected, everything is tuned higher.

however i tried (naively i think) to access the global_tune menu entry (that i defined in menu.h and menu.cpp) like this:

this->synthState->fullState.midiConfigValue[MIDICONFIG_GLOBAL_TUNE]  and i did something like this:

globalTune = (4400.0f + (this->synthState->fullState.midiConfigValue[MIDICONFIG_GLOBAL_TUNE]  - 50)) / 4400.f  (globaltune is defined from 0 to 126 with 50 as 440hz. this should give me 0.1 resolution on the frequency from 435 to 447.6.

this does just not do anything.

even setting

globalTune = this->synthState->fullState.midiConfigValue[MIDICONFIG_GLOBAL_TUNE]

does not do anything, and that should yield extreme results.

so it seems that my variable access to globaltune is somehow wrong, or the value is not set at all.

menu.cpp entry looks like this:

 {
                "Glb Tune: ",
                "globaltune",
                127,
                0
        },



in other words, i have no idea what i am doing and i am sorry to waste so much of your time. :-(

18
PreenFM2 / Re: Thoughts about operator tuning
« on: August 15, 2017, 12:58:18 AM »
the actual mod to Osc.cpp is very trivial indeed. the hard part (for me) is the UI, i don't understand how variables are named or even if they are created when i add a new parameterRow...

well i'm a noob, sorry...

19
PreenFM2 / Re: global tune, midi-offset for presets and more...
« on: August 15, 2017, 12:54:16 AM »
thanks for the heads up. i think i did global tune! have to check tomorrow with the unit. while i was at it, i also tried the midi-offset thing i described. i added another parameterrowengine for the midi offset and it compiles fine. so the ui part should work. i'm not sure how to get a variable from my new entry though. where is for example oscillator->detune (used in Osc.cpp) defined? i don't see how the detune menu affects this variable (or where). 

sorry for the maybe silly questions.

20
PreenFM2 / Re: global tune, midi-offset for presets and more...
« on: August 14, 2017, 02:53:19 PM »
for preset based midi offset the main question is where to put it in the menu...from there again it would only be an offset added to midinote...

it should go after the filter type in the engine menu i think. so i have to search for it in the code... :-)

21
PreenFM2 / Re: global tune, midi-offset for presets and more...
« on: August 14, 2017, 11:02:52 AM »
i see now, that there is a possibility to adjust tuning when you use a scala file.

still think that a global tune based on a=440 would be very useful.

22
PreenFM2 / global tune, midi-offset for presets and more...
« on: August 13, 2017, 11:08:14 PM »
some suggestions:

-it would be great to have a global tuning setting, something like 435 to 448 in the global menu that tunes the preenfm to a reference a. nowadays more and more music is 442.
-a preset based midi offset would be great, in the range of -24 to +24 halftones (-+ 2 octaves). this is a feature found on many hardware synths, and would be very handy.

-i added cc3 to the matrix source, easy enough. but i thought it could be nice to have a user_cc value that you can set in the global menu and that will then be available in the modmatrix. that way everybody can define an individual cc for modulation, again very handy. i tried to implement this, but failed :-(

i would attempt the first two, but would need some ideas as to where the midi to frequency is happening in the code, global-tune would just be a constant fractional value added to the midi note.

for preset based midi offset the main question is where to put it in the menu...from there again it would only be an offset added to midinote...

23
PreenFM2 / simply great
« on: August 12, 2017, 07:30:38 PM »
hi xavier,

i spent today a lot of time with the preenfm and the sounds i get out of it (for experimental music) are just mind-blowing! thanks for that very nice synth!!

24
PreenFM2 / Re: Screen problem
« on: August 12, 2017, 06:34:01 PM »
ok, i hope it stays that way.

maybe my assumption with the vibrations causing the glitch were not so wrong :-)


25
PreenFM2 / Re: Thoughts about operator tuning
« on: August 12, 2017, 01:06:10 AM »
this is an old topic, but i would like to see this implemented as well!

26
PreenFM2 / Re: Screen problem
« on: August 11, 2017, 02:01:50 PM »
if you have it opened, i would also check if the mod to remove the high pitched noise is already done. it's an easy thing to do, and in my case it made the screen garbling with MacBook air disappear because the oled used now a little less current.


27
PreenFM2 / Re: Screen problem
« on: August 10, 2017, 09:52:49 PM »
how do you power it? from usb or wall wart? i had issues with some usb connectors on my MacBook air not outputting enough current. this gave me a garbled oled output as well.


28
PreenFM2 / 2 filters in parallel
« on: August 08, 2017, 11:18:05 PM »
hi xavier,

would it be possible (codesizewise) to have two filters in parallel (not serial) at the output stage? the second one could just be fixed to bandpass mode. if you set first filter to lowpass and second to bandpass you can get formant vowel sounds, which work well with fm sounds.

29
PreenFM2 / Re: Screen problem
« on: August 05, 2017, 02:36:22 PM »
does the synth still produce sound, work as expected (apart from the display issue)?

maybe one of the display solderpoints has come loose. did you solder the synth yourself?
was there some heavy vibration from your jam going on?

just some ideas.

you can also attach a photo of the display here, it might help to identify the issue.

30
PreenFM2 / Re: midi channel for combo program change
« on: August 04, 2017, 05:36:21 PM »
yeah, it's main use case is to make the preenfm compatible with more modern midi instruments, like the linnstrument etc. these use the new mpe midi standard where general modulation is sent on channel one and channel 2-16 are used for the voices (notes) and specific modulation.

check here: http://expressiveness.org/2015/04/24/midi-specifications-for-multidimensional-polyphonic-expression-mpe

Pages: 1 [2] 3 4 ... 8