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

Search:

Type: Posts; User: h4yn0nnym0u5e

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. I too have been following this with interest ......

    I too have been following this with interest ... as @manicksan says, integration with my Dynamic Audio Objects (as a layer on top) looks promising.

    I was thinking that it would be possible to use...
  2. Replies
    1
    Views
    107

    ATmega32U4 as used on Teensy 2.0 has never had a...

    ATmega32U4 as used on Teensy 2.0 has never had a Timer 2, just 0, 3 and 4. At least back at revision D, which was still preliminary in January 2009. There's something strange going on here :)
  3. Already done for release()* in the Dynamic Audio...

    Already done for release()* in the Dynamic Audio Objects library I've been working on. You're right, transmit() should likewise be immunised. Incoming...

    *Actually, I made it so releasing ANY...
  4. Do we really need dynamic casting? So long as you...

    Do we really need dynamic casting? So long as you don't cast to an incorrect class (one not in the hierarchy) it would appear that static casting would work as well for us, and avoid the bloat and...
  5. PR submitted...

    PR submitted (https://github.com/PaulStoffregen/Audio/pull/417)
  6. Definitely looks interesting. At first glance it...

    Definitely looks interesting. At first glance it appears that an OSC class library could use AudioStream objects as its base class, and thus be made to work with static or dynamic audio objects. That...
  7. v0.3-alpha release

    New release made, can be found at https://github.com/h4yn0nnym0u5e/Audio/releases/tag/v0.3-alpha.

    This fixes some issues with creating and destroying input and output objects; I'm not able to test...
  8. Just to alert @djex81, I've built on @MarkT's...

    Just to alert @djex81, I've built on @MarkT's update to make a version of AudioPlayQueue that has the option not to stall the application if audio blocks or queue entries run out: you can find this...
  9. Amended class now available on...

    Amended class now available on https://github.com/h4yn0nnym0u5e/Audio/tree/bugfix/play_queue_stall: there's an example sketch in the (new) examples/Queues folder. Need to do the GUI documentation now...
  10. Issue reported in github, working on amended...

    Issue reported in github, working on amended class and test code.
  11. It's pretty hard to see how any functional code...

    It's pretty hard to see how any functional code could depend on the horrible behaviour seen here!

    I may do a branch and PR to see if Paul will contemplate getting a fix in, since he's clearly...
  12. Just taking a look at this as it's been pulled...

    Just taking a look at this as it's been pulled in, so wanted to ensure all is still well with dynamic audio objects. Made a few tweaks, and while I was scanning the code found these two nasties:
    ...
  13. Not familiar with that library, but you appear...

    Not familiar with that library, but you appear not to be iterating the LED number: your loop iterates i, but ring.setPixelColor() is using c, which you never touch after defining it...
  14. Best 3.x as test-bed?

    I've been reminded in another thread that I haven't made the relevant changes to the Teensy3 AudioStream code. Testing this will be tricky at the moment as I don't have any hardware to test on, just...
  15. I wouldn't rule out some sketches behaving...

    I wouldn't rule out some sketches behaving differently, but I would guess that a dependency on exact execution order is rare. If a problem is reported then it should be possible to restore the...
  16. And for further future reference, if Paul pulls...

    And for further future reference, if Paul pulls in my Dynamic Audio Objects (as he’s said he might), the execution order then will be governed by the “physical” connection order. Though it may turn...
  17. Basic (?) C++ destructor + interrupt question

    Hi folks

    This is directly-related to Teensy only in that I've been banging my head against this wall for a few days with getting some Audio library objects to die quietly and not take the whole...
  18. Agree about audio buffers (an easy one to...

    Agree about audio buffers (an easy one to miss....), but I believe that the AudioOutputSPDIF3 object can assume update responsibility, so you don't need the AudioOutputI2S. That's based on my reading...
  19. Replies
    115
    Views
    7,849

    On the roadmap page?...

    On the roadmap page?


    Dynamic Updates & Web Designer Control
    Today, the audio objects really need to be statically allocated. Some distant future version will feature working object...
  20. Replies
    115
    Views
    7,849

    Just posting here as they're two of the four...

    Just posting here as they're two of the four "major contributions" that @PaulStoffregen says he's got pending, and an early warning might save later grief! If the incompatibility results in one or...
  21. Replies
    115
    Views
    7,849

    I'm sorry to report that WaveplayerEx and my...

    I'm sorry to report that WaveplayerEx and my Dynamic Audio Objects are (currently) not playing well together, at least in my "torture test". Run this with the Serial Plotter to visualise memory use...
  22. Ah, OK. As far as I know the only item in the...

    Ah, OK. As far as I know the only item in the path which isn't a simple word-for-word transfer may be in the USB audio driver (cores/teensy4/usb_audio.cpp), which has to cope with the sample rate not...
  23. Short answer - too much! Here's your patch in the...

    Short answer - too much! Here's your patch in the Audio System Design Tool:
    26225
    fir1+2 and queue1+2 have too many connections to their inputs: current rules are that the last connection made...
  24. That's very gratifying! I did a quick search and...

    That's very gratifying! I did a quick search and couldn't immediately see which other 3 efforts you might be considering - if you post which those are, then I can try to have a look and see if I can...
  25. As noted above, I've done a dynamic audio...

    As noted above, I've done a dynamic audio library. With that, creating and destroying on the fly is one approach, but you could also switch to "don't update if not connected to the main update list"...
  26. Not using the official core and Audio library,...

    Not using the official core and Audio library, but I've done some work on that - please see this thread which has links to my github repositories. I've not had any reports of bugs / difficulties...
  27. Updated in both cores ...

    Updated in both cores and Audio to pre-release v0.2-alpha: please use both together!

    Cores is roughly in sync with Teensyduino 1.55 beta #3
    Documentation updated in the Audio library
    Defaults...
  28. Thanks Paul. I've forked "cores" from your repo...

    Thanks Paul. I've forked "cores" from your repo so I can work on dynamic audio objects, and tried to keep it up to date with your [only] master branch, but clearly that can get out of step with other...
  29. Don’t think LM358 is rail-to-rail, which is...

    Don’t think LM358 is rail-to-rail, which is probably needed at 3.3V. Lots of options are, though.
  30. Replies
    74
    Views
    4,830

    Broken audio example (?)

    Bit of a cross post, but please see https://forum.pjrc.com/threads/68163-Master-commit-7798d24-breaks-audio-library?p=288262#post288262 and https://github.com/PaulStoffregen/cores/issues/607. This...
  31. Master commit 7798d24 breaks audio library

    Raised in GitHub as issue #607

    Audio/WavFilePlayer.ino example will not compile with cores 7798d24 and audio library 1c5426e


    A complete copy of the code:...
  32. Yamaha do use a Hall sensor for the reed sensor...

    Yamaha do use a Hall sensor for the reed sensor on their WX controllers. The service manuals are findable on the web... I’d considered adding an accelerometer / gyro for extra controller channels,...
  33. Apologies, but don't use the above, some of the...

    Apologies, but don't use the above, some of the work on FS.h in cores seems to have broken the audio libraries...
  34. I've done (i.e. got working but not really...

    I've done (i.e. got working but not really finished...) a wireless MIDI implementation for the Yamaha WX series of wind controllers, tested only on the WX-5. That used an Arduino Pro Micro +...
  35. Minor updates to bring into sync with current...

    Minor updates to bring into sync with current cores and Audio library, fix a compile-time warning about an uninitialised variable (code never seemed to execute, though...), and enable an early call...
  36. Thread: Goodbye

    by h4yn0nnym0u5e
    Replies
    14
    Views
    2,028

    As a newcomer who only joined the forum three...

    As a newcomer who only joined the forum three months ago, but has benefitted from others' help and (I hope) also made modest contributions, I'd like to add my perspective to this thread. (For info,...
  37. Replies
    115
    Views
    7,849

    Suspect it's a dedicated controller / ASIC these...

    Suspect it's a dedicated controller / ASIC these days, or maybe an ARM processor. In the good ones. Cheap ones, who knows...
  38. Replies
    115
    Views
    7,849

    I’m only using one microSD for my testing so far....

    I’m only using one microSD for my testing so far. No, it’s had no special treatment, I’ve probably never formatted it, just got it out of the pack and used it ... just like a real user :D It always...
  39. Replies
    115
    Views
    7,849

    Found part of the problem and created a PR - I...

    Found part of the problem and created a PR - I wasn't taking into account the sample size (8- or 16-bit), or the number of channels, when estimating the CPU load from the SD card reads.

    With this...
  40. Replies
    115
    Views
    7,849

    Looks valid to me, there must be something going...

    Looks valid to me, there must be something going wrong in my measurements. Need to think about it... There's no logical reason why the SD card speed should vary, just the way it interacts in practice...
  41. Replies
    115
    Views
    7,849

    Great. Note that it's "safe" to switch the read()...

    Great. Note that it's "safe" to switch the read() method while actively playing, as far as I can tell. May be some minor pops, but it doesn't crash.

    I've just done some documentation in the GUI...
  42. Replies
    115
    Views
    7,849

    PR submitted! For backward compatibility it...

    PR submitted! For backward compatibility it defaults to the "old school" interrupt re-load, as discussed above.
  43. Replies
    115
    Views
    7,849

    Mainly using the Audio library’s figures, plus I...

    Mainly using the Audio library’s figures, plus I put a wrapper around the event response read from the SD, as that’s obviously happening outside where the library can count it. Interrupt counts the...
  44. Replies
    115
    Views
    7,849

    Forgot to say, those figures are with...

    Forgot to say, those figures are with addMemoryForRead(4). With the 16 tracks and addMemoryForRead(1), I get 30% and 125%, though oddly the interrupt version actually still sounds OK.
  45. Replies
    115
    Views
    7,849

    Clearly not. I get 5% load for event-driven,...

    Clearly not. I get 5% load for event-driven, 88-95% interrupt-driven for the 4+6+8 track test. Both sound OK.
  46. Replies
    115
    Views
    7,849

    All merged in and pushed up to my repo. Just...

    All merged in and pushed up to my repo.

    Just done a test with 16x mono 16-bit 44kHz WAV files: CPU load looks like 12.5% with the event version, sounds as if it's working OK (hard to tell with...
  47. Replies
    115
    Views
    7,849

    Agree about setting the default, as noted that’s...

    Agree about setting the default, as noted that’s very easy. It’d be good to get some response from Paul on whether the player might be adopted at some point, and guidance on what would improve the...
  48. Replies
    115
    Views
    7,849

    Hi Frank You can find it at...

    Hi Frank

    You can find it at https://github.com/h4yn0nnym0u5e/Teensy-WavePlayer/tree/feature/UseEventResponder. As of 0d7e008 it isn't backward-compatible with existing sketches, because it needs...
  49. Replies
    115
    Views
    7,849

    I've done some work on pushing the SD card reads...

    I've done some work on pushing the SD card reads out to the foreground code by embedding an EventResponder in each AudioPlayWav object. Not fully tested but it looks massively more efficient (I don't...
  50. Replies
    115
    Views
    7,849

    Excellent - pulled and tested, still works :D ...

    Excellent - pulled and tested, still works :D

    It could indeed replace the other players, or the existing ones could simply become a skin on yours - much easier to maintain.

    Happy to create a...
Results 1 to 50 of 143
Page 1 of 3 1 2 3