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

Search:

Type: Posts; User: h4yn0nnym0u5e

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Additional ... the FFT may not be massively...

    Additional ... the FFT may not be massively forgiving of you stopping the Audio engine, but I don't know for sure: you may see huge spikes at multiples of 1000/2.9 = 345Hz because of the missing...
  2. Ah, good observation. And I note that your glitch...

    Ah, good observation. And I note that your glitch blocks are about 13 LEDs long, and at line 38 of OctoWS2811_imxrt.cpp we find #define BYTES_PER_DMA 40, which is about (but not exactly) 13 LEDs -...
  3. A channel of 165 LEDs will take 4.95ms to update,...

    A channel of 165 LEDs will take 4.95ms to update, so the Audio engine will run in the middle of that even if you're in sync with it: a bit of double-buffering might be indicated? Definitely worth...
  4. I suspect you'd be way better off ditching...

    I suspect you'd be way better off ditching FastLED and using only OctoWS2811: from the documentation, the latter does use DMA (dunno about FastLED).

    Bear in mind the Audio library kicks off an...
  5. Replies
    6
    Views
    293

    If you want to look at the (OK, one...) bleeding...

    If you want to look at the (OK, one...) bleeding edge of the Audio library, I've taken a stab at making it re-configurable at run time, rather than largely fixed at compile time. See...
  6. I had one problem where the USB port on my...

    I had one problem where the USB port on my desktop PC latched up and stopped talking to the Teensy (4.1 in this case). Re-start didn't work, I had to completely power down, including switching off at...
  7. Not 100% clear if you added your new veroboard...

    Not 100% clear if you added your new veroboard mux to the existing hardware, or built a new 3-mux system; or if the fault is with both switch muxes or just the added one. But ... sounds like hardware...
  8. Replies
    52
    Views
    4,024

    That's great, I think it'll be really helpful -...

    That's great, I think it'll be really helpful - thanks. It's so useful to have the demo JSON easy to load, makes everything very clear.

    One thing I've been struggling with (hence the delayed...
  9. Replies
    52
    Views
    4,024

    Hi manicksan OK, so having posted my first...

    Hi manicksan

    OK, so having posted my first effort at a dynamically-configurable audio engine DCAE (https://forum.pjrc.com/threads/66840-Roadmap-quot-Dynamic-Updates-quot-any-effort-going-on, as...
  10. Very Preliminary Alpha Test Dynamic Audio Objects For Teensy 4

    Hi folks

    I could definitely tinker for a lot longer, but why not let a few brave souls have a crack at breaking the code in its current state - I fear it will be all too easy... You will need both...
  11. Replies
    5
    Views
    293

    Also, as I found out last night, you need to set...

    Also, as I found out last night, you need to set the noise generator going by setting its amplitude to a non-zero value...
  12. Replies
    8
    Views
    427

    One final item to note... Len discovered that the...

    One final item to note... Len discovered that the original MIDI file isn’t as clean as it looks. The note ends jitter a tiny bit, about 3ms, and if they go long then the allocation algorithm uses an...
  13. Replies
    8
    Views
    427

    It's in the Issues. Well, Issue - there's only...

    It's in the Issues. Well, Issue - there's only one open :D https://github.com/LenShustek/miditones/issues/24. I'm assuming it's visible to everyone, not just me. He posted a ZIP file with the source...
  14. Replies
    8
    Views
    427

    Hi Pete Gave it a quick try, and unfortunately...

    Hi Pete

    Gave it a quick try, and unfortunately yours goes AWOL on the very next line :eek: Your output:

    // Playtune bytestream for file "bach_brandenburg_concerto_3_1st_bwv_1041_ORCH.mid"...
  15. Replies
    8
    Views
    427

    Thanks for that, Pete. I don't have the tools to...

    Thanks for that, Pete. I don't have the tools to compile it, unfortunately :(

    I worked on it a bit more after posting, concluded there was a bug, and raised an issue with Len on github. He's fixed...
  16. Replies
    8
    Views
    427

    Correct use of "miditones" utility?

    Hi folks

    I'm trying to use the latest version of the executable from https://github.com/LenShustek/miditones to process a 10-track MIDI file to a C source. I believe I have it such that each track...
  17. Replies
    5
    Views
    331

    Can't argue that the Audio library and GUI are...

    Can't argue that the Audio library and GUI are great to get started from, and kudos to Paul for putting the effort in. He's got a business to run, and I wouldn't expect any more attention from him...
  18. Replies
    11
    Views
    3,368

    Am I right in thinking that using __brkval only...

    Am I right in thinking that using __brkval only shows you the "most ever" used heap memory, rather than some estimate of the "current state"? I'm interested in checking for the latter, to ensure...
  19. Replies
    5
    Views
    331

    I knew that... :D Except ... it should really...

    I knew that... :D

    Except ... it should really be neither of those things. The hex constant may be what the original programmer intended, but forgot the 0x; but why should it be a hex constant,...
  20. Replies
    5
    Views
    331

    Just noticed another thing: the Stop event only...

    Just noticed another thing: the Stop event only silences 10 of the 16 MIDI channels...
  21. Replies
    5
    Views
    331

    Bug in PlaySynthMusic demo

    This code doesn't end cleanly: the last note off command is read, but before it gets acted on the stop command is prematurely fetched and acted on, rather than waiting for the next "note" (command,...
  22. Replies
    21
    Views
    1,730

    Thanks for being so understanding - having posted...

    Thanks for being so understanding - having posted I felt I might have come across as a bit over-critical! I think it's great that there's so many options for people to choose from, depending on their...
  23. Replies
    21
    Views
    1,730

    Just out of interest, I took a look... ADR...

    Just out of interest, I took a look...

    ADR phase [timing] changes don't seem to take effect in real time, but wait until the next envelope*
    A sustain level change during decay results in a...
  24. I've just implemented a float getGain() function...

    I've just implemented a float getGain() function on my variant of an exponential envelope generator - grab the latest code from https://github.com/h4yn0nnym0u5e/Audio/tree/features/expEnvelope. As...
  25. Replies
    21
    Views
    1,730

    Be interesting to know how the CPU load and...

    Be interesting to know how the CPU load and memory footprint compare to my ExpEnvelope variant, to be found at https://github.com/h4yn0nnym0u5e/Audio/tree/features/expEnvelope, and discussed in this...
  26. Replies
    25
    Views
    1,172

    Thanks @ghost, it’d be good to know it works in...

    Thanks @ghost, it’d be good to know it works in Real Life! With luck you won’t be able to tell the difference, I just wrote it to prove it could be done, and for use cases where floating point...
  27. ... and more to the point, itís a decoupling...

    ... and more to the point, itís a decoupling capacitor, so either your unpolarised 0.1uF one or your polarised 1uF one will be fine
  28. Replies
    25
    Views
    1,172

    Hi folks Integer-only version of doing a...

    Hi folks

    Integer-only version of doing a gradual change can be found at https://github.com/h4yn0nnym0u5e/Audio/tree/features/slew-gain, which includes updated documentation in the GUI tool. Not...
  29. I found a few issues following the above advice,...

    I found a few issues following the above advice, and when making changes to figure out the bug in ExpEnvelope:

    you can't just comment out checkMux(), as it has to run once to enable the sound...
  30. Found it! It was a block overrun, as I suspected,...

    Found it! It was a block overrun, as I suspected, but not where I suspected... Grab the latest commit from https://github.com/h4yn0nnym0u5e/Audio/tree/features/expEnvelope and see how you go, sounds...
  31. That's pretty clear. If I grab your Tsynth from...

    That's pretty clear. If I grab your Tsynth from github and replace the envelopes, that's what you're running, yes? Do I need to change parameters in real time, or is there a fixed set that will...
  32. Replies
    25
    Views
    1,172

    Both your examples attempt to update every...

    Both your examples attempt to update every millisecond, but the Audio Engine only runs every 2.9ms, which will add to the roughness. Then the gain will be fixed for the entire 128 samples processed...
  33. Thanks. Not understanding the...

    Thanks. Not understanding the left/right/polyphonic part of your post - the envelope is a monophonic object

    Is it more likely at very fast or slow A/D/R speeds, do you know? I probably haven’t...
  34. I’ve tried to make the behaviour when...

    I’ve tried to make the behaviour when retriggerings as logical as possible, so it does start from the prevailing value, unless it’s in the Attack or Hold stages when the retrigger is ignored (you’d...
  35. OK, I've taken a look and made a minor change to...

    OK, I've taken a look and made a minor change to some code that "should never happen", but might have caused problems if it did. Please give...
  36. That's odd. I haven't thrashed it in a busy...

    That's odd. I haven't thrashed it in a busy system, so there could easily be gremlins that I didn't catch in testing, but the outer skin is effectively exactly the same as the original linear...
  37. Replies
    52
    Views
    4,024

    Excellent. Not essential for Dynamic Updates to...

    Excellent. Not essential for Dynamic Updates to the audio routing, but I'm thinking it would be really handy for a hard/soft synth for routing physical front panel controls or MIDI control data to...
  38. Replies
    52
    Views
    4,024

    Quick question... I looked at the Node Red...

    Quick question... I looked at the Node Red website and it appears the only place ports can be placed on a node are left (in) and right(out). However, it also says you can only have one input port,...
  39. +1 for that - it would break too much existing...

    +1 for that - it would break too much existing code to change the basics, hence my concern about "fixing" the documented misfeature: I don't know there isn't something out there that relies on it!
    ...
  40. No worries - I hope this is just the start! I...

    No worries - I hope this is just the start!

    I just realised that I've actually changed the documented operation, whereby "If you attempt to connect many outputs to a single input, only the last...
  41. Bit of a cross-posting, but dynamic connections...

    Bit of a cross-posting, but dynamic connections are possibly working now, see https://github.com/h4yn0nnym0u5e/cores/tree/feature/Audio%2Fminor-connection-improvements.

    In other news, manicksan, I...
  42. Fixed in...

    Fixed in https://github.com/h4yn0nnym0u5e/cores/tree/feature/Audio%2Fminor-connection-improvements, and I've put in PR #556 on GitHub. I believe this not only fixes this bug, but also makes it safe...
  43. If itís any help, I think Iím on track to make...

    If itís any help, I think Iím on track to make AudioConnection objects properly reconfigurable, so they can be disconnected, reconnected to different sockets (not possible right now), created and...
  44. Yes, as noted in the thread linked by MarkT,...

    Yes, as noted in the thread linked by MarkT, disconnecting doesnít work properly. Obviously if you donít do it, you wonít have run into any problems! Connection objects as they stand are a bit pants,...
  45. Thanks MarkT. I’ve seen (and even posted on!)...

    Thanks MarkT. I’ve seen (and even posted on!) that thread, though not 100% sure a fix is pending as such, though a problem has definitely been identified. I’m actually in the throes of playing with a...
  46. Agree - there's a lot of "whizz down lists doing...

    Agree - there's a lot of "whizz down lists doing stuff" that could do with cleaning up.

    Also the red code here:

    if (p == NULL) {
    //>>> PAH re-enable the IRQ
    __enable_irq();
    return;
    }...
  47. Exponential envelope generator object

    Hi folks

    As part of familarising myself with the Audio ecosystem I've made a slightly different envelope generator which can be found at:...
  48. Brilliant, thanks so much manicksan! There's a...

    Brilliant, thanks so much manicksan! There's a lot to digest there, but the first quick look I just gave it suggests it's all going to be really useful.

    [I "need" to run a few more tests on the...
  49. Replies
    18
    Views
    820

    What were the pullups before? You didn't post a...

    What were the pullups before? You didn't post a schematic :) Fast speeds generally need lower value pullups (up to a point).
  50. Sure, it's understood that the Audio core needs...

    Sure, it's understood that the Audio core needs changes in order to construct and destroy Audio objects and their connections at runtime - that's absolutely the point of this thread, to check no-one...
Results 1 to 50 of 59
Page 1 of 2 1 2