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 - Xavier

Pages: 1 ... 67 68 [69] 70 71 ... 149
1021
preenfm2 and preenfm3 / Re: preenfm2 editor 2.08.4 (November 25th 2017)
« on: November 25, 2017, 05:08:54 PM »
Audio Unit for mac is available with 2.08.4 as well as a couple of new stuffs:
https://github.com/Ixox/preenfm2Controller/releases

1022
preenfm2 and preenfm3 / Re: Vishay OLED brightness
« on: November 25, 2017, 12:31:29 PM »
so is there a resistor that can be changed so this display is as bright as other colors?

No, white oleds are much less bright.

1023
preenfm2 and preenfm3 / Re: PreenFM2 SMD version
« on: November 22, 2017, 09:00:02 PM »
Is there any reason you've chosen a non standard sampling rate? Instead of 42031.52 (1142 ticks) you could have gone for 44117.65 with 1088 systicks.
In any case 42KHz is just 5% away from 44.1KHz so I expect the internal PCM5102 PLL to lock.

It's only a performance reason.
With those sample rates, the CPU is close to 100% in worse case scenario (full polyphony with the most demanding FM algo, FX, arpeggiator..).

1024
preenfm2 and preenfm3 / Re: Latest firmware : 2.08a
« on: November 20, 2017, 11:08:43 PM »
what about pressing the inst button and pressing an encoder down, or inst and menu?

Maybe you said it, i don't remember.
But why do yout think it's a good idea to have the midi channel in the preset ?
Don't you have your synth/sound module with a dedicated midi channel each ?

1025
preenfm2 and preenfm3 / Re: Latest firmware : 2.08a
« on: November 20, 2017, 09:10:47 PM »
xavier,
with the recent activity in the firmware i think it would be a good time to implement the combo settings page after i4 (i8 respectively  ;) )
did you do any thinking in that direction? as i said before i think most crucial settings will be:
midi channel for each instrument
midi offset, transpose +-48 semitones all incoming midi on an instrument

I thought about this and i thought it makes the UI more complicated and less consistent.

1026
preenfm2 and preenfm3 / Re: PreenFM2 SMD version
« on: November 20, 2017, 09:07:35 PM »
I have a few issues to clarify:
- what is the crystal you are using for the F4? I've put a 12MHz one, it needs to be a divisor of 48MHz because of the USB

I also use a 12Mhz on the preenF405.

- right now I've connected Channel1 Left/Right to one stereo jack AF1 and Channel2 Left/Right to AF2
  would it be better to have Channel1 connected to both AF1/AF2 tips and Channel2 connected to both AF1/AF2 rings? This second configuration will allow the use of only one PCM5102 and allow the use on mono cables as before.

With solution1 mono cable will be possible but we'll need 2 PCM5102 even for 2 mono channels, right ?
So the difference is small, i don't have a strong opinion.

- because I'm mixing the 2 lefts and the 2 rights for the headphones amp there is a small (-43dB) signal crosstalk between the before mentioned channels. If one doesn't want this if should replace R30/R38 with 0 ohm resistors and not solder the TDA2822M and its capacitors.

- a very important issue is the output sample frequency. The PCM5102 has its own PLL which locks to the WS signal. If the F4 isn't able to provide a constant stream of data this might be a problem. The F4 can also generate instead the system clock and send it to PCM5102 (just 2 extra pins of F4).
- there is an error between the desired sample rate and what the F4 can provide with the current crystal - for example instead of 44KHz the real audio frequency is 43.4KHz (an error of 1.35%). A 6% error is already a semitone. I haven't studied yet the current firmware - is the software able to compensate for this? what is the sampling rate you are using now?

I don't know the PCM5102 so i don't know what is best for it.

Sample rates are here :
https://github.com/Ixox/preenfm2/blob/master/src/synth/Common.h#L43
I have a firmware (with o suffix) which overclock the F4 to 192Mhz which allows a higher sample rate.

With the current firmware the F4 has to feed 4 DACs so there is an interuption 4 times per sample to deal with DACs :
https://github.com/Ixox/preenfm2/blob/master/src/PreenFM_init.c#L182
https://github.com/Ixox/preenfm2/blob/master/src/PreenFM_irq.c#L164

This interuption takes the sample data from a 192 samples buffer that is constantly fill  by  synth.buildNewSampleBlock() :
https://github.com/Ixox/preenfm2/blob/master/src/PreenFM.cpp#L52



- 24 and 32 bit samples need to be loaded in the SPI data register twice because that's only 16bit wide in I2S mode so the best way would be to DMA the data from the memory and let the MCU do something else in this time

Yes, would be nice.

1027
preenfm2 and preenfm3 / Re: PreenFM2 SMD version
« on: November 20, 2017, 04:15:54 PM »
It works but i read from several olde display manual that we should avoid sending 3.3v data to a 5v powered display.
Do you think it would be better to convert the LCD_* lines to 5v (with a 5v inverter or anything else)?

1029
preenfm2 and preenfm3 / Re: PreenFM2 SMD version
« on: November 20, 2017, 09:52:22 AM »

And you will solder all these SMD components by hand ?  :o

1030
preenfm2 and preenfm3 / Re: Latest firmware : 2.08a
« on: November 20, 2017, 08:04:24 AM »

1031
preenfm2 and preenfm3 / Re: PreenFM2 SMD version
« on: November 19, 2017, 11:47:35 AM »
I don't get exactly how the firmwares flashing will work.

Is there still the JMP3 to flash the STM32F4 through USB ?
Will the STM32F1 flashing require the ST-LINK programmer ?

Would be great to have also a led for the STM32F1, so that we can make it blink a little when the board is switched on to check it's correctly flashed and working.

1032
preenfm2 and preenfm3 / Re: Vishay OLED brightness
« on: November 18, 2017, 05:07:22 PM »
The white Raystar i just received is also much darker than the other colors.
Its brightness is very sensitive to voltage. You need a strong 5V.
I quite like anyway it and it's very quiet :)

The green one is very nice but same nois as the yellow one.

1033
preenfm2 and preenfm3 / Re: TX81z W1-W8 + Feedback Waveforms .txt
« on: November 18, 2017, 03:56:10 PM »

Great work !  :)
Thanks.

1034
preenfm2 and preenfm3 / Re: PreenFM2 SMD version
« on: November 18, 2017, 12:13:29 PM »
You can have both. The encoder changes the volume globally  and the software per channel / instrument. The MCP42010 can jump instantly to any set value. These will have to be bit-banged though because all the SPI/I2S interfaces are used.
I have started changing the schematic for 4 audio channels and I've ordered some more components. I will probably also put a TDA2822M as a headphones stereo amplifier. This is linear rather than class D because I don't want the extra switching noise and 500mW per channel is plenty for headphones.

Better DACs to allow 4 independants output is for me the most interesting part.
Is a headphones jack really usefull on the preenfm2 ?
I understand it is for sound modules with sequencer, but i wonder here if it's worth the effort here.
Where the jack will be ?

I've changed all MIDI headers to 3 pins. The new encoder has a separate push switch connected. I will probably have to chose between separating the switches of all the other encoders and the P3 analog input header because I've started to run low on pins. Which one is better? Also is it worth having 4 separate LEDs  or more LEDs? If so maybe it's worth dropping a second MCP23S17 to handle the extra switches and LED outputs.

Must be on the midi out only. If plugged on the midi in, there will be a shared ground with the midi device that sends midi.
Would be great to be mistake proof and having it just on the midi output.

Separate Leds or more leds are not usefull. The current ones are not even visible on all preenfm2 with metal case (the majority).
The 20x4 LCD is big enough to contain all usefull info.

I would prefer P3 than separated encoder switches. There might be a Eurorack version using them in the future (not from me).

An even better option would be to replace the port expanders with a STM32F103 (only $1.20) running at 8MHz (internal RC clock) which can handle all the encoders, switches and LEDs independently and free a lot of extra pins in the STM32F4 and it can also keep track of the encoder values.

Ouch... another firmware to write/maintain/flash... That would make the development and upgrade process much more complicated.
I think we should avoid that.

1035
preenfm2 and preenfm3 / Re: PreenFM2 SMD version
« on: November 17, 2017, 12:04:46 PM »
Anyone else thinks that having more audio outputs is a good idea? What other changes would you like to see in PreenFM2?

More audio outputs is something many people asked.  Two 6.3mm stereo sockets sounds good to me.
If you change the pot to an encoder, would be great to have it clickable.
The preenfm2 has not enough buttons, so having a dedicated STM32 input for each of the 5 encoder clicks woud be usefull.

Also a Ground pins is missing near the Midi output header. Midi output cable are supposed to be shielded. Never had any problem with that but it cannot hurt adding that.

Pins available for a graphical display would be great. Parallel, i2c, spi something else ? I don't know much in graphical display.

I don't know if you modified the Connectors. P3 is important for the vcIn firmware.
The jumper JMP1 is totally useless. Must be connected in all situation.



Pages: 1 ... 67 68 [69] 70 71 ... 149