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 ... 13 14 [15] 16 17 ... 26
211
preenfm2 and preenfm3 / Re: midi offset
« on: December 26, 2017, 10:29:14 PM »
ok, globaltune is next :-)

i thought i could do it in the same place in osc.h where the matrix stuff is done and tried this:

(line 57)
Code: [Select]
oscState->mainFrequencyPlusMatrix +=  (oscState->mainFrequency  * (matrix->getDestination(destFreq) + matrix->getDestination(ALL_OSC_FREQ)) * .1f) * ((435.0 + (this->synthState->fullState.midiConfigValue[MIDICONFIG_GLOBAL_TUNE] / 2.0)) / 440.0);
    }

this->synthState->fullState.midiConfigValue[MIDICONFIG_GLOBAL_TUNE] is a value i added in the global menu ranging from 435 to 444 in 0.5 steps. so this makes 19 possible values with 440.0 represented by value 10.

this is the code in menu.cpp

Code: [Select]
const char* tuneSteps[] = {"435.0", "435.5", "436.0", "436.5", "437.0", "437.5", "438.0", "438.5", "439.0", "439.5", "440.0", "440.5", "441.0", "441.5", "442.0","442.5", "443.0", "443.5", "444.0", };

the code compiles fine, modulating the pitch with the matrix still works as expected but adjusting the value in the global menu has no effect. do you see any obvious errors? why does  "this->synthState->fullState.midiConfigValue[MIDICONFIG_GLOBAL_TUNE] "  not get updated?

212
preenfm2 and preenfm3 / Re: midi offset
« on: December 23, 2017, 04:55:11 PM »
ok, i couldn't resist and had a spare two minutes :-)

it works very well with a value of 10.0. this gives me three octaves higher at 7.0 and at -8.0 :-) so yes negative values just get mirrored after -1.0... and one or two octaves lower are still possible with -0.5 and -0.75. three octaves lower is not precise anymore but that is ok for me. (i don't need it)

nice and thanks for your idea and support, really appreciated.

213
preenfm2 and preenfm3 / Re: midi offset
« on: December 23, 2017, 04:39:42 PM »
thanks for that. will try it after christmas :-)

i think 1 2 4 8 makes no sense, since you add 1 in the formula for the freq calc.
so better to just use 10.0 for example. gives a big range and some undocumented behaviour below -1.0 :) let's see what happens.


214
preenfm2 and preenfm3 / Re: midi offset
« on: December 23, 2017, 12:08:15 AM »
hi xavier,

ok almost there. i added a cnst menu entry and it is showed in the matrix source menu. can you tell me where and how i should declare the constant value? i cannot set it in the enum directly it seems.


215
preenfm2 and preenfm3 / Re: midi offset
« on: December 22, 2017, 08:39:21 PM »
thanks xavier, that works!

i'm losing lfo1 of course but it should be easy enough to code in a constant as matrix source, will give this a go. might even be useful for other things.
thanks for the idea, obvious now that i think about it :-)


216
preenfm2 and preenfm3 / midi offset and EDIT: globaltune...
« on: December 22, 2017, 12:54:31 PM »
hi xavier, i know i brought this up before in different contexts. do you see any chance of including a midi offset to a specific timbre?

it would be super useful for live playing, since one can then centre the patches in the right octave instantly on program change, without the need to fiddle with the octave switch on a keyboard or similar. it would also allow to play multiple timbres with one controller by simply changing midi channel without touching the octave button.

the ideal way would be an offset that is adjustable by +-48 semitones, but even just the possibility to change octaves (say +-3) would be great.

i don't see a way to add this without changing the preset files. if it would be added to the combo files, that would be perfect, but adding another page in the instrument menu seems out of the question for you.

thanks for considering,

have a great christmas time


217
well the way it arrived the part (voltage regulator) was broken, it got hot and did output 2.05v instead of 5v. see this site, if you are interested: http://ixox.fr/preenfm2/build-it/thebuild/ (search for regulator).

well it could be that the part was broken from the beginning or that there was a wall wart with bad polarity inserted at one point, that made it break. i don't know. if it was like this from the beginning it would be a little strange since they should test this before sending the synth to you...

218
just as a follow up:

the voltage regulator (7805) was bogus, it only outputted 2.05 v and got very hot... replaced that and the preenfm is alive with wall wart! since this was a revC board i also did the oled modifications and added a shield to reduce the high frequency noise...

so now i have two preen fm's , nice!

merry christmas to everybody else as well :-)

219
hi, i'm interested.

would this be the metal case from here? http://vandaal-electronics.com/enclosures/

also, what would shipping to switzerland cost? does not have to be quick...

cheers

220
preenfm2 and preenfm3 / Re: (compatibility?) questions
« on: December 01, 2017, 02:10:01 PM »
simply get a powerpack that you normally use to charge smartphones etc. connect via usb to the preenfm and you should be portable. i have no idea how long the battery will last though :-)

221
preenfm2 and preenfm3 / Re: Yellow OLED : high frequency solution
« on: November 27, 2017, 09:00:00 PM »
yes, that would be ok.

222
preenfm2 and preenfm3 / Re: PreenFM2 SMD version
« on: November 24, 2017, 10:47:49 PM »
one question, when one would want to build this, without smd soldering experience, would you sell preassembled boards with the stm32's on and burned firmware for the stm32f1? or what is the plan?

I might sell 1-3 of the 5 units I'll build presuming everything works fine and I haven't made any mistakes but don't count on me for getting into manufacturing these units.

People are soldering SMD parts all the time, it's not an impossible task. These are actually easy to solder SMD packages.
My only goal is to make this SMD version work and then publish all the files and firmware modifications so anyone can build them (or even start selling pre-soldered kits if they want to) .

ok, well if this works out ok, count me in!

223
preenfm2 and preenfm3 / Re: PreenFM2 SMD version
« on: November 24, 2017, 10:51:01 AM »
great! please post all updates...
one question, when one would want to build this, without smd soldering experience, would you sell preassembled boards with the stm32's on and burned firmware for the stm32f1? or what is the plan?

cheers

224
preenfm2 and preenfm3 / Re: PreenFM2 SMD version
« on: November 23, 2017, 09:00:18 AM »
since a lot of cpu will be saved by the extra controller that handles encoder etc. 44.1khz seems doable...

225
preenfm2 and preenfm3 / Re: Latest firmware : 2.08a
« on: November 21, 2017, 08:51:14 AM »
yeah i could live with that :) with 8timbres, i have everything i could wish for...

so the question remains how and where one could implement that transpose/offset? i think the combo preset would be a better place then the sound preset, because one may want to use the same sound in different combos. otoh if it is easier to implement in the sound presets, than that is ok as well. might as well save two versions of the same sound with different offset/transpose settings. but i think xavier is hesitant to change the preset file structure, because it will "break" all existing patches. so it should be easier to do in the combo file..

Pages: 1 ... 13 14 [15] 16 17 ... 26