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

Search:

Type: Posts; User: Theremingenieur

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    71

    Please understand that these ADCs are SAR ADCs....

    Please understand that these ADCs are SAR ADCs. Which means that (short and simplified) the time is counted which the input voltage needs to charge or to discharge an internal capacitor. Thus, the...
  2. The following article describes the basics of the...

    The following article describes the basics of the digital state variable filter and how to transform it easily into an oscillator by making the damping zero:...
  3. I had repeatedly memory and heap issues with...

    I had repeatedly memory and heap issues with strings, more depending on the number of strings than on their length. It looks like the String class allocates an enormous overhead of dynamic memory....
  4. Didn't notice, thanks for the hint! I'm amazed!

    Didn't notice, thanks for the hint! I'm amazed!
  5. I’ve switched over from Sloeber/Eclipse which was...

    I’ve switched over from Sloeber/Eclipse which was great during long years towards PlatformIO about three months ago, for the following reasons:
    - The Sloeber addin has problems with MacOS Catalina...
  6. Replies
    14
    Views
    548

    The atan2f() function returns values from -pi to...

    The atan2f() function returns values from -pi to pi. So, if you want to convert this range into the 0 to 127 midi interval, you'll have to add pi first to make it cover the interval [0;2pi] and then...
  7. Replies
    179
    Views
    15,115

    I’d also vote for double rows in 0.1” spacing...

    I’d also vote for double rows in 0.1” spacing with the most common and Arduino pin out-alike signals on the inner rows, so that bread boarding in the classic Teensy style (perhaps even 3.2 or 4.0 pin...
  8. Replies
    4
    Views
    227

    First, you should revise your spelling - “Pubic”...

    First, you should revise your spelling - “Pubic” member functions are perhaps not what you are really looking for... :D

    Second, take a look onto the graphic design tool for the audio library....
  9. Replies
    12
    Views
    410

    Moving on significantly since 8 bit controllers...

    Moving on significantly since 8 bit controllers is unfortunately often inhibited from the well-meant but inefficient intention to maintain backward compatibility.
  10. Replies
    9
    Views
    520

    Priorities in that domain are obviously changing....

    Priorities in that domain are obviously changing. Almost nobody talks any more about improving the analog building blocks in mixed signal MCUs - it's rather the opposite: Powerful integrated ADCs and...
  11. Ah, there, yes. I had only focused on the...

    Ah, there, yes. I had only focused on the comparator thing mentioned by mhelin. I stand corrected.
  12. That would not allow setting a defined, but...

    That would not allow setting a defined, but arbitrary phase.
  13. The audioInputAnalogStereo object "monopolizes"...

    The audioInputAnalogStereo object "monopolizes" the 2 internal ADCs as does the audioOutputAnalogStereo object with the DACs. Using the generic analogRead() and analogWrite() functions in your code...
  14. Replies
    13
    Views
    582

    If you want to use I2S in default CD format...

    If you want to use I2S in default CD format (16bit, 44.1kHz), it can be done with the audio library https://www.pjrc.com/teensy/td_libs_Audio.html and its AudioInputI2S and AudioOutputI2S objects. If...
  15. Replies
    75
    Views
    5,996

    Unfortunately, I’m of no help with the Touch Bar....

    Unfortunately, I’m of no help with the Touch Bar. My 13” MacBook Pro from 2018 is the version without. I never saw a reason for spending additional money at gimmicks like this.
  16. Replies
    75
    Views
    5,996

    Works as expected, congratulations! Asks...

    Works as expected, congratulations!

    Asks because downloaded from the internet which is ok:
    18345

    Asks for permission to access the Documents folder which is ok:
    18346

    Asks for allowing...
  17. Replies
    3
    Views
    208

    There is a Kinetis application note about the...

    There is a Kinetis application note about the ADCs on the NXP website. These Delta-Sigma ADCs do NOT have a constant input impedance since each conversion cycle starts with loading an internal...
  18. Replies
    140
    Views
    37,180

    I fear that you'd have to try it out. Some DACs...

    I fear that you'd have to try it out. Some DACs have an internal digital FIR filter which blocks DC. Even if not, you'd have to check out the useful (linear) DC range which can be obtained. IMNSHFO,...
  19. It's just that the limits for Vref are 1.25V to...

    It's just that the limits for Vref are 1.25V to 3.3V (c.f. data sheet). Within these boundaries, the ADC is definitively ratiometric. That's why many users use the 3.3V Vdd reference when reading...
  20. All USB modes should be supported on the T4,...

    All USB modes should be supported on the T4, soon. Paul told that he was working on this but that's not his only high priority, there are a lot of things still to do until the T4 will "turn round"....
  21. Replies
    16
    Views
    1,050

    Just a few thoughts: 1.) A theremin is...

    Just a few thoughts:
    1.) A theremin is characterized (see original US patents by inventor Leon Theremin himself) by sound generation through 2 directly heterodyning RF oscillators. From that point...
  22. Replies
    29
    Views
    1,191

    A quick look into the source code of the I2S...

    A quick look into the source code of the I2S objects of the audio lib will tell you that one frame contains two 32bit words (one per channel). The audio lib does use 16bit audio which means that the...
  23. Replies
    29
    Views
    1,191

    You can’t eat the cow and her butter, as we say...

    You can’t eat the cow and her butter, as we say in France. There are reasons why in high end audio devices, there are separate power supplies, separate grounds and separate shielded sections for the...
  24. Since PlatformIO uses its own build system, I’d...

    Since PlatformIO uses its own build system, I’d rather open the issue with them. Be sure to add your full code base and the reported memory sizes after compiling with the old and with the new build...
  25. The Teensy 4.0 has already something like that...

    The Teensy 4.0 has already something like that integrated. The internal SAI3 can be combined with a so-called Medium Quality Audio Output which works based on PWM/PDM with internal oversampling and...
  26. The ADC library has been written by forum user...

    The ADC library has been written by forum user Pedvide and is on GitHub. Open an issue there.
  27. In France, it's also 11PM. Best time to be...

    In France, it's also 11PM. Best time to be creative ;)
  28. The Teensy has 2 internal ADCs. A very...

    The Teensy has 2 internal ADCs. A very sophisticated internal multiplexer allows to route several pins and signals to either the first ADC, or to the second, or (for some pins and signals) even both....
  29. Replies
    75
    Views
    5,996

    They do. But that's not enough to add all the...

    They do. But that's not enough to add all the additions (and bug fixes and improvements) which Teensyduino brings to Arduino.
  30. Replies
    75
    Views
    5,996

    That workaround (right click the app,...

    That workaround (right click the app, control+click "open") at the first launch does actually apply to almost all apps which aren't distributed through the Apple app store. It's the same with other...
  31. Replies
    75
    Views
    5,996

    Open the freshly downloaded Teensyduino.dmg with...

    Open the freshly downloaded Teensyduino.dmg with a double click:
    17894
    It seems that it can't be installed. But it can. Click "OK". Make a right click on it:
    17895
    Again, as before with Arduino,...
  32. Replies
    75
    Views
    5,996

    OK, re-did everything. The struggle is twice in a...

    OK, re-did everything. The struggle is twice in a similar way, once for Arduino, and once for Teensyduino.
    After unpacking the downloaded Arduino.zip and moving the App into the Applications folder,...
  33. Replies
    75
    Views
    5,996

    I have it running here (Catalina and Arduino...

    I have it running here (Catalina and Arduino 1.8.10 and Teensyduino 1.48) . Install was some days ago. I remember that there was an additional hurdle, but I got over it. Don’t remember details, so...
  34. Replies
    4
    Views
    320

    As if this hadn‘t been explained already more...

    As if this hadn‘t been explained already more than 20 times in these forums... The short answer is no. The long answer is that a kind of programmer IC (the famous MKL02/04) is integrated on each...
  35. I guess that nobody tried it out up to now. Thus,...

    I guess that nobody tried it out up to now. Thus, it is like it‘s your turn to do so and report back here ;)

    But be warned, the port might not be trivial since the audio stream object is not in...
  36. Replies
    100
    Views
    6,567

    Running already macOS Catalina 15.1 beta here...

    Running already macOS Catalina 15.1 beta here since last night. Fresh install of Arduino 1.8.10, granted rights, the installed Teensyduino 1.48 final release, not beta. Launches, loads sketches,...
  37. Replies
    15
    Views
    1,651

    You shouldn't make general conclusions from your...

    You shouldn't make general conclusions from your individual problem. Fresh install of Arduino 1.8.10 followed by a Teensyduino 1.4.8 install gives a fully working environment under Catalina 10.15...
  38. Replies
    120
    Views
    9,416

    Received my three 0.8mm breakouts yesterday....

    Received my three 0.8mm breakouts yesterday. Unusable, went directly to trash. The small castellation for the bottom pads 24,26,...,32 simply missing, the big castellation totally misplaced. First...
  39. Replies
    7
    Views
    641

    The built-in LED is on pin 13 which is a hardware...

    The built-in LED is on pin 13 which is a hardware capable PWM pin. So you can easily use the Teensyduino core features like analogWrite(), analogWriteResolution(), analogWriteFrequency() without...
  40. Replies
    7
    Views
    641

    Perhaps a silly thought from my side: The Teensy...

    Perhaps a silly thought from my side: The Teensy 4 has 4 flexpwm modules with 4 independent sub modules which have 3 independent channels, each. That makes already 48 hardware PWM channels. Then,...
  41. All data sheets and reference manuals for the...

    All data sheets and reference manuals for the different processors are here: https://www.pjrc.com/teensy/datasheets.html
    I'd not rely on the weak internal protection and add the diodes. And yes,...
  42. Yes, you wanted to use touchread() which uses the...

    Yes, you wanted to use touchread() which uses the native touch pins through the TSI engine. So, my reply above should answer your question.
  43. No! As you can see in the reference manual, the...

    No! As you can see in the reference manual, the Kinetis touch engine (TSI) works with switched constant current sources and charge/discharge thresholds for pure capacitive detection. Series resistors...
  44. Everything depends on how much current you draw...

    Everything depends on how much current you draw from the voltage regulator. The total power dissipation in the voltage regulator is roughly (Vin - Vout) / Iout. Vout is 3.3V, Iout is the current...
  45. Replies
    120
    Views
    9,416

    I fear already that mine will look the same when...

    I fear already that mine will look the same when they’ll arrive here in France in a few days... Why don’t they use a precise laser to do the cut-outs?
  46. For audio, I2S is the preferred digital protocol,...

    For audio, I2S is the preferred digital protocol, and many DACs exist on the market which support it. So, I’d say this is the way to go.
  47. And if it was (for whatever reason) that specific...

    And if it was (for whatever reason) that specific Teensy? Did you try to take a fresh one out of your dev drawer for a differential diagnose? How do the serial signals look on an oscilloscope? Post...
  48. Replies
    10
    Views
    387

    The problem with your approach is (and that's why...

    The problem with your approach is (and that's why I called it crippled) that the filter corner frequency would remain constant for a certain time while the LFO would remain in move. Which can...
  49. Replies
    10
    Views
    387

    Why cripple a working algorithm if you might be...

    Why cripple a working algorithm if you might be able to make intelligent choices about the filter center frequency and the octave hub to limit the max fc to 10000Hz?
  50. Replies
    10
    Views
    387

    Which filter type are you using? State variable...

    Which filter type are you using? State variable filters (Chamberlin) work only well up to fs/6 without or fs/3 with 2x oversampling while Biquad filters have coefficient precision problems in the low...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4