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. I think you should only need as many mixer inputs...

    I think you should only need as many mixer inputs as you have simultaneously playing samples - all the sample player objects let you nominate the sample to play, either by file name or memory...
  2. Hi Dan Yes, that should be possible. TBH I've...

    Hi Dan

    Yes, that should be possible. TBH I've not used sample playback much, but I've seen quite a lot of wisdom around here on the pitfalls, especially the occasionally slow response time on SD...
  3. Sure, I did see there were many more closed than...

    Sure, I did see there were many more closed than still open, though I didn't look to see how many were merged and how many just dried up and blew away...

    Know what you mean about putting bugs in...
  4. Replies
    165
    Views
    20,570

    Hi Rolf Excellent news! Cheers Jonathan

    Hi Rolf

    Excellent news!

    Cheers

    Jonathan
  5. In the repo you've put the PR in, there are no...

    In the repo you've put the PR in, there are no fewer than 61 open Pull Requests, the oldest going back as far as 2014. Quite a few are yours, as it happens. So I'm just curious as to whether putting...
  6. Will that help? There’s PRs going back to 2014 in...

    Will that help? There’s PRs going back to 2014 in there...
  7. The Audio Core defines the base classes on which...

    The Audio Core defines the base classes on which the Audio Library is built, and is stored elsewhere. So on my Windows machine the core is in C:\Program Files...
  8. Replies
    165
    Views
    20,570

    Hi Rolf Glad it's all OK again. I did a quick...

    Hi Rolf

    Glad it's all OK again. I did a quick text compare of the non-working and latest AudioStream code, and thought the problem might likely be the relative location of the ampEnvelope blocks,...
  9. Thanks for the plug, @manicksan! Yes, my...

    Thanks for the plug, @manicksan!

    Yes, my updated audio core and library (Dynamic Audio Objects) should make this fairly trivial:

    // GUItool: begin automatically generated code
    AudioInputAnalog...
  10. Replies
    165
    Views
    20,570

    6ms sounds like two audio interrupt periods of...

    6ms sounds like two audio interrupt periods of 2.9ms each. In the absence of your source code, I'd check that you have created the AudioStream objects in your required execution order as per the...
  11. 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...
  12. 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 -...
  13. 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...
  14. 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...
  15. Replies
    6
    Views
    354

    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...
  16. 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...
  17. 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...
  18. Replies
    52
    Views
    4,149

    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...
  19. Replies
    52
    Views
    4,149

    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...
  20. 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...
  21. Replies
    5
    Views
    309

    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...
  22. Replies
    8
    Views
    455

    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...
  23. Replies
    8
    Views
    455

    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...
  24. Replies
    8
    Views
    455

    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"...
  25. Replies
    8
    Views
    455

    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...
  26. Replies
    8
    Views
    455

    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...
  27. Replies
    5
    Views
    358

    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...
  28. Replies
    11
    Views
    3,421

    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...
  29. Replies
    5
    Views
    358

    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,...
  30. Replies
    5
    Views
    358

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

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

    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,...
  32. Replies
    21
    Views
    1,787

    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...
  33. Replies
    21
    Views
    1,787

    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...
  34. 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...
  35. Replies
    21
    Views
    1,787

    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...
  36. Replies
    25
    Views
    1,279

    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...
  37. ... 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
  38. Replies
    25
    Views
    1,279

    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...
  39. 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...
  40. 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...
  41. 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...
  42. Replies
    25
    Views
    1,279

    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...
  43. 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...
  44. 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...
  45. 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...
  46. 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...
  47. Replies
    52
    Views
    4,149

    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...
  48. Replies
    52
    Views
    4,149

    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,...
  49. +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!
    ...
  50. 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...
Results 1 to 50 of 69
Page 1 of 2 1 2