svofski

Results 35 comments of svofski

@zooxo Delay time was my first guess too but it's not that. Pins A1 and A2 on Arduino Pro Micro are PORTF. The defines for DC_PORT and RST_PORT correctly point...

My part works well at 72MHz. Not at 81.

В рецепте @shurshur на Linux Mint мне для полного успеха не хватило: ```apt install libqt5serialbus5-dev libqt5serialport5-dev```

I thought the idea was to scale the volume around virtual centre, so I tried to rewrite it as such: ``` int32_t l = (((vA

The simple unsigned version worked well for me too. I'm slightly worried that there's sine if the dynamic range lost somewhere, or if it would flip if AY and beeper...

Just had a minute to test. This version is loud and clear, no artifacting. ``` // offset 0..255 to -128..127 int32_t ivA = vA - 128; int32_t ivB = vB...

That version works but it's very quiet. Could the distortion happen because the beeper is signed in that branch? int32_t is = s - 128; // this is not needed...

More or less the same, it's fine I guess. Have you tried producing a ramp just to see what kind of range does the DAC take and if it matches...

![image](https://github.com/user-attachments/assets/fc453b94-c56c-4e96-b88f-0c2bd207d220) this is static volatile uint32_t divctr = 0; ... ll = rr = divctr & 0xffff; divctr += 1000;

Anyway, unsigned seems too work as expected. Signed doesn't look right. It seems that values above 55000 are not good regardless. ![image](https://github.com/user-attachments/assets/bbe2c03e-21b0-4ec8-b263-3981760bbc90) static constexpr int maxval = 55000; int l...