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.


Topics - lokki

Pages: [1] 2
1
preenfm2 and preenfm3 / preenfm3 sd card error
« on: October 18, 2020, 09:37:54 AM »
hi xavier,

i flashed the firmware successfully.

unfortunately my LCD was a different kind of pcb, but still 2.8''. the holes for the sdcard-reader don't align. i bent some headers and soldered it, but maybe something is wrong...it is also possible the reader does not work on the PCB, it is a cheap chinese LCD. the screen itself works flawless.

now,
-when i boot up without an sdcard inserted i get a: SD CARD ERROR after which the preenfm3 boots successfully.
-when i insert a sdcard at boot up, the screen just stays black. if i then unplug the sdcard, the screen goes white
-when i insert a sdcard after boot up the screen goes black. when i remove it the screen goes white.

does that indicate anything?

if i would attach a separate sdcard reader module, i need the four connections and 3.3v and gnd?


2
preenfm2 and preenfm3 / [Solved] preenfm3 bootloader flashing problem OSX
« on: October 17, 2020, 04:56:03 PM »
hi there when i try to flash the bootloader i get this on osx:

Code: [Select]
XXXX:pfm3_firmware_0.91 lokki$ dfu-util -a0 -d 0×0483:0xdf11 -D p3_boot_1.01.bin -R -s 0×8000000
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 1024
dfu-util: Invalid dfuse address: 0×8000000

if i do dfu-util -l i get:

Code: [Select]
xxxxxx:pfm3_firmware_0.91 lokki$ dfu-util -l
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Found DFU: [0483:df11] ver=0200, devnum=9, cfg=1, intf=0, path="20-2", alt=1, name="@Option Bytes   /0x5200201C/01*128 e", serial="200364500000"
Found DFU: [0483:df11] ver=0200, devnum=9, cfg=1, intf=0, path="20-2", alt=0, name="@Internal Flash   /0x08000000/16*128Kg", serial="200364500000"
xxxx:pfm3_firmware_0.91 lokki$

so are the docs wrong or is something strange with my preenfm3? i just don't want to mess anything up :-)

3
preenfm2 and preenfm3 / dfu mode linux error
« on: May 29, 2018, 10:19:56 AM »
hi xavier,

on one of my preenfm2 (i have 2) i can no longer upgrade the firmware via dfu mode, i get this error:

Code: [Select]
lokki@linuxmint ~/preenfm2-8monocurrent $ make installdfuo
dfu-util -a0 -d 0x0483:0xdf11 -D build/p2t8_208bo.bin -s 0x8040000
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Deducing device DFU version from functional descriptor length
Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuDNLOAD-IDLE, status = 0
aborting previous incomplete transfer
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash  "
Downloading to address = 0x08040000, size = 412860
Download [                         ]   0%            0 bytesdfu-util: Error during special command "ERASE_PAGE" get_status
Makefile:209: recipe for target 'installdfuo' failed
make: *** [installdfuo] Error 74


and sometimes:

Code: [Select]
lokki@linuxmint ~/preenfm2-8monocurrent $ make installdfuo
dfu-util -a0 -d 0x0483:0xdf11 -D build/p2t8_208bo.bin -s 0x8040000
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Deducing device DFU version from functional descriptor length
Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: dfu-util: error get_status
Makefile:209: recipe for target 'installdfuo' failed
make: *** [installdfuo] Error 74

or even:

Code: [Select]
make installdfuo
dfu-util -a0 -d 0x0483:0xdf11 -D build/p2t8_208bo.bin -s 0x8040000
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Deducing device DFU version from functional descriptor length
dfu-util: Cannot open DFU device 0483:df11
dfu-util: No DFU capable USB device available
Makefile:209: recipe for target 'installdfuo' failed
make: *** [installdfuo] Error 74

however lsusb shows:

Code: [Select]
Bus 001 Device 013: ID 0483:df11 STMicroelectronics STM Device in DFU Mode

which seems to indicate dfu mode is working on the preenfm side. the other preenfm updates the firmware without a problem on the exact same linux installation, same usb port and cable...

any hints on this?


4
preenfm2 and preenfm3 / pwm
« on: January 29, 2018, 12:35:11 AM »
hi there,

i thought about extending the 2048 point square wave to add another 1024 points of "low" so that i could then change the onset (first value to be read from the array when used in an oscillator) via a matrix source. this would allow a pwm effect when square wave is selected, which can be a VERY interesting sound. it is like a speaking synth :-) (at least when i try this on the blofeld, but maybe it only works in pm synths, not true fm)

looking at the square table it is no strict 1 and 0 based square wave, it is somewhat antialiased i think.

could this be feasible?

5
preenfm2 and preenfm3 / new matrix destination
« on: January 18, 2018, 03:17:08 PM »
hi xavier,

before i dive into it, is it feasible to add another matrix destination? i would like to control the release part of a sound, so i would like to adjust all the release parameters with breathcc for example.

6
preenfm2 and preenfm3 / modsource idea (SOLVED)
« on: December 27, 2017, 11:40:12 PM »
hi all,

what about a random modsource that gets updated only when a new note is played?

usecases:

-add a very small amount to o*Fq to get slightly detuned notes for a more natural feeling
-filter cutoff variation on noteon
-pan randomly each note

or is this already possible and i'm missing how to do this?
EDIT: is lfo1 random set to frequency 0.00 the solution?
EDIT2: YES, that works, wohoo, nice!

cheers

7
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


8
preenfm2 and preenfm3 / synth from arduino uno
« on: October 19, 2017, 11:05:33 PM »
hi there,

i made a little synth on an arduino uno. based on the auduino, but heavily extended and changed.

might be of interest to some here:

https://github.com/lokkiikkol/auduinosynth

9
preenfm2 and preenfm3 / custom extended firmware
« on: September 09, 2017, 11:32:17 AM »
hi there,

i am hacking the firmware quite a bit lately and have made a github fork to save my work.

find it here if you are interested:

https://github.com/lokkiikkol/preenfm2

the changes as of now are:

*hertz mode: in the oscillator settings, changes detune to hertz increment instead of cent, beating stays the same over whole range of the instrument.

*global midi channel: if enabled midi coming in to this channel will be sent to all four channels. useful for mpe instruments mainly.

*program change modes: enhances the program change options in the settings, off and cc are the old no and yes, bank combo and dx7a and b ignore banknumber messages and switch the choosen mode via program change. (banknumber lsb cc32 can still be used to choose bank number)

*usercc: set a cc number in the global menu (anything from 0 to 126) and choose that as a matrix source. be aware that there are many cc's taken for other things on the preenfm2, so best to check first if your desired cc is free.


i will try to keep this post updated with the latest info, and hope to continue to work a little on the firmware.

EDIT:xavier, i'm not sure if i should post a binary here in the forum, what do you think?

firmware is attached

10
preenfm2 and preenfm3 / midi offset etc, combo mode idea
« on: August 21, 2017, 02:41:47 PM »
hi,

i started implementing the midi offset or transpose (-24 to 24) and added a parameter row etc. it all shows up in the menu but is not yet working. anyways, this solution seems rather hacky, because transpose should really not be saved in a preset. i also had ideas to add a random small detune to each played note, to make it sound more "natural", that should also not belong to a preset...

i thought about it and came to the conclusion that it would be great to have these kind of settings saved in the combo file.
as i understand it is merely a container for four presets. there is no additional things saved, right?

my proposal would be:

on pressing the instrument button, you cycle through the 4 instruments and when you arrive at instrument 4 an additional press would bring up the combo settings menu.

these settings would then be saved and recalled with the combo.

settings that i would include (in order of importance)

-midi channel for each loaded instrument
-transpose in halftones (-24 to 24)
-random detune

this would make the 4 midi channels in the global menu obsolete. but it would not change the preset system of the preenfm2.

would something along those lines be feasible??

i'm very happy to help, although i would need some guidance, as you have figured out already i think...(but i'm starting to see the light :-))

11
preenfm2 and preenfm3 / 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...

12
preenfm2 and preenfm3 / 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!!

13
preenfm2 and preenfm3 / 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.

14
preenfm2 and preenfm3 / midi channel for combo program change
« on: July 27, 2017, 12:02:21 AM »
what is the midi channel for program change?

what is the midi channel to change a combo program?

 is it just the first midi channel set in the menu?

it would be great if there was a global midi channel setting, that can receive program change and is independent from the settings of the instruments. (so for example instruments set to channel 2 to 5 and global midi channel 1)

also to think things further, it would be great if general cc messages could also arrive on the global channel and be spread to the four instruments. (for example, breath control on channel 1 would be applied to all 4 instruments)

this would decrease the midi messages you have to send and would also comply somewhat with the new mpe midi standard.


15
preenfm2 and preenfm3 / why fm and not pm
« on: October 11, 2016, 12:13:35 AM »
hi, this is more of a general question, out of interest...

why was there true fm choosen for the preenfm and not pm as on most other "fm" synthesizers? true fm is generally harder to implement, no?


Pages: [1] 2