Search results

  1. Denis Bélières

    Basic I2S Input Example for T4.x

    Thank you very much. I am a beginner with teensy 4 and spend my time trying to understand all these things, comparing the PJRC audio library with GhostNodeAudio's one (https://github.com/GhostNoteAudio/Teensy4i2s). Your model is another light on all this stuff. I note the corrected comment...
  2. Denis Bélières

    Help I2S!

    Thanks, Paul, for your guidance. I have found, at last what I was looking for. I2S hardware is configured in AudioOutputI2S2::config_i2s() wich is called by AudioInputI2S2::begin ... So, even if I do not uses any audio output, "#include "output_i2s2.h" is somewhere necessary. And now (2 hours...
  3. Denis Bélières

    Help I2S!

    What I guess is that 44100 Hz frequency is not set by software. Registers of the "CLOCK CONTROL MODULE" have default values after hardware reset, wich may correspond to 44100. So that fonction "set_audioClock(...)" in "imxrt_hw.h" library has to be called only to change this frequency. Am I True...
  4. Denis Bélières

    Using rev D audio board as simple DAC with variable sampling rate

    Hello. Interesting "snippet". But how to use it ? What is a "snippet" ? Should I modify the imrxt_hw.cpp file ? Or write another file with only set_AudioClock function, or full file ?
  5. Denis Bélières

    Using Carbon Microphone with Teensy 4.0

    Biased with a DC voltage with a serial resistor, add a capacitor to cut the "high voltage" DC component ... Signal voltage will approximatively be proportional to DC bias. Huge distorsion, dependent of DC voltage and bias resistor. Ask Gaham Bell ...
  6. Denis Bélières

    Help I2S!

    Thanks, now I located it. It is so difficult to find libraries in arduino system (with Windows), in subdirectories in subdirectories in subdirectories (for me :C:\Users\denib\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\cores\teensy4). Better than to know "how to do", I want to...
  7. Denis Bélières

    Help I2S!

    Help me too with I2S. As Daniel, I need very few things of audio library, just an I2S input from a monophonic microphone. I will probably modify the interrupt routine to my needs and pass entered data to the main program with some "dataa available" flag, avoiding multiple copies of data from a...
  8. Denis Bélières

    digitalWrite doesn't work after analogWrite on the same pin

    I hate this "analogWrite" function. The output is pulsed digital. It is not the output of some digital to analog converter. Pulsed output can be filtered with some analog electronic to produce close to DC output, wich lowers response time. It easier to filter when frequency is high. Besides...
  9. Denis Bélières

    Assembly

    65 or 78. We all fit in 8 bits !
  10. Denis Bélières

    Assembly

    I read somewhere : "What is an engineer ? A guy able to spend a full week-end to fix an old 5 $ radio". I am 76.
  11. Denis Bélières

    Assembly

    64 bits floating point, indeed.
  12. Denis Bélières

    Assembly

    Steve, it is not an intrusion... I appreciate your comments, following Paul's ones... Ok, I surrender and will program with C++ ! Real time Fast fourrier transform (8192 points after windowing and "zero padding" four times per second) for continuous high precision frequency audio analysis.
  13. Denis Bélières

    Assembly

    Thanks for that prompt answer. I have been writing in assembly language for more than 50 years, on antique computers (starting with french CII 10010 and Univac 1108) and microprocessors (starting with Motorola 6800). And also in Basic, turbo-pascal and Labview on PC computers with DOS and...
  14. Denis Bélières

    Assembly

    Are there others tools than arduino to program a Teensy board ? Arduino GCC compiler produces an executable code which is far from beeing optimised. What is the way to use GNU AS assembler configured,for ARM cortex M7 ?
Back
Top