Search results

  1. P

    NOMAD - Cyberpunk2077 inspired guitar project

    Power section and related adventures: for the power section i went with the IP5328 power bank controller chip, mainly because it's a compact one chip solution to get multiple fast charging protocols and a stable 5V output. Plus the IP5328 chip is one of not so many actually having any datasheet...
  2. P

    NOMAD - Cyberpunk2077 inspired guitar project

    The drone synth and the preliminary version of the looper in action. Amp/cabinet sim and effects (delay, reverb) are also Teensy based (TGX4).
  3. P

    NOMAD - Cyberpunk2077 inspired guitar project

    Visually it's pretty much finished. The only hardware part requiring more work is the battery. The power bank will be replaced with two 21700 cells with charger/5V boost board based on IP5238 with I2C and few other signals exposed. Teensy will be able to directly read the charge/discharge status...
  4. P

    NOMAD - Cyberpunk2077 inspired guitar project

    I'm still waiting for new pickup covers, once installed i plan to make a proper photo session. Guitars play a quite important role in the CP2077 game, you can even go home and play some riffs. However, this one is not a reproduction of any guitar from the game. More a loose inspiration in...
  5. P

    NOMAD - Cyberpunk2077 inspired guitar project

    this project has been in the works for over a year now. The guitar is based on an DIY kit (Harley Benton JA) which is heavily modded and upgraded, mainly with electronics. Hardware design is split in three main parts: 1. Pickguard, a large PCB itself using an Cypress PSoC5LP MCU is...
  6. P

    Program accidentally erased?

    Exactly my thoughts, too. Power glitching is a common technique to make the MCU do weird things. It could also explain the other case with Teensy arriving blank: the restore did not happen somehow magically during the shipping, but the 1st power up could have glitched the GD32 to reflash the...
  7. P

    Stereo Plate Reverb for Teensy4.x

    This method applies only to a few components from my library. It's not a generic way to use PSRAM within the Teensy audio lib.
  8. P

    Stereo Plate Reverb for Teensy4.x

    Some of the RAM hungry effects have an option to start with their sample buffers placed in PSRAM. Using Stereo Delay as an example #include <Audio.h> #include <hexefx_audiolib_i16.h> #include <Wire.h> #include <SPI.h> #include <SD.h> #include <SerialFlash.h> // GUItool: begin automatically...
  9. P

    Stereo Plate Reverb for Teensy4.x

    For longer delays it's worth to add a PSRAM and move the buffers there. Since the delay and reverb objects allocate memory in runtime the RAM2 report does not include them. AudioMemoryUsageMax(); will tell the peak memory usage in blocks. Hope it helps! Have fun :)
  10. P

    pretty sure i let out the smoke

    TEA 1 0505 won’t be able to power Teensy4.1 + ESP32. 200mA max output current is not enough.
  11. P

    Help with Memory Allocation - Teensy 4.1 + LVGL + SquareLine Studio

    The online LVGL image converter adds more attributes to large constant arrays: #ifndef LV_ATTRIBUTE_IMAGE_IMG_NAME #define LV_ATTRIBUTE_IMAGE_IMG_NAME #endif const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMAGE_IMG_NAME uint8_t image_name_map[] = { ... }...
  12. P

    Teensy Amazon Products

    Yes, AGND and GND can be connected. VGND (ground terminal of the headphone jack) and either GND or AGND must not be connected. When you install both T4.0+AudioBoard on your board, does the Teensy work fine for some time until the voltage regulator overheats? Measuring the current would tell...
  13. P

    Help with ESP32 PSRAM

    use ps_malloc, it checks if the PSRAM is initialized. Also check if the returned pointer is not NULL before using it.
  14. P

    1.0mm breakout connector for the Teensy 4.0 uSD pads ?

    Not the ideal solution, but in some situations might be enough - made this some time ago and have been using for over a year now. T40 SDIO << link to github repo
  15. P

    Teensy 4.1 PSRAM and flash

    To add another potential failure source of the PSRAM chips, in my case it was Lyontek bought few years ago at LCSC: if the chips were stored for a longer period of time and not backed to remove any moisture they can fail while reflowing, either with hotair or in an oven. I've had this happen a...
  16. P

    Universal MIDI Expression Pedal

    What Bill said, i forgot to change the comments on the schematic. My bad. Will fix the repo asap. LOW (Exp pedal mode) should be the default setting even if there is no logic signal applied at TRCTRL, R12 keeps it low if the input is floating.
  17. P

    Teensy4.1 with SGTL5000 REV D Audio Shield

    Could be the wiring. Can you try the board plugged directly ontop the Teensy instead of using jumper wires? Normally, when the AudioBoard is plugged directly, the path between the red and yellow GND points is shorted within the Teensy. Looking at the traces the Volume pot GND is routed to the...
  18. P

    New polyhonic Teensy DIY Sampler

    Lots of fun! :) The LFO depth control works a bit different from the usual one Depth knob version. Top + Bottom sets the boundaries, the LFO will be shifted to operate in the Top-Bottom region (they can be flipped). Setting the Bottom to 0 and the Top to 100 will result in maximum modulation...
  19. P

    New polyhonic Teensy DIY Sampler

    It's not missing, Reverb&Delay internal mix is fixed to 1.0 (full Wet) because there is an external Dry/Wet mixer for the Delay/Reverb combo. Main tab has controls for the mix ratios. Having too many mix controls would be confusing. Also the Bypass function for the reverb and delay is set to...
  20. P

    New polyhonic Teensy DIY Sampler

    There was an update for the Phaser in the library, click Dependencies/Update in the Platformio, it will pull the changes from github. The Feedback control for the Phaser has 0 at value 50 (CC value 63), with negative maximum at 0 and positive max at 100. Positive & Negative feedback gives a...
  21. P

    New polyhonic Teensy DIY Sampler

    Hi Rolf, if you'd like to play more with effects, i have just created an example project including: Plate Reverb, Ping Pong delay and Phaser. https://github.com/hexeguitar/Teensy40-FX-Module This is the signal path: The parallel Delay/Reverb path allows to use the Freeze functions, ie...
  22. P

    Stereo Plate Reverb for Teensy4.x

    Oh, i forgot about the mix. Fixed. You can build your own html interfaces by adding buttons (sending Midi NoteON/Off) or dials sending ControlChange. The part where the code starts is here. For example: adding <midi-encoder label="Mix\n%p" chan="1" cc="52" colour="#FFF9C4"...
  23. P

    Stereo Plate Reverb for Teensy4.x

    PCM5102 is configured using hardware pins. It doesn't need any software driver, so just remove any SGTL5000 related includes and functions. The "control" objects are required only in cases where the chip has to be configured via I2C or other means to match the Teensy I2S settings.
  24. P

    Stereo Plate Reverb for Teensy4.x

    Thanks! Should be fixed now.
  25. P

    Stereo Plate Reverb for Teensy4.x

    I see git added the branch name to the directory, try renaming it to: c:\Users\rolfd\Documents\Arduino\libraries\hexefx_audiolib_i16
  26. P

    Stereo guitar/bass cabinet emulation

    I've been using a stereo I/Os for most of the effect components, even if the internal processing is mono. This way i can build a stereo rig, when using effects like reverb/delay only or combine mono/stereo. There is a SignalSelector component in the lib, placed at the input, it can route L->LR...
  27. P

    Stereo Plate Reverb for Teensy4.x

    I am following your sampler project with great interest. Hope you will find the new effects useful :)
  28. P

    Stereo Plate Reverb for Teensy4.x

    You are mixing a floating point (_F32) component with stock 16bit Audio Library. Use this version: https://github.com/hexeguitar/hexefx_audiolib_i16 The "_i16" version is compatible with the stock Teensy audio. Gui with the extension components is available here...
  29. P

    Teensy4.X I2C issues if using Audio.h

    Do you really need two I2S busses for the T4.0? The master (T4.1) provides all I2S clocks, both T4.0 and the DAC could be I2S Slaves with T4.0 put in series in the data line, something like this: I have just run a test using ESP32 as I2C master, repeatedly sending 20 and 55 to addr. 40 T4.0...
  30. P

    Teensy4.X I2C issues if using Audio.h

    I2S + I2C master has been tested and works, since even the SGTL5000 codec needs the I2C for configuration or parameter change on the fly. Based on that i think we can assume the issue is with the T4.0 running the I2S + I2C slave? Have you checked what happens if you disable the Audio on the...
  31. P

    New polyhonic Teensy DIY Sampler

    Really nice project Rolf! Besides, just wanted note how elegant and intuitive the schematic drawing is. Beauty! For the FX module, perhaps this could be an inspiration. Some time ago i started to work on an adaptation of the Jeannie Synth, with most components being SMT, AUX in (using codec...
  32. P

    2 Mono mics (repost from Project Guidance Forum)

    The linked electret microphone modules already have the preamps built in, based on MAX4466 as the name of the offer implies. I see no output DC blocking capacitors, but the Teensy audio board have them installed on both Line inputs, so these modules can be connected directly to the Line inputs...
  33. P

    Introducing the T-DSP TAC5212 Pro Audio Module – Help Needed Getting Clock Sync on Teensy 4.1

    1 bit delay is specified in the I2S format. MSB justified mode is similar, but has no delay. FSE should be set to 0 to remove the delay. Looking at the code for the TDM output, that bit it set by default, same for the receiver side. What i would do is as usually, approach the issues step by...
  34. P

    Help bringing up WM8904 on Teensy 4.1

    By default it starts in slave mode, which is also correct. With the ADC data internally routed to DAC it won't work if the externally supplied clock signals (Teensy) do not match the default i2s settings, hence the loopback mode also doesn't work. That's how i understand it.
  35. P

    Help bringing up WM8904 on Teensy 4.1

    Looking at the Datasheet listing the startup seq, i see a bunch of power up commands and clk enabling, the I2S config holds the default values, i guess. These values are almost correct, except the word length, which is by default set to 24bit reg 19h: 3:2 AIF_WL [1:0] 10 Digital Audio...
  36. P

    Guitar input to Audio Shield.

    A guitar with active pickups will have the buffer is already built in. Otherwise, i'd recommend a HiZ buffer. Plenty projects are available online. I've made a simple stereo buffer project which can be soldered on a perf board: https://github.com/hexeguitar/TGX4/blob/main/diy_buffer.md Since...
  37. P

    Teensy audio - Mic IN interférence

    If this means that you are connecting the jack on the AudioAdaptorBoard to an external device, like an amplifier or an audio interface, then it might be the problem. This Jack is a headphone output, referenced to a virtual ground (which is not the same as normal signal GND). This output should...
  38. P

    Universal MIDI Expression Pedal

    It is not that bad as it sounds. Understanding what the capacitor does and which parameters are critical allows to use the X7Rs without problems. They work in millions of devices. To test, i've picked up two 0603 caps made by muRata, both available via EasyEda library: 0603 100nF X7R...
  39. P

    Universal MIDI Expression Pedal

    Schematic: got last small changes: in the gain setting area I've moved the digital pot to the feedback loop of the opamp. This way the gain control will be linear with the correct range. Switched all decoupling caps to 0603 1uF to minimize the BOM. No need to chage them if you insist of using...
  40. P

    Universal MIDI Expression Pedal

    One small thing: according to the simulation the max gain needed when the Expression Pedal pot is 10k is 11x. Right now U1 provides the 11x gain when the digital pot is fully shorted (1+(R4/R5)). In practice the digital pot will have some series resistance, plus there are pot value variations...
  41. P

    Universal MIDI Expression Pedal

    Latest schematic:
  42. P

    Universal MIDI Expression Pedal

    Looks like it's the same part, different manufacturer. Should work fine.
  43. P

    Universal MIDI Expression Pedal

    This way: It's a fun project, close to what i have been doing for the last ~30 years. Happy to help or just throw ideas in. Hope you will document it with nice pictures! :)
  44. P

    Universal MIDI Expression Pedal

    The built in zener diode is rated for 5V, with 3.3V it will work below the reverse breakdown voltage, maybe pulling a tiny current only. The two pairs of clamping diodes (instead of 2xBAT54S) will work. I'm trying to use parts available at LCSC, but their parametric search is not the best. Found...
  45. P

    Universal MIDI Expression Pedal

    There are dual footswitches with stereo TRS jack output, like the Hotone Ampero FS-1 Making one is also trivial. The dual jack ones would have to use an 2xTS -> TRS adapter. With the TRctrl signal low: Plugging a dual footswitch using a TRS cable: Footswitch 1 Tip-Sleeve, read with...
  46. P

    Universal MIDI Expression Pedal

    D1 clamps the voltage coming into the opamp. For the ring, you are right, RC filter does provide some protection for the Teensy GPIO, combining R9 + Teensy's internal clamping diodes. I think, since there are two signals, i could throw an USB ESD protection chip there. The built it Zeners are...
  47. P

    Universal MIDI Expression Pedal

    A few points about the PCB design: Layers and stack up. This is a simple circuit, it is possible to route it on 2 layers only. Using 4 layers and with unconventional stack up - no dedicated ground plane, but the whole bottom layer is 3.3V, internal layers used to route a few tracks only is not...
  48. P

    Fast debounce needed

    Another option could be a HW Timer + Input Capture, which often already have glitch filters built in. Chapter 56 in the https://www.pjrc.com/teensy/IMXRT1060RM_rev3_annotations.pdf The quadrature decoder logic can be bypassed (bit 9 in the CTRL register). It has a configurable glitch filter...
  49. P

    Universal MIDI Expression Pedal

    Is the "PEDAL" connector keyed, like the JST ones? Or just a pin header? Having the Vcc and GND as 1st and last pin will create short of someone accidentally plugs the cable backwards. Putting GND right after VCC will be safer. I can take a look at the layout if you share it. I have an EasyEda...
Back
Top