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

Search:

Type: Posts; User: mhelin

Search: Search took 0.00 seconds.

  1. We don't know why there are these requirements....

    We don't know why there are these requirements. Anyway a trivial sampled (not actually sampled but calculated in this case but considered as sample) square wave contains frequency components above...
  2. Problem with the square wave generated that way...

    Problem with the square wave generated that way is that it will be aliased unless the AudioSynthWaveform can produce alias-free waveforms. Using a comparator on aliased trivial square wave would...
  3. Create two sine waves (to left and right...

    Create two sine waves (to left and right channels) with the phase angle you want and then use a comparator to convert the other channel to square wave.
  4. Good to see the problem was solved! You better...

    Good to see the problem was solved!

    You better fork https://github.com/PaulStoffregen/SoundfontDecoder to make the fix, commit it and push it to your github fork and then send Paul the pull...
  5. Replies
    11
    Views
    351

    KiCAD seems to have very tight schematic/layout...

    KiCAD seems to have very tight schematic/layout integration, and you can only go in that direction - change schematic in schematic editor ("Eeschema") and import changes into layout (in "Pcbnew"). If...
  6. Please be more specific, which code are you...

    Please be more specific, which code are you running? Have you tried running the other Teensy audio library demos, do they have this same problem. Soundfonts also have loops which are kind of single...
  7. It might be that also the headphone amplifier is...

    It might be that also the headphone amplifier is another possible source of noise, see

    https://forum.pjrc.com/threads/27215-24-bit-audio-boards?p=78831&viewfull=1#post78831

    Sometimes on some...
  8. I think there was an issue with HP of SGTL5000 HP...

    I think there was an issue with HP of SGTL5000 HP filter, if you disable it you'll get much less noise.


    http://openaudio.blogspot.com/2017/03/teensy-audio-board-self-noise.html
  9. Replies
    166
    Views
    88,378

    Thanks for tips, I'll check those china...

    Thanks for tips, I'll check those china companies.

    I might still move the codec to I2S2 as it would free up the main I2S for multi-channel use. Unfortunately every connection (I2S lines) from the...
  10. Replies
    166
    Views
    88,378

    Played little bit in Kicad using whollender...

    Played little bit in Kicad using whollender CS4272 design files. This PCB is too complicated, it could as well be double layer and without those RF isolators (those are fancy though, I didn't even...
  11. Replies
    19
    Views
    626

    I think the problem is in the synchronization of...

    I think the problem is in the synchronization of the startup. Basically you should first stop all clocks including that of codec's. Next reset the FIFO's, setup the I2S on the host side with DMA and...
  12. Replies
    1
    Views
    94

    Regarding ADC, there is at least the Cirrus...

    Regarding ADC, there is at least the Cirrus (Wolfson) WM8782 ADC which is quite inexpensive and easy to use chip: https://www.cirrus.com/products/wm8782/
    With 0.65mm pitch in 20 pin SSOP is it easy...
  13. Replies
    1
    Views
    94

    PT8215 cheap I2S D/A

    (This is continuum to the closed thread:
    https://forum.pjrc.com/threads/59113-PT8215-cheap-I2S-A-D)

    This is good find anyway. PT8211 nor PT8215 are I2S DAC's but relative, they use TDA1545 kind...
  14. BLCK is still connected to wrong pin D22 it...

    BLCK is still connected to wrong pin D22 it should go to D21.
  15. Replies
    15
    Views
    699

    Do rather something like this: typedef enum...

    Do rather something like this:


    typedef enum {
    INT16, INT32, FLOAT
    } data_type;

    typedef struct audio_block_struct {
    uint8_t ref_count;
    uint8_t reserved1:6;
  16. I guess you could also use RX_DATA1 pin to input...

    I guess you could also use RX_DATA1 pin to input data using only single I2S interface, but then you had to enable the input pin and increase the frame size, and the audio library doesn't know...
  17. AudioInputI2S i2s1; AudioInputI2S ...

    AudioInputI2S i2s1;
    AudioInputI2S i2s2;


    Is that ok? Shouldn't that be



    AudioInputI2S i2s1;
    AudioInputI2S2 i2s2;
  18. What if you just required that the board is...

    What if you just required that the board is powered only using USB, a phone charger for an instance when it's not connected to PC, or connect the +5V socket to VUSB pins (on teensy) directly, they...
  19. When I'm looking at the schematics and compare to...

    When I'm looking at the schematics and compare to T4 pins I wonder if there is an error. It looks like that the MCLK pin is connected to correct T4 pin (D23) but the pins SCLK (BLCK), LRCLK, SDA and...
  20. Eurorack PSU supplies are +/- 12V so that must be...

    Eurorack PSU supplies are +/- 12V so that must be the absolute maximum range.
    Anyway, for CV's some digital interface could make sense more than the analog, how about ADAT I/O?. ES-8 for an example...
  21. There is a nice 8x8 analog I/O board for FreeDSP,...

    There is a nice 8x8 analog I/O board for FreeDSP, the pcb is available from Tindie except that it's not in store right now (the seller is busy doing another FreeDSP project):
    ...
  22. Configuring via pins practically means that you...

    Configuring via pins practically means that you don't wire the I2C or SPI at all and practically hardwire the used PCM mode (I2S, TDM etc.), sample rates, bit depth etc.. Thus no need for codec...
  23. On iMX RT1060 it is possible to use AD_B1_07 pin...

    On iMX RT1060 it is possible to use AD_B1_07 pin as SPDIF_EXT_CLK (currently mapped to digital pin 16/AD2) as input (via a mux, that's referred as tx_clk2 in RM) for the MCLK3 source in SA1-SAI3....
  24. Replies
    26
    Views
    7,137

    Just some thoughts after browsing github. It...

    Just some thoughts after browsing github.

    It would be a good start for the 16-bit to whatever bit upgrade if the lower level (I2S and TDM, PCM is not supported, meaning MSB left justified,...
  25. Replies
    26
    Views
    7,137

    Are any of these 32-bit floating point forks...

    Are any of these 32-bit floating point forks working on Teensy 4.0? Also there doesn't seem to be F32 implementation for I2S slave mode...
  26. Ok. However, if you use HW configuration mode for...

    Ok. However, if you use HW configuration mode for the converters you don't need any special drivers other than for Teensy (which already exists).

    I hadn't thought the stacking option, that would...
  27. I think you shouldn't try designing one board for...

    I think you shouldn't try designing one board for all possible users and use cases. People who need multiple inputs usually want to record some music performance like drum set with multiple...
  28. Could you actually run Voyetra MIDI Sequencer...

    Could you actually run Voyetra MIDI Sequencer Gold on Teensy 4.0 using this emulator? See http://www.vgmpf.com/Wiki/index.php?title=Sequencer_Plus_Gold

    How about the timing? You should been also...
  29. Replies
    42
    Views
    35,242

    Check out this one: ...

    Check out this one:

    http://www.embeddedartists.com/products/lpcxpresso/lpclink2.php

    Looks like your regular USB JTAG, here for the NXP Cortex-M4 controllers (and implemented using a LPC4370),...
  30. Replies
    182
    Views
    82,775

    There are plenty of DAC's and ADC's but without a...

    There are plenty of DAC's and ADC's but without a proper MCLK output or an external PLL it's not worth using them anyway. Also there are a little bit better codecs like AK4556 which might also be...
  31. Replies
    182
    Views
    82,775

    That's a tiny board, maybe too tiny after all....

    That's a tiny board, maybe too tiny after all. Anyway, for adding memory also consider MRAM of FRAM nv SPI RAM's, might be already fitting the layout.
    Everspin MR20H40 is the MRAM variant with...
Results 1 to 31 of 31