Search results

  1. D

    LittleFS port to Teensy/SPIFlash

    OK- I think I know what this is. You either need to rename my FS-Teensy files to something the FS-Test.h and update both littlefs and sdfs to use the new names or just temporarily delete/remove FS.h from the teensy directory- It's not used by anything anyway yet.
  2. D

    LittleFS port to Teensy/SPIFlash

    You need the SPIMemory version in my GitHub repository (now updated to actually work). https://github.com/dirkenstein/SPIMemory.git Dirk
  3. D

    LittleFS port to Teensy/SPIFlash

    I need to push an SPIMemory update before this will work. Are you trying to compile this on a teensy 3? I think that may not work as there is already an FS.h header in the core library and all my tests and define checks are against teensy 4.
  4. D

    LittleFS port to Teensy/SPIFlash

    Just wanted to confirm the stock SPIMemory should work for you. Are you trying to compile this on a teensy 3? I think that may not work as there is already an FS.h header in the core library.
  5. D

    LittleFS port to Teensy/SPIFlash

    LittleFS examples updated to support Teensy. now in the repo. Oh, and BTW the BD directory in littlefs needs to be removed as it doesn't compile under teensy.
  6. D

    LittleFS port to Teensy/SPIFlash

    Sorry, the examples are not up to date. They need some namespace /include file logic adding. I will copy fixed versions in tonight, as well as a complex example program that uses both SDFS and LittleFS. The SPIMMemory version in my repo hasn't eean updated with my changes yet.
  7. D

    LittleFS port to Teensy/SPIFlash

    https://github.com/dirkenstein/FS-Teensy.git https://github.com/dirkenstein/SDFS-Teensy.git https://github.com/dirkenstein/LittleFS-Teensy.git https://github.com/dirkenstein/littlefs.git It also needs an updated SPIMemory library which i will place on GitHub ASAP
  8. D

    Partitoned Convolution and EXTMEM perfromance

    Pity, I was hoping there was a 'magic' way to make it work. I really liked the idea of convolution reverb in a tiny box. As a cab sim it sounds really good with some quality IR wav files. Reorganising the algorithm for more locality and caching doesn't look feasible given that adding a simple...
  9. D

    Partitoned Convolution and EXTMEM perfromance

    I tried it as well in both the memory test program and my partitioned convolution code. It's faster, but not fast enough, unfortunately. Are we sure it's using multiple SPI 'lanes' for each chip?
  10. D

    Partitoned Convolution and EXTMEM perfromance

    That's a real shame. I was hoping somebody would find the PSRAM is only running on 1 SPI bus or something similar and we could double/quadruple the speed with Dual/Quad SPI. Or we could modify the algorithm so it had greater locailty or only needed to touch a limited region of the two buffers...
  11. D

    Partitoned Convolution and EXTMEM perfromance

    I am trying to modify bmillier's partitioned convolution filter to use EXTMEM arrays on Teensy 4.1 for storing its large internal buffers but I am running into severe performance problems with it. I can move the IR buffer and maskgen arrays to EXTMEM with no significant performance impact...
  12. D

    Freeverb with low input levels ==> noise and wierd oscillating "tone" ?

    yes, but it will need modification to handle the fact that the floating point library uses dedicated AudioStream_F32 classes etc. Not a big job but I will look into it.
  13. D

    Freeverb with low input levels ==> noise and wierd oscillating "tone" ?

    Floating Point Version https://github.com/dirkenstein/FreeverbFP
  14. D

    Freeverb with low input levels ==> noise and wierd oscillating "tone" ?

    Even with that fix, i'm getting some weird 'crackly' artefacts with real-world input noise. I don't know where the crackles are coming from, but they are not audible in the clean signal but very noticeable in the reverb output. This is for guitar effects using a Blackaddr audio TGA Pro board...
  15. D

    Bricked Teensy 4.0- not enough stack space?

    Thanks, the recovery process un--bricked it. I wasn't holding the program button down long enough.
  16. D

    Bricked Teensy 4.0- not enough stack space?

    I've just bricked a teensy 4.0 which won't show up in USB anymore. It goes into program mode OK when if you press the program button (red light comes on) but teensy loader never sees it (1.53 Mac 10.14). I've tried pressing the program button before plugging in the USB but that doesn't help...
  17. D

    DD4WH Convolution Filter Audio Object- truncating impulse responses

    32% with a 8192-tap filter. The memory usage is hard to estimate, at least 300k. The issue is that allocating from RAM0 requires me to have a 384K static block of memory preallocated as you can't use malloc/free in that RAM bank. 92% with a 24500-tap filter. Any more and it runs out of...
  18. D

    DD4WH Convolution Filter Audio Object- truncating impulse responses

    Hi, I managed to convert DD4WH's partitioned convolution filter code into an AudioObject- It seems to use more CPU that way but it does work. It uses a _lot_ of memory with large parameter files but that's inevitable given the algorithm. Is it worth trying use PSRAM to store the arrays-...
  19. D

    Can i modulate the delay time?

    Yea, i had a look at the delay object in the audio library and the delay was configurable for each tap, but not modulatable. We're also short of a pitch shifter/playback speed object. And I'm no whiz at DSP. The design of a modulated delay is rather beyond me. Now filesystems I can help with...
  20. D

    Can i modulate the delay time?

    Hi, was hoping to implement a crude emulation of the old oil-can delay effect using a digital delay line with two taps and a configurable bandpass filter feedback loop. I was wondering if I can modulate the delay time with an LFO to simulate the 'wobbliness' of the original oil can effect or...
  21. D

    Teensy 4.0 power button and brown-out detection?

    Tried extra capacitance- it's not a spike value- it's the overall draw being over 250mA when most of the display is lit (i.e more than 150mA for the display). I just put the display on a separate 3.3v regulator. I've has success with the T4_PowerButton library. It basically does what I need...
  22. D

    Teensy 4.0 power button and brown-out detection?

    Hi, The onboard 3.3v regulator for the teensy 4.0 seems to be quite sensitive to spike overload current, so much so that i needed a standalone regulator for a project using a particularly power-hungry OLED display. Is there any way to detect brown-out on the Teensy? i was getting some deeply...
  23. D

    USB Host Ethernet Driver

    OK totally confused- this is related to compiler optimisation- it stops working when set to 'debug'.
  24. D

    USB Host Ethernet Driver

    I definitely pulled the latest versions from GitHub - but I'm only getting results when USBHOST_PRINT_DEBUG is set in USBHost_t36.h . benchtx is reporting about 13Mbit on TCP.
  25. D

    USB Host Ethernet Driver

    Teensy4 600MHz 1.48 , IDE 1.8.10, compile mode is debug. How do I tell if the version I have has the debug information issue? I assume the version that fixed this was pushed to GitHub?
  26. D

    USB Host Ethernet Driver

    My mistake- the vendor ID is 0x0B95 not 0x0895 in the source code I have. I read 0x0895 for 0x0B95. I think i need better eyes... However, i definitely can't get it to start up unless debug is enabled in USBHost_t36.h.
  27. D

    USB Host Ethernet Driver

    VID 0x0b95 PID 0x772b Claims to be an AX88772B The version of TeensyAsixEthernet i pulled from GitHub had VID set to 0x0895 in claim()
  28. D

    USB Host Ethernet Driver

    Finally got it to work on my AmazonBasics USB adapter- has the vendor ID 0x0b95 rather than 0x0895, though. Gets a DHCP address and is pingable. Also, it only seems to work when USBHOST_PRINT_DEBUG is enabled. No idea what is causing the failure without the print() and println() enabled but...
  29. D

    AudioEffectFreeverbStereo - self-resonates with (internal) noise impulse?

    Found the origin of the artefacts- I was feeding FreeverbStereo two channels instead of one- that overwrote one of the internal comb filter buffers silently and introduced a periodic noise. However, the original question still stands- is the right channel output buffer being populated from the...
  30. D

    AudioEffectFreeverbStereo - self-resonates with (internal) noise impulse?

    With damping set to 0, I've had some very odd periodic noise impulse artefacts turning up in the output of FreeVerbStereo, even with the input at 0 volume over sustained periods. Anyway, i spotted something which might be irrelevant but seems to cure the issue when changed: In the last line of...
  31. D

    PDM for simple audio ouput (no i2s DAC)

    Can confirm that MQS works nicely, but there still may be a use for the PDM Filter: the MQS pins are the same as the hardware SPI so unless those can be remapped, this could allow the use of SPI at the same time.
  32. D

    PDM for simple audio ouput (no i2s DAC)

    Sorry wasn't aware of MQS or the output_mqs class in the audio library (it's not in the audio design tool). I keep on finding useful things that I wish I knew about! Might still be useful for two-channel output (1 via MQS, 1 via i2s) but you're right, it's redundant. Dirk
  33. D

    PDM for simple audio ouput (no i2s DAC)

    Based on an idea from here: https://www.hackster.io/janost/audio-hacking-on-the-esp8266-fa9464 I've just built a filter you can place in front of an AudioInterfaceI2S object that converts a single AudioStream stream to a PDM modulated stream with half the bits on one and half the bits on the...
  34. D

    LittleFS port to Teensy/SPIFlash

    I have a crude proof-of-concept port of the ESP8266 implementation of LittleFS to Teensy using SPIFlash. Except for the fact that the included SPIFlash library seems to hang with my 8Mbit Winbond chip (I had to use the version from GitHub) everything appears to work on a first pass. Is there...
  35. D

    Teensy 4.0 Watchdog?

    Hi, does anybody have sample code for activating the watchdog timer on Teensy 4.0- the examples I have seen are are all for 3.x?
  36. D

    Teensyduino 1.48 Beta #1

    Strange behaviour with Teensy 4.0 1.48-beta1 on 1.8.10 MacOS 10.13. I can't get the Adafruit SSD1306 (1.3.0) library to work unless I set optimise to 'Debug' or 'Smallest Code'. This is using the included demo program ssd1306_128x64_i2c. Any other setting hangs the usb serial console during...
Back
Top