Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: tomas

Page 1 of 2 1 2

Search: Search took 0.00 seconds; generated 24 minute(s) ago.

  1. MQS is essentially noise-shaped PWM/PDM output so...

    MQS is essentially noise-shaped PWM/PDM output so you should not expect much. NXP docs specifically say that over 10kHz you are going to get bad THD+N.
  2. It converts linear scale that your potentiometer...

    It converts linear scale that your potentiometer has to logarithmic frequency scale (how human hearing works), so equal knob movement represents one octave movements say from 100 to 200Hz and 1kHz to...
  3. Replies
    13
    Views
    1,803

    Everything that involves convolution is...

    Everything that involves convolution is implementable on TPUs.
    Other algorithms too, check out some science on the subject:
    https://arxiv.org/abs/2107.05473
  4. Replies
    572
    Views
    149,849

    Just for what it is worth NXP i.MX RT1176 -based...

    Just for what it is worth NXP i.MX RT1176 -based products start to emerge: https://coral.ai/products/dev-board-micro/
  5. Replies
    13
    Views
    1,803

    I was just about to post that info, but it looks...

    I was just about to post that info, but it looks like TeensyWolf was faster :-
    Product page for imxrt1176-based Dev Board Micro is now available: https://coral.ai/products/dev-board-micro/

    I...
  6. Replies
    572
    Views
    149,849

    Just wanted to say Thank You, Paul Stoffregen,...

    Just wanted to say Thank You, Paul Stoffregen, for doing all the work you do. I can imagine how stressful keeping up with all things is, as I am running the some other tech forum. Thank you for...
  7. Replies
    209
    Views
    30,875

    CMSIS provides ready-to-use implementation. For...

    CMSIS provides ready-to-use implementation.
    For interpolation you need call arm_fir_interpolate_init_f32 (once) and arm_fir_interpolate_f32 ( in the loop)
    For decimation you need call...
  8. Replies
    209
    Views
    30,875

    If you did oversampling "by the book" you would...

    If you did oversampling "by the book" you would need polyphase FIR interpolator at the input and polyphase FIR decimator filter at the output. These are costly. Not doing things by the book results...
  9. Replies
    209
    Views
    30,875

    With max resonance you can clearly hear that...

    With max resonance you can clearly hear that analog filter has some "gritty" quality to it (2:52 of your video), while digital is sterile and lacks this effect completely.
  10. Replies
    209
    Views
    30,875

    I noticed that you are using copy of the same...

    I noticed that you are using copy of the same input sample when oversampling and averaging output. You may consider using linear interpolation on input and dropping on output.
  11. Replies
    209
    Views
    30,875

    Sorry, I did not want to sound harsh, I realised...

    Sorry, I did not want to sound harsh, I realised that I was too quick to post feedback, so I deleted it as it requires more time. I will run newest code and do more tests.

    UPDATE: Now I am running...
  12. Replies
    209
    Views
    30,875

    For obvious (performance) reasons nobody uses...

    For obvious (performance) reasons nobody uses math library tanhf for audio. It is way too slow. And if you read previous posts, you would see that I earlier wrote to use float everywhere, not double...
  13. Replies
    209
    Views
    30,875

    For what it is worth soft saturation (distortion)...

    For what it is worth soft saturation (distortion) is absolutely essential to Moog sound. https://www.youtube.com/watch?v=5sAq0FjRUI4
    And using tanh() in simultation is not random choice. Moog ladder...
  14. Replies
    209
    Views
    30,875

    Was busy with other stuff, but over the weekend I...

    Was busy with other stuff, but over the weekend I intend to pull that code and check against analog 4pole "moog" filter simulation in hardware Virus TI synthesiser. Guys from Kemper Music are famous...
  15. Replies
    24
    Views
    2,663

    Here you can find the document that describes...

    Here you can find the document that describes from where the delays come from:
    https://www.ti.com/lit/wp/slyy095a/slyy095a.pdf?ts=1613141458124
  16. Replies
    209
    Views
    30,875

    For what it is worth it is not possible to...

    For what it is worth it is not possible to exactly simulate non-linear analog filter with feedback in digital domain because of the delay introduced by digitization.
    So called "zero delay" filters...
  17. Replies
    238
    Views
    63,238

    Sorry. Apparently I need to get my eyes checked.

    Sorry. Apparently I need to get my eyes checked.
  18. Replies
    238
    Views
    63,238

    For better reliability of your MIDI IN consider...

    For better reliability of your MIDI IN consider 10k resistor between pin 7 and ground of optocoupler as explained here:...
  19. Replies
    209
    Views
    30,875

    As I wrote in my earlier post, I advise to keep...

    As I wrote in my earlier post, I advise to keep attention to those little details such as using floating point constants:
    4.0 is a DOUBLE (64-bit) constant. It causes your computations to be done in...
  20. Replies
    209
    Views
    30,875

    Two performance suggestions: 1. Use f for...

    Two performance suggestions:
    1. Use f for constants: like 0.9892f instead of 0.9892. Constants by default are double. Float is twice as fast even on hardware FPU
    2. Use float instead of double...
  21. Replies
    41
    Views
    7,269

    SNR is measured in dB. And it was observation /...

    SNR is measured in dB. And it was observation / comment / remark (hence "approx" word), not measurement. PT8211 is so bad, not only with regards to noise but mainly to distortion that I wonder why...
  22. Replies
    231
    Views
    46,723

    "Brand" effect. Everything that has name...

    "Brand" effect. Everything that has name "Raspberry Pi" on it gets media coverage. Every web site talks circles about it and praises it as it was the best thing since sliced bread. They don't mention...
  23. Replies
    231
    Views
    46,723

    The other person could say: Focus on your core...

    The other person could say: Focus on your core product/business. High-performance microcontrollers in tiny user-friendly package. Why would anyone bother to think about yet another 12-year old Cortex...
  24. Replies
    231
    Views
    46,723

    Cortex M0 was introduced in 2009. So it is 12...

    Cortex M0 was introduced in 2009. So it is 12 year old tech.
    CPU in Raspberry PI 1 wasn't 12 years old.


    But typical user does not program (majority of) them using APIs (yet), of course except...
  25. Replies
    231
    Views
    46,723

    +1. That is my sentiment too. I have seen such...

    +1.
    That is my sentiment too. I have seen such hype so many times in the past. Don't waste time on platform that is not bringing anything new.
    M0 is old tech, underpowered, lacking crucial...
  26. Replies
    231
    Views
    46,723

    Yes, I have been running it at 750MHz super...

    Yes, I have been running it at 750MHz super stable, but decreased longevity https://www.nxp.com/docs/en/nxp/application-notes/AN12253.pdf worries me a bit.
  27. Replies
    231
    Views
    46,723

    And it is 5 times as useful :-) Seriously. I am...

    And it is 5 times as useful :-) Seriously. I am making project that requires LOT of horse power and will probably use 5 or more Teensy 4s. And I need bare metal,
    so Linux based things like Raspberry...
  28. Replies
    231
    Views
    46,723

    +1. and 600MHz T4 is even better :D There is...

    +1. and 600MHz T4 is even better :D


    There is detailed chart on page 180 of reference manual for F401.
    FIFO has four 32-bit words that can act as 16 bytes or 8 half-words (16-bit).
  29. Replies
    231
    Views
    46,723

    It does. Page 166 and page 180 of STM32F401...

    It does. Page 166 and page 180 of STM32F401 Reference manual: "Four-word depth 32 first-in, first-out memory buffers (FIFOs) per stream."
    FIFO in STM32F401 is universal that handles not only I2S...
  30. Replies
    41
    Views
    7,269

    Exactly, noise floor approx -58dB that is less...

    Exactly, noise floor approx -58dB that is less than 10 bits. Good cassette decks in '80s were able to get >70dB.
  31. Replies
    231
    Views
    46,723

    I2S without masterclock limits the number of DACs...

    I2S without masterclock limits the number of DACs you can connect to those that don't need MCLK. Also since this PIO seems to be implementing I2S in software
    the question arises about clock jitter...
  32. Replies
    41
    Views
    7,269

    Now do the same with PT8211 and you will see how...

    Now do the same with PT8211 and you will see how bad it really is. I would say it is no better than '80s compact cassette.
  33. Replies
    231
    Views
    46,723

    I also hate Arduino IDE, but there is a solution...

    I also hate Arduino IDE, but there is a solution already. I strongly recommend taking a look at PlatformIO (Visual Studio Code addon). It is night and day compared to Arduino. I used various IDEs for...
  34. Replies
    41
    Views
    7,269

    I am using studio grade ADC AK5394A (123dB SNR/...

    I am using studio grade ADC AK5394A (123dB SNR/ 123dB DR) with Visual Analyser. With regards to your results, your power supply may be the culprit too. Disconnect USB and try running from some high...
  35. Replies
    41
    Views
    7,269

    I would actually say that pretty much ALL current...

    I would actually say that pretty much ALL current high quality sigma-delta audio DACs have oversampling built-in with multistage decimator and FIR filters that have quality way above what is offered...
  36. Replies
    572
    Views
    149,849

    Yes it would be very handy to have SDRAM option...

    Yes it would be very handy to have SDRAM option on board. Note that this Daisy board uses STM32H750 microcontroller at @480MHz so it is already significantly slower than existing Teensy 4 @600MHz,...
  37. Replies
    4
    Views
    1,325

    First, in almost all practical cases you use...

    First, in almost all practical cases you use windowed sinc.
    Second, as I wrote, its better to do range reduction yourself.
  38. Replies
    4
    Views
    1,325

    Range reduction of large arguments in...

    Range reduction of large arguments in trigonometric functions is always problematic because PI constant used is inherently inaccurate. There is infamous bug in Intel x87 FPU hardware that causes sin...
  39. Replies
    31
    Views
    4,843

    Yes see:...

    Yes see:
    https://www.mathworks.com/help/dsp/ug/optimized-fixed-point-fir-filters.html
  40. Replies
    31
    Views
    4,843

    It works because you have converted (rescaled)...

    It works because you have converted (rescaled) floating point coefficients to fixed point. If you use short data type (16 bit), coefficients are supposed to be in the range of -32768 upto 32767 and...
  41. Replies
    31
    Views
    4,843

    Datatype short is 16 bit - it is too low...

    Datatype short is 16 bit - it is too low resolution for coefficients of a good filter. Also if you just change the data type from int to short, you will likely overflow the range, as short has only...
  42. Thread: Led strip

    by tomas
    Replies
    2
    Views
    913

    I did that already in the past. True power issues...

    I did that already in the past. True power issues are a problem if you want to light up entire strip, but to light up only a few leds out of say 4 octave keyboard (48 leds) (usually you don't have...
  43. Replies
    37
    Views
    25,139

    Just my 2 cents worth: I also faced problem that...

    Just my 2 cents worth: I also faced problem that I needed a decent and FAST debugger for complex programs written for embedded systems (not only Teensy but STM32 too). Although I got debugger with...
  44. Replies
    3
    Views
    950

    Soldering Teensy is not rocket science. Certainly...

    Soldering Teensy is not rocket science. Certainly not more complicated than soldering Arduino Nano or Micro. Keep temperature in check, don't use too much tin and heat the pad and the pin not more...
  45. Replies
    26
    Views
    8,537

    I got Access Virus TI hardware synth (virtual...

    I got Access Virus TI hardware synth (virtual analog) and you can pretty easily get bass/tom/snare drums with it with self-oscillating 4 pole resonant filter that has its cutoff frequency modulated...
  46. Replies
    572
    Views
    149,849

    Defragster - thank you very much.

    Defragster - thank you very much.
  47. Replies
    572
    Views
    149,849

    I also would like to know if part number to be...

    I also would like to know if part number to be used in future teensy will be i.MX RT1176 and what is planned release date of 1GHz Teensy, please?

    Happy festive season to everyone!
  48. Replies
    14
    Views
    4,097

    With all due respect, "Teensymoog" is sonically...

    With all due respect, "Teensymoog" is sonically nowhere near real Minimoog. The same applies to pretty much any synth created using Audio library for a number of reasons:
    1. Aliasing - audio library...
  49. Replies
    23
    Views
    7,816

    OK, I see what you meant. The thread is flat, no...

    OK, I see what you meant. The thread is flat, no threads are shown by default, as you noticed. A clickable "1 reply" button reveals direct replies, just making easier to locate them. You don't need...
  50. Replies
    23
    Views
    7,816

    All Discourse setups I have seen work with flat...

    All Discourse setups I have seen work with flat threads. So frankly, I don't know what you saw.
Results 1 to 50 of 57
Page 1 of 2 1 2