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

Search:

Type: Posts; User: h4yn0nnym0u5e

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Just did a non-rigorous test of my SDPiano demo...

    Just did a non-rigorous test of my SDPiano demo with the audio block size set to 16 samples, so an audio update interval of 363us. Pleasingly, it all worked first time after the change of block size,...
  2. Curious as to what you're measuring the latency...

    Curious as to what you're measuring the latency with respect to? Some sort of trigger input to first sample output? 70us sounds a bit unbelievable, as it's only 3 samples at 44.1kHz, and it's hard to...
  3. Yes, that works fine. You can test without an...

    Yes, that works fine.

    You can test without an audio adaptor, though the objects available depend on your Teensy - the Info pane to the right of the design tool is your friend here.
  4. Replies
    29
    Views
    5,729

    As I'm on Windows, it's a bit difficult to...

    As I'm on Windows, it's a bit difficult to reproduce the above! However, I do have an oscilloscope so I can generate pin pulses at key points in the code without unduly affecting the timings. Which...
  5. Replies
    29
    Views
    5,729

    Googled Adaptive feedback for USB audio, but I’m...

    Googled Adaptive feedback for USB audio, but I’m no wiser as to how to make it work :(
  6. Great, thanks for taking that on. Looks like...

    Great, thanks for taking that on. Looks like quite a mountain to climb... Hopeful that someone might respond to my re-opening of this thread, though one of the major contributors seems to have...
  7. Replies
    29
    Views
    5,729

    Answer ... after a couple of years ... for me ......

    Answer ... after a couple of years ... for me ... not very well! Re-opening this thread because of this one, where all seems to be going pretty well apart from a very occasional glitch. I've tried to...
  8. Looks like some work is definitely needed on the...

    Looks like some work is definitely needed on the feedback accumulator stuff. I found this post which looked hopeful, but implementing a version of it supposedly tailored to my current 96k setup (it's...
  9. Meanwhile, another PR for cores, with some mostly...

    Meanwhile, another PR for cores, with some mostly minor fixes, but one that is vital for other sample rates. Tested so far only at 48kHz and 96kHz on a High-speed USB port.

    For information, my...
  10. Another PR done, this time on your Audio library...

    Another PR done, this time on your Audio library fork, which implements and documents 4-, 6- and 8-input and output USB objects in the design GUI, and adds them to keywords.txt. For these you'll need...
  11. Great, thanks @mcginty. I’m hopeful the...

    Great, thanks @mcginty. I’m hopeful the “conflicts” are actually pretty minor.

    Had to stop for today, getting late in the UK, but I think there could be issues with high sample rates and/or small...
  12. Done a PR with 8-channel AudioOutputUSB - only...

    Done a PR with 8-channel AudioOutputUSB - only briefly tested.
  13. I've done a "first try" pull request, though for...

    I've done a "first try" pull request, though for some reason there's a conflict because git thinks I've made your changes, too! For some reason I can't fork your repo as well as the PJRC one, so it's...
  14. ...such as my modified AudioEffectDelayExternal...

    ...such as my modified AudioEffectDelayExternal which can be found in my repo, or languishing as PR#433 in Paul's. This not only allows PSRAM, but heap memory, so if your application doesn't use much...
  15. Really looking forward to seeing this! It's...

    Really looking forward to seeing this!

    It's possible the (de)interlacing code could make use of the DSP instructions - it's a pretty common need in the audio library, though I can't say I've...
  16. Replies
    197
    Views
    12,949

    100% agree .. didn't mean to imply you were...

    100% agree .. didn't mean to imply you were implying it was easy :D

    True, and I agree it would have been very helpful if the author had pulled your still-pending PR. But he hasn't, and thus all...
  17. Replies
    197
    Views
    12,949

    The trouble is, you're an experienced user and...

    The trouble is, you're an experienced user and know what to do...

    This project clearly appeals to a lot of people with much less experience, and is presented as "hey folks, this is really simple,...
  18. Replies
    197
    Views
    12,949

    Have you tried: updating to the latest source...

    Have you tried:

    updating to the latest source code (https://github.com/playfultechnology/audio-guestbook, updated 2022-11-04)
    using the Teensy 4.1 in "4.0 mode", i.e. using the audio adaptor's...
  19. aaaand I'm out, at least for now ... separate...

    aaaand I'm out, at least for now ... separate cores and Audio repos may be a bit less convenient for a "playground", and using make might be easiest for you, but they make it seriously tedious to...
  20. :D Ah well. it was worth asking...

    :D

    Ah well. it was worth asking...
  21. Yes, I managed to get personal stuff working by...

    Yes, I managed to get personal stuff working by tinkering with boards.txt and boards.local.txt. It seemed impossible to add new options to the compiler command line just by editing boards.local.txt,...
  22. The changes I’ve made appeared to need boards.txt...

    The changes I’ve made appeared to need boards.txt modified before they would work, though that may be incompetence on my part. However, I believe boards.local.txt isn’t and shouldn’t be part of the...
  23. Repository for changes to boards.txt etc.?

    Hi folks

    Does anyone know (paging @PaulStoffregen here, obviously!) where one might find a repository for the boards.txt and similar files that form part of a Teensyduino package? I've tinkered...
  24. Would be more than happy to collaborate on this....

    Would be more than happy to collaborate on this. I've got a pretty reasonable knowledge of the Audio library, much less so on the USB side. So, I could probably do the changes to AudioOutputUSB;...
  25. Excellent news! I've fixed the issue (and the...

    Excellent news!

    I've fixed the issue (and the documentation...) in the library and made Yet Another Pull Request - they're piling up nicely! The changes are at...
  26. I’d guess that a Teensy 3.2 doesn’t catch a write...

    I’d guess that a Teensy 3.2 doesn’t catch a write via a NULL pointer, so you didn’t see the issue before. I’d need to check over the memory map to see if it could cause mayhem.

    For now, I’d...
  27. So, thereís your problem: /** * @brief...

    So, thereís your problem:

    /**
    * @brief Set the instrument_data struct to be used as the playback instrument.
    *
    * A wavetable uses a set of samples to generate sound.
    * This function...
  28. Looks like you’re setting the frequency of a note...

    Looks like you’re setting the frequency of a note that isn’t playing…
  29. Yes, forgot to say, without that change to...

    Yes, forgot to say, without that change to startup.c the processor gets completely wedged and thus doesn't enumerate, requiring the Program button press. The 8-flash code seems bogus to me, but at...
  30. I think you'll probably need a PlatformIO and/or...

    I think you'll probably need a PlatformIO and/or Linux expert for this - I'm neither, but there may well be one along in a moment!

    The red LED flashes are documented here:...
  31. Hi Roger. Do you know if platformio uses the...

    Hi Roger. Do you know if platformio uses the teensy_debug Python script to program the Teensy and launch GDB? That was what prompted me to make some changes (as you say, now pulled in), and the...
  32. Replies
    21
    Views
    1,224

    Hi @TeensySam! Thanks for giving this a go....

    Hi @TeensySam!

    Thanks for giving this a go. Here's a few suggestions to help get you started:

    you need to download the feature/buffered-SD branch from...
  33. Seems to … but doesn’t. The if is always false....

    Seems to … but doesn’t. The if is always false. Even if it wasn’t already false on entry, it would be false after the first iteration of the outer for loop, because you assign lastSwitchScan again ...
  34. Every time you call switchScan(), lastSwitchScan...

    Every time you call switchScan(), lastSwitchScan == currentTime, because you assign it before the call.
  35. Replies
    16
    Views
    2,917

    Would this be any help?...

    Would this be any help? https://forum.pjrc.com/threads/70963-Yet-Another-File-Player-(and-recorder) Uses SD and optional PSRAM rather than a flash memory.
  36. Replies
    197
    Views
    12,949

    After a bit of discussion...

    After a bit of discussion, a probable cause of the issues with MTP has been found. However, it'll require a new Teensyduino release (or at least beta) before that fix is in place.

    Meanwhile, I...
  37. My (slightly) bad - I copied "the essentials"...

    My (slightly) bad - I copied "the essentials" from the original sketch, and didn't think to check that the author of those lines (@DD4WH) had picked the correct SPI pins! I don't think it actually...
  38. Thanks for looking into this! If you run my...

    Thanks for looking into this!

    If you run my code, do you see the occasional super-long write? For me, using BUILTIN_SDCARD, they take just over one second, but it appears your code doesn't...
  39. As I opened this particular can of worms ......

    As I opened this particular can of worms ... here's a fairly minimal example to reproduce the issue. It repeatedly writes a 2Mb file in 4kB chunks (so 512 writes), and reports any write that took...
  40. Replies
    197
    Views
    12,949

    Great, I've put in a pull request for the...

    Great, I've put in a pull request for the original author to consider.
  41. Replies
    197
    Views
    12,949

    More goodness (I hope) pushed to...

    More goodness (I hope) pushed to https://github.com/h4yn0nnym0u5e/audio-guestbook/tree/bugfix/better-recording. MTP is now disabled by default, to prevent it interfering with recording; you can...
  42. Replies
    12
    Views
    1,152

    Hard to do, because no-one can predict how...

    Hard to do, because no-one can predict how someone else might misinterpret or be confused by documentation. An example is this thread:...
  43. Replies
    197
    Views
    12,949

    Brilliant! Taking the MTP stuff out will...

    Brilliant! Taking the MTP stuff out will "obviously" prevent the files showing up on the PC, but it's now worthwhile tinkering to get a way of enabling it only when needed, e.g. when you boot with...
  44. Replies
    197
    Views
    12,949

    Yes. See my post immediately preceding yours! ...

    Yes. See my post immediately preceding yours!

    Add a couple of buttons, a microphone and earbuds to your setup and give it a go, Iím curious as to whether the MTP/Teensy 4.1 onboard SD slot issue...
  45. Replies
    197
    Views
    12,949

    Aha! Another thing for you to try (I'm off to...

    Aha! Another thing for you to try (I'm off to bed...). Remove the MTP stuff, by putting the following in (some existing lines shown for context):

    #include <Bounce.h>
    #include <Audio.h>
    #include...
  46. Replies
    197
    Views
    12,949

    Curiouser and curiouser! I've instrumented my...

    Curiouser and curiouser!

    I've instrumented my code, and using the audio adaptor SD slot I get writes taking mostly 3.8ms, with the occasional one at 7.2ms - this would give me glitches without...
  47. Replies
    197
    Views
    12,949

    Hmm. Thanks for testing - I've fixed the bogus...

    Hmm. Thanks for testing - I've fixed the bogus line 263 (apologies for that...) and pushed another update, and re-tested at 150MHz (which I'd forgotten to do), and all is OK here. I'm using a...
  48. Replies
    197
    Views
    12,949

    If you feel like diving in a bit, could you give...

    If you feel like diving in a bit, could you give https://github.com/h4yn0nnym0u5e/audio-guestbook/tree/bugfix/better-recording a try? Using it does mean editing platform.txt and boards.local.txt in...
  49. Replies
    197
    Views
    12,949

    You might want to double-check the filename: ...

    You might want to double-check the filename:

    playRaw1.play("greeting.raw");
  50. Replies
    197
    Views
    12,949

    I’ve been taking a look at the “choppy recording”...

    I’ve been taking a look at the “choppy recording” issue, and it seems to be due to the SD card writes turning interrupts off, so any write that takes over 6ms (2 audio update cycles) loses data. I’m...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4