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 ... 14
PreenFM2 / Re: Problem starting PreenFM2
« on: January 09, 2018, 11:36:20 AM »
ok. the usb-stick directly on the pc works? how did you format it? /pfm2/ directory created? (just pointing out the obvious)

PreenFM2 / Re: PreenFM2 stopped working..
« on: January 09, 2018, 11:34:17 AM »
most likely your usb-stick is bogus... try reformatting it or if this does not help, try another usb stick. from the faq:

My PreenFM does not boot (display full of square)

If it's stuck with the display full of square, the PreenFM2 cannot read your Usb Stick.
Be sure "/pfm2/" directory exists.
Try to reformat your USB stick and reinstall /pfm2/ on it (yes it was sufficient to several people).
If still no success, try an other stick. <=4Gb are more likely to work.

PreenFM2 / Re: PreenFM2 stopped working..
« on: January 08, 2018, 11:13:06 PM »
also, does the display look normal? you can edit a sound etc..?

PreenFM2 / Re: PreenFM2 stopped working..
« on: January 08, 2018, 10:45:54 PM »
try only pluggin in the headphones after startup. also try not to insert the stereocable fully, leave it a little out so that both channels connect to the mono output (you will get sound on both headphones)

i remember having this problem also sometimes when i had the headphones fully plugged in (could not find a pattern)

PreenFM2 / Re: Problem starting PreenFM2
« on: January 08, 2018, 09:36:21 PM »
what happens when you are in bootloader mode and access the usb stick via pc/mac? is the stick recognized by the pc/mac? can you move/delete/create files/folders?

what do you see on normal startup on the display? where does it freeze?

PreenFM2 / Re: custom extended firmware
« on: January 07, 2018, 11:10:19 PM »
and here is the "standard" firmware with all the additions mentioned in the above post. have fun!

PreenFM2 / Re: custom extended firmware
« on: January 07, 2018, 05:02:06 PM »
here is a new extended firmware with the following additions

this is the 8timbres version (8 mono instruments), not the normal 4timbres version. a 4timbres version will follow.


*global tune:
tune your preenfm reference a from 435 to 444 hz, finally you can play with classical musicians :-)

*constant value as modsource: a constant value as modsource allows you to offset any moddestination. i use it to offset some instruments by one or two octaves...

still in this firmware, as seen before :-)

usercc: choose a midi cc from 0 to 126 and use it as a modsource
program change mod: choose what program change does on the preenfm: preset change, combochange, dx7 bank...

PreenFM2 / Re: custom extended firmware
« on: January 06, 2018, 10:59:20 AM »
see here:

 (since 2.08 changelog is on GitHub)

PreenFM2 / Re: midi offset and EDIT: globaltune...
« on: January 06, 2018, 09:49:09 AM »

how do i check if i have global tune selected in the menu?

so that i don't call the Osc::tune function all the time when i am in the menu.

in other words i'm trying to do something like this:

Code: [Select]
if (selectedMenu == MIDICONFIG_GLOBAL_TUNE) {

i don't fully understand because the place you gave me in code (line 1029 in SynthState.cpp) is for encoder 3 (the one i am turning to adjust the value) how do i check the position of the first encoder? (since i assume this corresponds to MIDIONFIG_GLOBAL_TUNE) hmm...

EDIT: to clarify, a version without the if-statement works perfectly well, but i thought it is bad practice to call the function even when other settings are changed...

PreenFM2 / Re: custom extended firmware
« on: January 06, 2018, 08:27:26 AM »
hi stelpa,

what features were you hoping for?

global midi channel and hertz mode already are in 2.08.

program change mod would be easy to readd, EDIT: a quick try with usercc failed since xavier changed somethings in that regard...
USERCC is readded, easy enough :-)
that being said, i'm working on some new extensions, currently on the 8timbres branch. will be easy to remerge into the standard firmware.

features coming:

-global tune (tune the preenfm from 435 to 444 hertz)
-constant value for the matrix which enables you to transpose instruments by applying a constant to o*fq...
-program change mod is still there :-)

PreenFM2 / Re: waveforms
« on: January 03, 2018, 05:58:28 PM »
old thread i know...

so is the procedure the same with the newer firmware (i want to try to add more than 6 new waves)? do i add to waves.c?
waves2.c is not needed, right? i can compile the firmware even if i rename/move this file. also no need to edit, right?


EDIT: nevermind i figured it out. but i overflowed ram by adding all the tables i wanted :-) hehe.

PreenFM2 / Re: Reverb Algorithms
« on: January 03, 2018, 10:07:18 AM »
i think comb filters are what is used in the freeverb as well. one will not do, since it sounds metallic...freeverb uses 4 i think...

PreenFM2 / Re: midi offset
« on: January 02, 2018, 08:34:57 PM »
hi xavier,

i tried moving the usb initialization up before the osc init but it makes no difference. but also no freezes :-)

i then tried with your static void suggestion in osc.cpp and it works! (well partially)


Code: [Select]
void Osc::tune( int tuneconfig) {
float  tuneFactor[] = {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} ;
float frecAdjust = tuneFactor[tuneconfig] / 440.0f;

 for (int k=0; k<127; k++) {
midiNoteTunedFrequency[k]= frequency[k] * frecAdjust;
   // Set frequencyToUse  to frequency (no Scala scale defined)
        frequencyToUse = midiNoteTunedFrequency;

and the corresponding declaration in the public section in osc.h i have globaltune working after reboot! yehaa! i put a call to Osc::tune in preenFM.cpp at line 145 as you suggested.

i also tried to intercept when a new value is changed in synthstate.cpp like this:

Code: [Select]
   if (fullState.midiConfigValue[fullState.menuSelect] == MIDICONFIG_GLOBAL_TUNE) {

but i get no realtime change. maybe i am using the variable addressing wrongly? (this is the part where i am still confused,hehe) or line 1029 is not the right place?

EDIT: it is the right place, because tuning is actually changing once i am in the menu and adjust globaltune. the only problem is it is a fixed value it changes to, i'm guessing the array nr. that represents MIDICONFIG_GLOBAL_TUNE and not the actual value i am changing...

anyhow, this is already a huge step forward, so thanks heaps for your help!!

PreenFM2 / Re: modsource idea (SOLVED)
« on: December 29, 2017, 03:56:34 PM »
right  8)

PreenFM2 / Re: midi offset
« on: December 29, 2017, 03:55:55 PM »
thanks, i saw it. i'm abroad playing for a few days, will report back when i get a chance to try it out. cheers

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