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

Search:

Type: Posts; User: mjs513

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds; generated 48 minute(s) ago.

  1. Just having morning coffee and catching up = as...

    Just having morning coffee and catching up = as Kurt said glad you are able to reproduce the problem and looks like you have it isolated it down to the linked list. Keeping fingers crossed it won't...
  2. Just as follow to all this testing with the T4...

    Just as follow to all this testing with the T4 SDIO I went ahead this morning and issued second PR just to change the DSE ifdef to just use
    #if defined(__IMXRT1062__) instead of listing the Teensy...
  3. Have one of those as well but never could get the...

    Have one of those as well but never could get the soldering straight with the sd card connections.

    Anyway the good news I found out why my USB wasn;t working - had a typo in the...
  4. Hi Tim Not sure why SDIO is not working on the...

    Hi Tim
    Not sure why SDIO is not working on the breakout either
    >Yes it updated to bootloader 1.07 as well - just double checked
    > Issue with lockable T4 with usb and my breakout I am pretty sure...
  5. Did some more testing with the Teensy 4.0 and...

    Did some more testing with the Teensy 4.0 and play all file MTP_test_audio sketch.

    Using loglow's breakout board was able to verify that all file types played from SDIO: wav, mp3, flac, and...
  6. Hmm wonder why my board isn’t recognizing ship?

    Hmm wonder why my board isn’t recognizing ship?
  7. Just a follow on. Using the Loglow board with...

    Just a follow on. Using the Loglow board with SDIO and USB:
    26801

    Did verify it plays .wav files and other codecs not issue from SDIO. However, only wav files seem to be playing from USB on...
  8. Ok found one of the later boards with a 1062. ...

    Ok found one of the later boards with a 1062. SDIO doesn't seem to work on that breakout board but then I seem to remember we had to access it as SPI1? Too long ago now. Audio files do play from...
  9. Regarding the issue with WAVE files not playing...

    Regarding the issue with WAVE files not playing on the Teensy Micromod from the SDIO card we finally traced the problem to the SDFAT library, SdioTeensy.cpp file. Had to add a extra define for the...
  10. Replies
    111
    Views
    2,739

    Learned the same way as you - think Frank pointed...

    Learned the same way as you - think Frank pointed that out to me a long time ago as well. But glad you got it working
  11. Replies
    111
    Views
    2,739

    In addition to what Frank said you can download...

    In addition to what Frank said you can download Audacity to make sure they are at 44100hz (ran into that as well) and then resave the wav file that always seems to work for the files I use
  12. Replies
    111
    Views
    2,739

    @wwatson - have you tried to increase the...

    @wwatson - have you tried to increase the audiomemory? AudioMemory(40) or might be related to something else. Actually only thing that I changed was instead of SD.open I use fs->open.

    Can you...
  13. Replies
    9
    Views
    276

    @joepasquariello Got a bit distracted but did...

    @joepasquariello
    Got a bit distracted but did test the change in post #6. An interesting thing is that if I run the encsim without the change the sketch crashes but will still work if I use a...
  14. Thanks Frank for jogging my memory - was using...

    Thanks Frank for jogging my memory - was using this lib for awhile years ago: https://github.com/thijse/Arduino-Log but forgot all about it - it was in my archives folder :)
  15. Replies
    111
    Views
    2,739

    @wwatson - @KurtE - @Frank B Just catching up...

    @wwatson - @KurtE - @Frank B
    Just catching up and just finished incorporating the changes in #90 so think I am now even.

    Yes Frank - I always loved that Codec library and glad its now working...
  16. Replies
    9
    Views
    276

    Going to get set up and give it a try in a bit...

    Going to get set up and give it a try in a bit and will let you know - but just reading your changes it looks correct but let me play with it a bit.
  17. Replies
    111
    Views
    2,739

    Ok just issued 2 PRs 1. Request to update the...

    Ok just issued 2 PRs

    1. Request to update the Audio library with changes to play_sd_wav and play_sd_raw: https://github.com/PaulStoffregen/Audio/pull/419
    and
    2. Request to @wwatson to update...
  18. Replies
    111
    Views
    2,739

    Just incorporated the change and seems to be...

    Just incorporated the change and seems to be working like a charm. Tested on a T4.1 without changing the RAM to NOCACHE using both 'P'lay All and 'p'lay single file



    Frank - incorporated the...
  19. Replies
    111
    Views
    2,739

    @KurtE - @wwatson - @Frank B Finally got...

    @KurtE - @wwatson - @Frank B

    Finally got around to soldering up a Rev C audio shield to test a T3.6 with the changes and codecs:
    1. SD Cards reads and plays all files without a problem except...
  20. Replies
    111
    Views
    2,739

    Oops - should have said no noise coming from...

    Oops - should have said no noise coming from speak and file seems to open and close really fast before getting the file.
  21. Replies
    111
    Views
    2,739

    We were experimenting (@KurtE and I) a bit more...

    We were experimenting (@KurtE and I) a bit more with the MPT_test_audio sketch and think I isolated the issue down with having to use nocache for RAM(XIP) region only when using a USB Drive. Figured...
  22. Replies
    65
    Views
    14,320

    As a quick test of write(0) I ran the simple...

    As a quick test of write(0) I ran the simple encoder example with only one KY-040 encoder attached. And write(0) seems to work for me:

    Left = 39, Right = 0
    Left = 40, Right = 0
    Reset both knobs...
  23. Replies
    9
    Views
    276

    Just to add on to what @joepasquariello posted -...

    Just to add on to what @joepasquariello posted - which is all good info. If you take a look at the QuadEncoder.ino sketch you will see that what he explained is used with a library call:

    ...
  24. Replies
    65
    Views
    14,320

    Lets take this one at a time because you are...

    Lets take this one at a time because you are asking 2 questions index counter and position counter. The use of the position counter and zeroing is clearing shown how to do in the simple.ino example....
  25. Replies
    111
    Views
    2,739

    Seems like we all forgot :) Will do the PR but...

    Seems like we all forgot :) Will do the PR but want to do a bit more debugging to see if we can figure out whats going on with FLAC but think that might be beyond me. Even with Cache turned off...
  26. Replies
    111
    Views
    2,739

    @Frank B - @KurtE - @wwatson Going back through...

    @Frank B - @KurtE - @wwatson
    Going back through the T4 beta thread from long ago actually found where I tested the codec library the T4 beta board when I think it was still the 1052 chip not 100%...
  27. Replies
    111
    Views
    2,739

    @KurtE - @wwatson I just forked @wwatson...

    @KurtE - @wwatson
    I just forked @wwatson repository and added my changes along with an extras folder that contain a zip file for the changed play_sd_wav and play_sd_raw that go into the audio...
  28. Replies
    111
    Views
    2,739

    Ok I made one change to calloc that seemed to...

    Ok I made one change to calloc that seemed to resolve playing MP3's for me without disabling cache. However when I first played a series of wav files and the next file was a AAC file it wouldn't...
  29. Replies
    111
    Views
    2,739

    @wwatson - @KurtE If interested here is the...

    @wwatson - @KurtE
    If interested here is the latest version the MTP_test_audio sketch.
  30. Thread: 24 Keys Matrix

    by mjs513
    Replies
    8
    Views
    385

    You may want to check this post out:...

    You may want to check this post out:
    https://forum.pjrc.com/threads/62087-Simple-Keyboard-matrix-with-Teensy-4-1?highlight=key+matrix
    sounds like a similar problem. Solution may help.
  31. You might also want to check out the following...

    You might also want to check out the following posts:
    https://forum.pjrc.com/threads/31878-Wii-nunchuk-Classic-controller?highlight=nunchuck
    ...
  32. Replies
    111
    Views
    2,739

    Had same thought but didn't seem to help with...

    Had same thought but didn't seem to help with large file transfers.
  33. Replies
    111
    Views
    2,739

    @wwatson - @Frank B Tried turning off cache to...

    @wwatson - @Frank B
    Tried turning off cache to see if it would help playing FLA files and to resolve another issue I was having, i.e., after playing a bunch of wav files (which worked) and then...
  34. Replies
    111
    Views
    2,739

    Did that happen even with the fix to calloc that...

    Did that happen even with the fix to calloc that I showed -calloc(size, (uint8_t) 1);
  35. Replies
    111
    Views
    2,739

    Don't worry about this stuff - take care of...

    Don't worry about this stuff - take care of business and yourself then worry about this.
  36. Replies
    111
    Views
    2,739

    Thanks - not really using FLA music anyways. ...

    Thanks - not really using FLA music anyways. Did note that OPU files do work just for reference.
  37. Replies
    111
    Views
    2,739

    How often is allocBuffer called? In post #39 I...

    How often is allocBuffer called? In post #39 I showed a solution to the issue with calloc. The compiler doesn't like calloc(size, 1) but it likes calloc(size, sizeof(uint8_t)) and it also works...
  38. Morning @defragster Been using the...

    Morning @defragster

    Been using the MTP_Test_integrity sketch pretty much for all my testing but I am not seeing any compile errors using PSRAM:

    Memory Usage on Teensy 4.1:
    FLASH:...
  39. Replies
    111
    Views
    2,739

    If I trace it through allocateBuffer is defined...

    If I trace it through allocateBuffer is defined in codecs.h as:

    uint8_t *allocBuffer(size_t size) { rdbufsize = size; bufptr = (uint8_t *) calloc(size,1); return bufptr;}
    malloc seems to work...
  40. Replies
    111
    Views
    2,739

    Think the real issue is why isn't malloc/calloc...

    Think the real issue is why isn't malloc/calloc working with MSC to begin with - maybe @KurtE has an idea.
  41. Replies
    111
    Views
    2,739

    @Frank B = @wwatson Made a change to...

    @Frank B = @wwatson

    Made a change to OpusPlayFile sketch and that is working on the T4.1 - used Frank's instructions in the referenced thread. Going to add it to MTP_test_audio sketch - probably...
  42. Replies
    111
    Views
    2,739

    @wwatson - @Frank B Tried the FLAC test files...

    @wwatson - @Frank B
    Tried the FLAC test files with the smaller blocksizes so still no dice. So for the heck of it I tried the example FLAC sketch in the library using SIDO and the T1_128.FLA on the...
  43. Replies
    111
    Views
    2,739

    Yes - thanks Frank. Learn something new every...

    Yes - thanks Frank. Learn something new every day. The FLA I was using to test has a blocksize of 1024 going to try the smaller ones just to be sure it works. And you are right just on my cheap-o...
  44. Replies
    111
    Views
    2,739

    Glad you are enjoying it. Should be playing 2...

    Glad you are enjoying it. Should be playing 2 channels unless I didn;t set the audio up right - only use 1 speaker on the audio jack. So can't really tell :)

    EDIT: UPDATED
    think for wav files I...
  45. Replies
    111
    Views
    2,739

    Ok got carried away. I edited the rest of the...

    Ok got carried away. I edited the rest of the codec library so you can play aac and flac files as well as editing raw in the audio library. Unfortunately not sure why FLAC files are not playing -...
  46. Replies
    111
    Views
    2,739

    Definitely especially when its something you can...

    Definitely especially when its something you can get working.
  47. Replies
    111
    Views
    2,739

    @wwatson and all interested parties. You got...

    @wwatson and all interested parties.

    You got me inspired this morning so I did a modification to the MTP_test sketch so instead of logging data it will play mp3 files on the device or a single...
  48. Replies
    111
    Views
    2,739

    Just downloaded your updates and gave it a try...

    Just downloaded your updates and gave it a try and looks like you got it solved. Played on first try. Now to have some fun :)
  49. A little confused. In your Step 2 it says...

    A little confused.

    In your Step 2 it says that the T4 you are using already has a key that was previously written:


    So when you go and run the verify sketch with a new key its going to fail...
  50. Replies
    111
    Views
    2,739

    yeah it was but still didn't work :)

    yeah it was but still didn't work :)
Results 1 to 50 of 497
Page 1 of 10 1 2 3 4