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

Search:

Type: Posts; User: Bob Larkin

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    67
    Views
    18,949

    I fixed the f32/F32 confusion and it compiles, so...

    I fixed the f32/F32 confusion and it compiles, so the library is good. When I tried to use input_spdif3 it compiled but I got a link error when it tried to tie the sample rate to AudioStream instead...
  2. Replies
    67
    Views
    18,949

    Be aware that there is a problem with the f32 vs...

    Be aware that there is a problem with the f32 vs F32 designator on spdif files. I will get this fixed, but one may need a new pull from GitHub to get clean compile.

    Also, I am adding the new files...
  3. Replies
    67
    Views
    18,949

    The full group of changes and additions from...

    The full group of changes and additions from @[IDC]Dragon! are now in the F32 OpenAudio_ArduinoLibrary. Many thanks!!
  4. Replies
    67
    Views
    18,949

    I'm learning all about "automagically"!!! ...

    I'm learning all about "automagically"!!!

    After trying 16-bit stuff with no issues, I went to the SGTL5000 driver in the Teensy Audio Library and changed the I2S control to

    write(CHIP_I2S_CTRL,...
  5. Replies
    67
    Views
    18,949

    #[IDC]Dragon that looks like a major...

    #[IDC]Dragon that looks like a major contribution. We need to get this into the floating point F32 Teensy library.

    It looks like there are really two areas. First is handling 24 or 23 bit I2S...
  6. Replies
    67
    Views
    18,949

    The two-resistor mode (i.e., TP_SIGNAL_IO_PIN) of...

    The two-resistor mode (i.e., TP_SIGNAL_IO_PIN) of the AudioAlignLR_F32 object seem to be working fine, including with noise coming into the audio. But strong coherent signals at various frequencies...
  7. Replies
    67
    Views
    18,949

    I revised the floating point AudioAlignLR_F32,...

    I revised the floating point AudioAlignLR_F32, making it easier to use (see previous post). Thanks to Mike, K7MDL for the help with this.

    The new method normalizes everything to the sum of the...
  8. Replies
    67
    Views
    18,949

    The OpenAudio_ArduinoLibrary...

    The OpenAudio_ArduinoLibrary now has AudioAlignLR_F32 objects to measure and correct Left-Right Codec startup time shifts. This is the old problem that Frank DD4WH nick-named "Twin Peaks" when used...
  9. Replies
    67
    Views
    18,949

    For those interested, here is my best...

    For those interested, here is my best illustration of the pureSpectrum filtering. There are two inputs coming from a sine/cosine pair,AudioSynthSineCosine_F32, running at 1000 Hz. This is going to...
  10. Replies
    67
    Views
    18,949

    The OpenAudio_ArduinoLibrary Teensy F32 library...

    The OpenAudio_ArduinoLibrary Teensy F32 library has used a hybrid I16/I32/F32 sine wave generator AudioSynthWaveformSine_F32. I just re-wrote that to be completely floating point, allowing...
  11. Replies
    67
    Views
    18,949

    Yes, it the simple FFT convolution. This came...

    Yes, it the simple FFT convolution. This came about from radio systems where the goal was not huge sizes, but rather to get speed improvement on sizes like 512 taps. For these, latency was a...
  12. Replies
    67
    Views
    18,949

    I'm happy to report that due to the efforts of...

    I'm happy to report that due to the efforts of Giuseppe Callipo, and several others upon which his work is based, we have added a Convolution Filter class to the Floating Point Teensy Library. I...
  13. Replies
    67
    Views
    18,949

    I added another class AudioLMSDenoiseNotch_F32 to...

    I added another class AudioLMSDenoiseNotch_F32 to the F32 library https://github.com/chipaudette/OpenAudio_ArduinoLibrary . The Denoise uses the LMS algorithm to find coherency (via a small delay...
  14. Replies
    67
    Views
    18,949

    Hi to All - I have been away from most of the...

    Hi to All - I have been away from most of the electronic stuff for the last 6-months. I'm happy to report that my wife is happy with the repairs for her broken hip and I am equally happy with my...
  15. Replies
    43
    Views
    17,113

    Of course. I put the KiCad project files at...

    Of course. I put the KiCad project files at http://www.janbob.com/electron/WM8731/ See if I missed anything and I'll find it. Cheers, Bob
  16. Replies
    43
    Views
    17,113

    Thanks, Paul, for the good info. The WM8731...

    Thanks, Paul, for the good info.

    The WM8731 board was tested in both master and slave on the T3.6. I have not used it with the T4.x, but with proper wiring changes, it should be fine.
  17. Replies
    67
    Views
    18,949

    An update of an addition to the F32 library.. An...

    An update of an addition to the F32 library.. An FM Detector, called "RadioFMDetector_F32" has a single low I-F input, such as at 15 kHz. There are two outputs, one being continuous audio to drive...
  18. Replies
    67
    Views
    18,949

    It has been a dormant period for this topic, but...

    It has been a dormant period for this topic, but not for the library. The floating point Teensy Audio-like library, aka "OpenAudio_ArduinoLibrary" has seen a lot of fixing and additions. I think it...
  19. Replies
    16
    Views
    7,578

    Here is one that is one using quadrature mixing. ...

    Here is one that is one using quadrature mixing.
    https://github.com/chipaudette/OpenAudio_ArduinoLibrary/blob/master/examples/FineFreqShift_OA/FineFreqShift_OA.ino
    It is not too complicated in...
  20. Replies
    42
    Views
    9,453

    An Update: I have NOT seen a Linux crash in more...

    An Update: I have NOT seen a Linux crash in more than a month. This is only anecdotal, but for my system, I believe that Linux kernel updates have stopped the Oops crashes. In summary:

    Last...
  21. Replies
    5
    Views
    3,464

    News Note: The Teensy-based Audio Vector Network...

    News Note: The Teensy-based Audio Vector Network Analyzer has been built by a fair number and it continues to serve that original job of measuring components and circuits. But, it has grown!

    It...
  22. Hi - You might take a look at the radio project...

    Hi - You might take a look at the radio project
    https://groups.io/g/keithsdr/
    Mike and Keith are working on a display/waterfall using the F32 floating point FFT with T4.1. There are several topics...
  23. Replies
    13
    Views
    2,768

    Yup. I dropped your code into my test cases and...

    Yup. I dropped your code into my test cases and they all look good. Thanks, again, Bob
  24. Replies
    13
    Views
    2,768

    Michael, thanks so much for doing the...

    Michael, thanks so much for doing the float_to_string. I'm using this with happiness on an LC project.

    One issue is that values from 0.0 to -1.0 do not get printed with minus signs. When...
  25. Replies
    9
    Views
    2,274

    Removed duplicate post

    Removed duplicate post
  26. Replies
    9
    Views
    2,274

    I needed a Gaussian generator for the Audio...

    I needed a Gaussian generator for the Audio Vector Network Analyzer project. After getting that together, it seemed like others might be able to use this as an Teensy Audio class object. Thus this...
  27. Replies
    42
    Views
    9,453

    Well, that did not go as well as we had hoped. I...

    Well, that did not go as well as we had hoped. I have been working on adding features to the Audio Vector Network Analyzer,...
  28. Replies
    42
    Views
    9,453

    defragster, good idea, but a similar, but better...

    defragster, good idea, but a similar, but better result for me. I built the tycmd without a hiccup, and it seems to be working fine. For the good case with T3.6


    $ tycmd upload...
  29. Replies
    42
    Views
    9,453

    Thanks again Nominal Animal, for the insights. ...

    Thanks again Nominal Animal, for the insights. As a general thing, I would like to learn more about the control process for kernel related software. I shall study the material you put together. I...
  30. Replies
    42
    Views
    9,453

    Many thanks for the info, Nominal Animal. The...

    Many thanks for the info, Nominal Animal. The URB race condition description sounds like it. This would seem like the key to getting this under control. Great! No apologies needed, your insights...
  31. Replies
    42
    Views
    9,453

    Thanks, buddym for the experiments. I have to...

    Thanks, buddym for the experiments. I have to admit it helps to see that you also see the issue :)

    I have been busy this last week on the Audio Vector Network Analyzer project, adding more...
  32. Replies
    42
    Views
    9,453

    FWIW, I went to IDE 1.8.13 and TD 1.53 a week or...

    FWIW, I went to IDE 1.8.13 and TD 1.53 a week or so ago and did not observe any change. My Linux kernel is 5.3.0-62, but again the change from 4.1.15 did not seem to change things.
  33. Replies
    42
    Views
    9,453

    Sounds great! Also, for info, there are two...

    Sounds great!

    Also, for info, there are two directories on Github
    https://github.com/boblark/TestLoadT
    that are the Arduino outputs, .eep, .hex, .elf, .sym and .lst:
    CompiledFiles_0_OK T4.0...
  34. Replies
    42
    Views
    9,453

    Here are 2 .hex and 2 .elf for T3.6 andT4.0, both...

    Here are 2 .hex and 2 .elf for T3.6 andT4.0, both sets with the begin() function in the constructor problematic spot. The code is unchanged, only the selection of a Teensy target is changed. The...
  35. Replies
    42
    Views
    9,453

    OK, I've been able to narrow down a specific set...

    OK, I've been able to narrow down a specific set of conditions that is consistent for me in creating the problem. And have also been able to isolate the area in the loading/booting process where...
  36. Replies
    42
    Views
    9,453

    Thanks, Paul. I am continuing to pursue an...

    Thanks, Paul. I am continuing to pursue an explanation for what I am seeing and when the data is totally solid, I will report back. I don't mean to add noise here :-) Bob
  37. Replies
    42
    Views
    9,453

    The celebration was fun! But brief :-( When I...

    The celebration was fun! But brief :-(

    When I went back to playing with a getting the OutputI2S class working with F32 and Teensy 4.0, and made more code changes, the crash problem came back. The...
  38. Replies
    42
    Views
    9,453

    Thanks Paul. Your "big picture" thinking was...

    Thanks Paul. Your "big picture" thinking was right on.

    When I inserted a x4 USB 2.0 hub, the crashes went away. This is not just for the test INO, but a two of others that had been problems. ...
  39. Replies
    42
    Views
    9,453

    It would appear that this crashing issue relates...

    It would appear that this crashing issue relates to the timing of constructors for at least the AudioOutputI2S (possibly others). Here is the observation. Steps 1 to 7 of post #10 are consistent...
  40. Replies
    42
    Views
    9,453

    Thanks much, I needed things to try. I first...

    Thanks much, I needed things to try. I first deleted modemmanager. No change that I could see, in loading.

    Then after a full backup, I updated to kernel 5.3 with no obvious issues. No change...
  41. Replies
    42
    Views
    9,453

    OK, here is an INO that has consistently created...

    OK, here is an INO that has consistently created the crash of the Loader and of Linux, listed above. Creating this problem, for me, only needs the Teensy3.6. It is the previous INO with a small...
  42. Replies
    42
    Views
    9,453

    Another update. The error messages with...

    Another update. The error messages with "discovery.debug=true" are as shown in #6, above, when the loader crashes. For reference, when the loader does not crash there is something to see:
    ...
  43. Replies
    42
    Views
    9,453

    Correction, in item 2, it should be or ...

    Correction, in item 2, it should be or /dev/ttyACM0 Serial (Teensy3.6)
  44. Replies
    42
    Views
    9,453

    Thanks much, Paul. Here are the results of your...

    Thanks much, Paul. Here are the results of your experiments. But first, a couple of notes. The problem went away for many tries, yesterday. I brought it back by running this same sketch on a T4.0...
  45. Replies
    42
    Views
    9,453

    Thanks for the ideas. udev rule is per that...

    Thanks for the ideas.

    udev rule is per that link.

    I tried !Serial, as

    /* TestLoader.ino Bob Larkin 3 July 2020
    */

    void setup(void) {
  46. Replies
    42
    Views
    9,453

    Loader crashes, Monitor closed, Linux

    The system is 64-bit Linux, Ubuntu 18.04, lots of memory, etc.

    1-Turn on PC
    2-Plug in T3.6 with Audio adapter, nothing else
    3-Open Serial Monitor
    4-Load simple INO

    /* TestLoader.ino Bob...
  47. I am also using Chip Audette's F32 library. ...

    I am also using Chip Audette's F32 library. There are differences in the timing hardware for 4.x that are not supported, and are not the same as for T3.6, say. So, I suggest you use the PJRC teensy...
  48. Replies
    2
    Views
    734

    Thanks, Pete. Here is the correct version with...

    Thanks, Pete. Here is the correct version with the name TestFIRGeneralLarge4_I16.ino


    /* TestFIRGeneralLarge4_I16.ino Bob Larkin 24 May 2020
    * Test the generation of FIR filters and obtaining...
  49. Replies
    2
    Views
    734

    Generalized FIR Filter Block

    I posted an equalizer block here, https://forum.pjrc.com/threads/60928-Audio-Equalizer-using-FIR. Discussion of that block showed that large FIR filters consumed only modest processor time with the...
  50. Replies
    33
    Views
    5,068

    Thanks, Frank B. That 3 cycles (T3.6 Cortex-M4)...

    Thanks, Frank B. That 3 cycles (T3.6 Cortex-M4) shows that the ARM FIR routine is getting about all there is!

    For the T4.0 some combination of hardware, programmer and compiler has caught the...
Results 1 to 50 of 162
Page 1 of 4 1 2 3 4