Search results

  1. M

    Stream audio from PC over UDP/IP to Teens 4.x

    Hi. I would like to try to stream audio packets over Ethernet from a PC to a Teensy 4.x. over UDP for playing the audio samples via the onboard D/A or SGTL codec on the Teensy. (Think of an Ethernet connected sound card). Has anyone done a similar thing and is there some code I can take a look...
  2. M

    How do I clear old text when printing text on ILI9341?

    I use these libraries (linked to github in the platformio.ini file via the lib_deps = paulstoffregen/ILI9341_t3@0.0.0-alpha+sha.ff4bba3e15 paulstoffregen/XPT2046_Touchscreen@0.0.0-alpha+sha.26b691b2c8 You mention a framebuffer possibility. This I remember from my old Amiga days. Writing to one...
  3. M

    How do I clear old text when printing text on ILI9341?

    I need to display and update some numbers fast on my ILI9341. I try to set the backgound color with Display.setTextColor(C_LTYELLOW, C_BLACK). However the text is overwritten but not cleared. It appears smeared out. I dont want to fill by using Display.Fillscreen(C_BLACK) because that slows down...
  4. M

    USB host port on Teensy 3.6 measures no 5V out

    I have no 5V out on the Teensy 3.6 host port. Do I need to instantiate a USBHost object for the 5V to turn on, do I need externally supplied 5V, do I need to bridge some jumper or may I have a defective board? I havent tried this example code yet. Will it enable USB host port 5V out? #include...
  5. M

    No USB Audio when selecting Serial + Midi + Audio. (OK when only Audio selected)

    I dont think that is the problem. Only when using the tool USBDeview to delete the USB registrations in Windows and un/re plugging the usb cable several times I somehow got audio thru. There are others reporting similar problems. Here is a quote from the low latency CW keyer project over at...
  6. M

    How to get USB serial, USB audio and USB Midi on Teensy 3.6?

    I got this working but only intermittently. There seems to be something related to how Windows 10 recognizes the USB device. Only when deleting the USB registrations with the tool USBDeview from nirsoft (free tool) and plugging in and out the Teensy USB connection several times I got it somehow...
  7. M

    Floating-Point Audio Library Extension

    I have the Floating point audio library running on my Teensy 3.6. After some USB trouble where I used the USBDeview tool to delete old USB info in Windows, I got audio from a mic connected to the SGTL5000 thru to USB and Audacity on my Windows 10 PC. However I have problems with distorted audio...
  8. M

    Audio + Joystick on Teensy 3.2?

    I have a similar problem now by may 2023.
  9. M

    No USB Audio when selecting Serial + Midi + Audio. (OK when only Audio selected)

    I need Serial and Midi and audio via USB. When selecting Serial + Midi + Audio in Tools/UsbType in the Arduino IDE this code sends no Audio to the PC via USB. When selecting only Audio in Tools/UsbType in the Arduino IDE the audio is sent to the PC just fine. However now we have no serial port...
  10. M

    How to get USB serial, USB audio and USB Midi on Teensy 3.6?

    Additional info Paul: I am in fact able to get serial data to the Serial monitor in the Arduino IDE when I select ONLY "Audio". With this setting Audio makes it thru to the USB port. .... This seems counter intuitive. I thought serial was turned off when you select only Audio.
  11. M

    How to get USB serial, USB audio and USB Midi on Teensy 3.6?

    Hi Paul. I now also compiled with the Arduino IDE. Same problem with the Arduino IDE so it is not PlatformIO related: just when ONLY "Audio" is selected there is audio thru to the USB Audio port. When "Serial+Midi+Audio" is selected there is no audio thru. I also tried "Everything" to no avail...
  12. M

    How to get USB serial, USB audio and USB Midi on Teensy 3.6?

    I tried that in PlatformIO, no audio out but serial works. If I select -D USB_AUDIO audio works. However i need the serial port for debugging. Tried the same code in Arduino IDE. No audio out but serial works. If I select -D USB_AUDIO audio works. However i need the serial port for debugging...
  13. M

    How to get USB serial, USB audio and USB Midi on Teensy 3.6?

    How do I get USB serial, USB audio and USB Midi on the Teensy 3.6? Is there a "-D directive" for PlatformIO for this?
  14. M

    Floating-Point Audio Library Extension

    How can I add the Open Audio library when I use PlatformIO and not the Arduino IDE? Is it poassible to include a link to the github repository?
  15. M

    ILI9341: how to increase intensity? (100 ohm resistor used)

    I am testing an ILI9341 in a Teensy 3.6 project. I think the intensity of the light / objects shown on the screen is too weak. I use a 100 ohm resistor to the LED pin of the ILI9341 display. Is it safe to reduce this resistor to increase the intensity or may this damage the display?
  16. M

    ILI9341 not showing graphics but touch works.Teensy 3.6

    EDIT: SOLVED. The problem was that I had wired SDI(MOSI) to the wrong pin. Hi, I try to get the ILI9341 working on a new Teensy 3.6 setup here. The touch works (verified by serial terminal outputs) but there is nothing displayed on the ILI9341. I have an audio board connected and used the...
  17. M

    Audio compressor

    Is there some working audio compressor code with basic adjustments available for the Teensy 4.x? (I noticed there seemed to be something in the floating point library? Has anyone tested that?)
  18. M

    Floating-Point Audio Library Extension

    I found this schematic (see page 4). https://ad5gh.files.wordpress.com/2023/02/qsd-qse-lo-board_v3.pdf I see there are many implementations of the QSE. Some use transformer on the output, some uses no transformer. There are also several types of OP amps used. I wonder what is the most optimal...
  19. M

    Floating-Point Audio Library Extension

    Hello experts. Is there a working audio compressor for voice use available for teensy now? Last time I looked (some years ago) I had to port some c code only with partly success.
  20. M

    Floating-Point Audio Library Extension

    Hello Bob. The plan is to make a standalone cessb exciter. Is there a IQ mixer design with si5351 clock generatotor I could take a look at somewhere?
  21. M

    Floating-Point Audio Library Extension

    Cool that the CESSB functionality has been included to the lib. If the "IF" out is around 10 KHz, how do I mix this up if I want to use it as a SSB transmitter? I guess I would need very sharp filters to get rid of the image product only 10 kHz away. Alternatively I guess one could use the I...
  22. M

    Why is there no audio thru from mic -> usb in this simple sketch? (whitenoise works)

    Why is there no audio thru from mic -> usb in this simple sketch? (whitenoise works) Can someone spot why there is no audio from the mic to the USB out? (Whitenoise works well to the usb2 device). Teensy 3.6, Audio board. I know the mic works because other sketches let Audio thru from mic...
  23. M

    Compiling Teensy Sketches with VisualCode (Win10)

    I just want to thank you so much for this great toolchain! Getting rid of that sucky Arduino IDE was a big relief. And being able to see the .h files and have an editor with .cpp on the left and .h on the right or pressing Alt+O to swap to the header is great. Now coding Arduino / Teensy is...
  24. M

    Compiling Teensy Sketches with VisualCode (Win10)

    How can I make a keyboard shortcut so that when I press for example SHIFT+F10 the Terminal/Run Build task / Upload (Teensy Uploader) is run. I would like to avoid having to use the mouse to go into that menu every time.
  25. M

    Compiling Teensy Sketches with VisualCode (Win10)

    How do I get a serial debug terminal via USB when using VisualTeensy / VisualStudioCode?
  26. M

    Compiling Teensy Sketches with VisualCode (Win10)

    Errrr..... ok so I havent installed TyTools it appears .... LOL :)
  27. M

    Compiling Teensy Sketches with VisualCode (Win10)

    Maybe another small issue? : The std uploader seems to work fine. However when I run Terminal/Run Task/Upload(TyCommander): > Executing task: C:/Users/user2/Documents/VisualTeensy_V0.84/make.exe uploadTy -j -Otarget < I get this error: process_begin: CreateProcess(NULL, \tyCommanderC...
  28. M

    Compiling Teensy Sketches with VisualCode (Win10)

    Yep ! [HEX] bin\visual_teensy_testproj.hex text data bss dec hex filename 40924 3476 34044 78444 1326c bin\visual_teensy_testproj.elf Sucessfully built project That worked. Thanks for the fix!
  29. M

    Compiling Teensy Sketches with VisualCode (Win10)

    Cool! Thanks! Is it this file that causes an issue with your makefile ? https://github.com/PaulStoffregen/Audio/blob/master/memcpy_audio.S
  30. M

    Compiling Teensy Sketches with VisualCode (Win10)

    That helped .... but now I get these errors. [LD] bin\visual_teensy_testproj.elf bin/lib/Audio//output_i2s.o: In function `AudioOutputI2S::isr()': C:\Users\user2\Documents\Arduino\visual_teensy_testproj/lib/Audio//output_i2s.cpp:101: undefined reference to `memcpy_tointerleaveLR'...
  31. M

    Compiling Teensy Sketches with VisualCode (Win10)

    Hi, there is no include settings in the expert setup panel of my VisualTeensy V0.8.2 There is the possibility to add something to makefile however ... I have no idea what syntax to use for that
  32. M

    Compiling Teensy Sketches with VisualCode (Win10)

    Compiler cant find include files I get several include errors like this: utility/dspinst.h: No such file or directory How do I set up the include paths? I tried to edit c_cpp_properties.json but I am not sure thats the correct location to edit... Pls advice. Nice tool by the way! I hate the...
  33. M

    Audio from AudioInputI2S works but data from AudioFilterBiquad does not work

    Hi there! I am not sure my fix is good enough to include into the repository. However I will inform the author.
  34. M

    Audio from AudioInputI2S works but data from AudioFilterBiquad does not work

    I was able to find the problem. There was a bug in the compressor code. The Audio lib was not the problem.
  35. M

    Audio from AudioInputI2S works but data from AudioFilterBiquad does not work

    I have a strange problem. Audio from AudioInputI2S (Mic in) works when feeding a block after it in the audio chain. i2s -> myblock Works But when the same data is sent first thru an AudioFilterBiquad instance and then to the same block after it there is no audio data...
  36. M

    Simpler way to compute sqrt(ch0^2+ch1^2)? My code example seems way to messy.

    Hi @DD4WH. I tested that AM demod written by Pete that you sent a link to and it did exactly what I wanted. Also it was quite easy to understand since it was used 16 bit vars instead of 32.
  37. M

    Simpler way to compute sqrt(ch0^2+ch1^2)? My code example seems way to messy.

    Thanks for clearing that up! Yes its a bit confusing when there is 2 samples in one variable. Is it correct that the data format from the sgtl5000 is Q1.15 format?
  38. M

    Simpler way to compute sqrt(ch0^2+ch1^2)? My code example seems way to messy.

    Can someone explain to me the audio format used in the Teensy Audio library (Teensy 3.6 and Audio board): How is the data in the uint32_t variable named data organized? uint32_t *pa; blocka = receiveWritable(0); pa = (uint32_t *)(blocka->data); uint32_t data = *pa; Are there two 16 bit...
  39. M

    Simpler way to compute sqrt(ch0^2+ch1^2)? My code example seems way to messy.

    Hi. I am trying to make an audio function that takes two channels in a and b. It computes root = sqrt ( ch0^2 + ch1^2) Below is my very messy attempt. I will use only Teensy 3.6. No need to have ifdefs for other cpus at the moment. First of all, what is the data format that audio channels...
  40. M

    What does signed_saturate_rshift(val, 16, 0); do?

    @Frank B So we basically divide by 2^rshift first to scale down. Then if the scaled down result is above 2^bits then the result returned is no larger than 2^bits ?
  41. M

    What does signed_saturate_rshift(val, 16, 0); do?

    What does the signed_saturate_rshift(val, 16, 0); ] in the mixer class do? I assume the val variable cannot overflow so it is an overflow preventer... but what does the other 2 parameters (..,16,0) specify ? More complete code: static void applyGain(int16_t *data, int32_t mult) {...
  42. M

    How to use cpp code as a "black box" with the Audio System Design Tool?

    OK thanks. Got it running it seems. It seems that I have to use: // Get data block = receiveWritable(0); // Code for processing here // { // } // Now send transmit(block); // and release release(block);
  43. M

    Got audio compressor code running. Now how do I debug the levels?

    I got the audio compressor code from MarkzP running https://github.com/MarkzP/AudioEffectDynamics on my Teensy 3.6 it seems. I am completely new to the Teensy platform. To install the compressor library I just used the Arduino library manager and installed the zip from the Git archive...
  44. M

    How to use cpp code as a "black box" with the Audio System Design Tool?

    I would like to do some experiments with some audio compressor / limiter code I found here: https://github.com/MarkzP/AudioEffectDynamics/blob/master/effect_dynamics.cpp I have the Teensy 3.6 and the Audio board as well as the small mic up and running. Is there a straight forward way to use...
  45. M

    MIDI IN on Teensy?

    I want to experiment with different Audio filters cutoff frequencies and different compressor settings on the fly on my Teensy 3.6 (I have the audio shield connected). Instead of doing one setting at a time in C++ code and having to recompile, I would like to use a USB MIDI controller with...
  46. M

    Move code developed on teensy to cpu on my own pcb

    I would need a way yo let customers do a firmware update from a PC via USB. Can I use a different open bootloader for that? (just flashing a binary image)?
  47. M

    Move code developed on teensy to cpu on my own pcb

    Is there anything preventing me from moving code developed on the teensy to a cpu on my own pcb for a commercial product? Bootloader closed? Licensing issues?
  48. M

    Teensy Convolution SDR (Software Defined Radio)

    Hi. Can someone explain in intuitive terms how a convolutional SDR works in comparison to a traditional sdr either using weaver method or sideband filter techniques.
Back
Top