Search results

  1. P

    T4.1 Ethernet board

    Board for HanRun HR91105A MagJack An excellent idea! I've done another board for the readily available HanRun HR91105A MagJack. It's yet to be tested, as I'm still awaiting the PCBs. The repo is at https://github.com/palmerr23/Teensy4.1_Ethernet_Board
  2. P

    XLR Input on Audio Shield

    I've put the Eagle files up on my github https://github.com/palmerr23/AudioToy for the two preamps and line amp. BTW, the XLR connectors go under the PCB. Have fun!
  3. P

    XLR Input on Audio Shield

    Post implementation Jon, The core and line input amps work just fine. I've had it in production for 6 months now as an 8x8 foldback mixer running out of the effects insert jacks on the main FOH desk. I run the balanced outputs through network cable (RJ45's) into a transformer isolating unit...
  4. P

    Teesny audio over UDP

    Good news that you have sorted the basics and have it working (sort of) over Ethernet. Were you transferring 20 separate streams, or just broadcasting a single stream to 20 devices? The non-blocking QNEthernet sounds good, and I might resurrect my audio library ethernet transport layer to...
  5. P

    [posted] AudioToy - modular 8x8 channel Teensy 4.0 pro-grade audio mixer hardware

    Jay, The Line/instrument preamps have very high impedance (FET op amps) > 1M. So, yes to guitars on those inputs. The line inputs on the Mic / line boards are 35k, so not good for electric guitars, but fine after most pedals. Mic inputs are relatively Low-Z, suitable for dynamic or electret...
  6. P

    [posted] AudioToy - modular 8x8 channel Teensy 4.0 pro-grade audio mixer hardware

    On request, I have updated the repository with JLPCB assembly files (CPL and BOM) for those who might want to go down that path. For those that are interested in assembled boards, banding together for a production run could significantly lower the unit costs. Richard
  7. P

    Teesny audio over UDP

    It all depends on how many channels of audio you want to transfer! Using the standard 48kHz / 16bit format of the audio library, you would need at least 1MHz bit rate per channel (~768kHz + some overhead for packet framing, start and stop bits, etc). Paul lists up to 4MHz transfer rates for...
  8. P

    Can teensy 4.0 connect wifi ?

    I use an ESP8266 or ESP32 connected via a serial interface to connect to WiFi. For good WiFi audio transmission, you need a substantial receive buffer (and therefore audio delay) as there tend to be lots of dropped packets and resends. An ESP32 can manage this, but the 8266 tends to stutter due...
  9. P

    [posted] AudioToy - modular 8x8 channel Teensy 4.0 pro-grade audio mixer hardware

    MaltWhiskey, The code is fairly straightforward - it uses serial transmission. All packets are of this format: struct chanNamePktO{ // output channel names int8_t pktType = PT_ONAMES; uint8_t groupID; // which controller (multiple sets) is being managed? char name[OUTCHANS][NAMELEN]...
  10. P

    [posted] AudioToy - modular 8x8 channel Teensy 4.0 pro-grade audio mixer hardware

    M4ngu, Sorry, I missed the word "input" in your message and went straight to the schematic. If we're still talking about an ADC with -ve inputs, then a more straightforward way to achieve the desired outcome is to use a voltage divider on the signal and take it to the -ve input; and tie VQ to...
  11. P

    [posted] AudioToy - modular 8x8 channel Teensy 4.0 pro-grade audio mixer hardware

    OK, you've reverted to a basic, non-inverting op amp here, which has the advantages of simplicity, but also some drawbacks. You've totally done away with the -ve DAC output here which allow your zero point to be non-specified. Your voltage divider will only approximate the 0 sample level and...
  12. P

    [posted] AudioToy - modular 8x8 channel Teensy 4.0 pro-grade audio mixer hardware

    M4ngu You are correct that removing the blue-circled capacitor will provide a DC output. You are also correct that the red-circled capacitor needs to be removed to provide a ground reference for the + input. There will probably be a few millivolts residual DC offset, however. This can be...
  13. P

    [posted] AudioToy - modular 8x8 channel Teensy 4.0 pro-grade audio mixer hardware

    Yes, it's relatively straightforward to add DC bias to a single-ended input, but a little more complex for balanced. Of course, for LFOs, balanced isn't relevant. Small input offsets will remain, which as you say can be digitally removed - the CS42448 provides some help in doing this with a...
  14. P

    [posted] AudioToy - modular 8x8 channel Teensy 4.0 pro-grade audio mixer hardware

    On the 'differential' issue - yes fully differential in and out, other than inputs 7-8, which are only differential at the preamp stage, reverting to single ended at the ADC. I couldn't find a readily available 2-channel ADC that would work in auto-detect slave mode that had differential...
  15. P

    [posted] AudioToy - modular 8x8 channel Teensy 4.0 pro-grade audio mixer hardware

    Yes, I agree wholeheartedly with your preference with 'op amp' style schematics. They are much easier to decipher. Sadly, I'm limited to what the manufacturers (or more commonly with these 'box' symbols, SamacSys or some other 3rd party who create Eagle libraries under contract). With the...
  16. P

    CS42448 board update for T4 pinouts and improved performance

    Neal, Your sketch looks fine. I haven't used the setAddress() function, but can't see why that would contribute. I guess you mean the I2C address is 0x48 + 3. No delays in my startup code: cs42448_1.enable(); // mutes all outputs cs42448_1.volume(0.1); // low volumes to start...
  17. P

    [posted] AudioToy - modular 8x8 channel Teensy 4.0 pro-grade audio mixer hardware

    M4ngu, Hard to read in what sense? Too small? Not enough information? They're in currently standard Eagle schematic format, and that's a bit hard to change! I'm not sure what 'op-amp stage style' is, can you post an image of a small section of a schematic in that style? R
  18. P

    CS42448 board update for T4 pinouts and improved performance

    Neal, I haven't had any issues with VQ and haven't needed to tweak the 'magic bit'. I always buffer it before using VQ. I use the standard Teensy Audio Library CS42448 control, and the only change I make is to turn differential inputs on. // change ADCs 1-3 (channels 0..5) to differential...
  19. P

    CS42448 board update for T4 pinouts and improved performance

    I have (finally) published full details of this project - including Gerbers, BoM, schematics and design notes, on my github: https://github.com/palmerr23/AudioToy Cross posting in the Projects section of the forum includes some photos...
  20. P

    [posted] AudioToy - modular 8x8 channel Teensy 4.0 pro-grade audio mixer hardware

    AudioToy is a set of modules to complement an 8x8 CS42448-based Teensy 4.0 audio board, providing fully balanced, software gain-controlled input and output modules. Fully balanced or unbalanced microphone, line and instrument inputs are supported and the output stages can drive 600 ohm loads at...
  21. P

    Missing code written for CS42884 object - Audio Library

    Thanks for catching it. The other post is correct. The steps are 0.5dB therefore the multiplier should be -40. // convert level to volume byte, section 6.9.1, page 50 uint32_t volumebyte(float level) { if (level >= 1.0) return 0; if (level <= 0.0000003981) return 255; return...
  22. P

    TDM using the odd channels for 24 bit audio

    I'm working on an 8x8 matrix mixer using my updated CS42448 board (see https://forum.pjrc.com/threads/58836-CS42448-board-update-for-T4-pinouts-and-improved-performance) As per the instructions I'm only using the even TDM channels. I'm wondering whether there's any intelligence in the odd...
  23. P

    Teesny audio over UDP

    Yes, I'm familiar with jack, but only at a single machine level. Sadly, jack isn't not cross-platform, but that doesn't mean that there aren't some useful things to be learned from their mature approach to all things audio! I'll have a look at its re-sync capabilities when I get back to UDP...
  24. P

    Teesny audio over UDP

    I was working on a similar project a year or so ago and created a 2 channel UDP transport object for the Audio library. Code is here: https://github.com/palmerr23/EtherAudio Discussion here: https://forum.pjrc.com/threads/58660-Ethernet-audio-library-ready-to-beta-test It works quite nicely...
  25. P

    CS42448 availability?

    If you have a very steady hand and good access to solderwick it is possible. The technique I'd try is using solder paste (rather than solder wire) and running a soldering iron across all the pins (gently), then tidying up. I, personally, use a SMD oven and solder paste (hand applied) and then...
  26. P

    TDM Matrix mixer

    An update on this project... The core is a CS42448/CS5343 8x8 Teensy 4.x audio Board with balanced inputs and outputs available on headers, rather than through TRS jacks. Inputs and outputs are processed by daughter boards to provide flexibility. Currently I have two input options and a...
  27. P

    CS42448 availability?

    Mouser still has some -CQZ stock. 174 shown in stock as of this morning. I bought some last week, so they're real! BTW, my 8x8 fully-balanced ins and outs boards are now pretty much ready for release to the world, happy to share them with you if that will help your project forward. They are...
  28. P

    Confirming TDM stacking header pins

    I eventually found the confirmation in another of Paul's Hackaday posts: https://hackaday.io/project/176368-dual-interleaved-cs42448-chip Others may find the information useful.
  29. P

    Confirming TDM stacking header pins

    Hi, I'm tidying up my CS42448/CS5343 8x8 audio board and just want to confirm the pinouts for the stacking header. I've got this list by reverse engineering the Hackaday board pictures. BTW, the revised board is part of a complete 8x8 audio mixer setup that features: 8x8 fully balanced...
  30. P

    Missing code written for CS42884 object - Audio Library

    Hi Paul, I was testing some CS42448 functions and found that some of the function overloads for .output() and .input() led to empty servicing code! Here is the missing code for control_cs42448.cpp: bool AudioControlCS42448::volumeInteger(uint32_t n) { uint8_t data[9]; data[0] = 0; for (int...
  31. P

    Missing CS42448 control functions written

    Correcting my own post! I set the wrong base for the register bank. // Output channels defined as [1..8] bool AudioControlCS42448::volumeInteger(int channel, uint32_t n) { write(CS42448_DAC_Channel_Mute, 0); // unmute all channels return write(CS42448_AOUT1_Volume_Control + channel...
  32. P

    Missing CS42448 control functions written

    And a correction to a definition in the .h file. The function's max return value should be 255, rather than 128, for a gain of -127.5dB. // convert level to volume byte, section 6.9.1, page 50 uint32_t volumebyte(float level) { if (level >= 1.0) return 0; if (level <= 0.0000003981) return...
  33. P

    Missing CS42448 control functions written

    Hi Paul, I was testing some CS42448 functions and found that some of the functions for .output() and .input() were blank! Here is the missing code: // Output channels defined as [1..8] bool AudioControlCS42448::volumeInteger(int channel, uint32_t n) { write(CS42448_DAC_Channel_Mute, 0)...
  34. P

    Crosspoint Mixer

    Thanks again.
  35. P

    Crosspoint Mixer

    Thanks, very neat! 16x16 should be enough for anyone.
  36. P

    Ethernet audio library ready to beta test

    Sorry, I haven't tested the Ethernet functions ***AT ALL*** on the T4 (and particularly not on a T4.1's native ethernet port). As there are different branches of code all through the libraries for the T4, it's likely that there may be something that's significantly different enough to break the...
  37. P

    Fastest way to get the content of the two queues transferred to the PC

    OK, I thought that you just wanted audio to be available on the PC. I guess you'll just have to create an output object that writes to "Serial". It's not particularly difficult - just clone another Output object (C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Audio) and modify it...
  38. P

    Fastest way to get the content of the two queues transferred to the PC

    Use the USB Output object and set the Serial device type in Arduino to Serial + Audio + MIDI You should find plenty of references to USB audio in the forum and in the Teensy Audio System Design Tool notes https://www.pjrc.com/teensy/gui/index.html?info=AudioOutputUSB Have fun!
  39. P

    TDM Matrix mixer

    Sure, Live monitor matrix mixing, quite like the venerable Aviom setups in concept, other than the audio is not (yet) routed over the network cables, instead delivered via spare multicore channels (for now), as I haven't yet managed to get low latency/high reliability WiFi audio delivery...
  40. P

    TDM Matrix mixer

    Hi, I use a variant of Paul's CS42448 board - see https://forum.pjrc.com/threads/58836-CS42448-board-update-for-T4-pinouts-and-improved-performance it provides 8x8 with a CS5341 ADC for the extra two input channels, it also provides balanced ins and outs, raising the noise floor (potentially)...
  41. P

    Crosspoint Mixer

    I've updated macaba's very useful crosspoint mixer to work with Teensy 4s and gave it flexible numbers of inputs and outputs. I haven't tried it past 8 x 8. The code is at https://github.com/palmerr23/TeensyAudioMatrixMixer
  42. P

    TDM Matrix mixer

    Thanks - both of you. Mark - the app is actually an 8x8 matrix mixer - so I'll take the creation order from the Audio Tool, as you suggest, and build it into the code that generates the mixer objects and connections. Manicksan - I searched the forum for "matrix" mixer rather than "crosspoint"...
  43. P

    TDM Matrix mixer

    I'm writing a TDM 8x8 matrix mixer. The basic pattern is All goes well up to 4 replications of the Mixer 1-2-3 pattern. Any higher number (I've tested 5, 6 & 8), produces an output (green trace) like this: Here's the code: /* * 8 channels TDM into matrix of 8 x 2 4-channel mixers * Down...
  44. P

    CS42448 board update for T4 pinouts and improved performance

    Paul, Thanks. I forgot that there's a separate TDM driver after a 12 month break from the project. Basics are working again now I'm using TDM ins and outs. Richard
  45. P

    CS42448 board update for T4 pinouts and improved performance

    Talking to myself here... Looking at Paul's layout for his updated CS42448 board https://hackaday.io/project/2984/logs, it doesn't appear that the 4-channel SAI (TDM) is implemented on the board. The pins at the bottom right corner (CS pins 11-17), clearly show only SDOUT1 (pin 13) and SDIN1...
  46. P

    CS42448 board update for T4 pinouts and improved performance

    Folks, I've reopened this project after a long COVID delay, where other things needed to be attended to. Taking a quick look at the revised I2S-oct objects (teensyDuino 1.53), it seems like you're now using 4 pins to transfer TDM data (SDIN_0..3 and SDOUT_0..3). Is this correct? If so, which...
  47. P

    Audio board mechanical drawing

    Audio Shield Eagle Libraries - RevC and RevD Here's an updated Eagle library with both Rev C and Rev D options of the Audio Shield.
  48. P

    Ethernet audio library ready to beta test

    True on both counts. With AES 67, there's not much point in the Teensy tagging packets if they are not properly dealt with across the network. For a private "audio only" network, particularly if it has 1GB capable switches, that's not usually a problem, as congestion is unlikely with reasonable...
  49. P

    Audio to UDP

    Hi Marcello, Have you looked at my Teensy Audio Ethernet Library? https://forum.pjrc.com/threads/58660-Ethernet-audio-library-ready-to-beta-test. It provides a ready way to share audio packets over UDP.
  50. P

    General question about ADC inputs

    I think the best place to start an answer, is that the ADCs on Teensy aren't really suitable for anything beyond the most basic audio. They are, however provided for in the Teensy Audio Library if you must use them. Most folks would use Paul's Teensy Audio Board for any audio they actually want...
Back
Top