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. 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...
  2. 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...
  3. 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.
  4. Replies
    74
    Views
    2,417

    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...
  5. 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:...
  6. 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,...
  7. 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...
  8. 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 +...
  9. 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...
  10. Thread: Goodbye

    by h4yn0nnym0u5e
    Replies
    14
    Views
    1,291

    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,...
  11. Replies
    95
    Views
    2,938

    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...
  12. Replies
    95
    Views
    2,938

    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...
  13. Replies
    95
    Views
    2,938

    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...
  14. Replies
    95
    Views
    2,938

    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...
  15. Replies
    95
    Views
    2,938

    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...
  16. Replies
    95
    Views
    2,938

    PR submitted! For backward compatibility it...

    PR submitted! For backward compatibility it defaults to the "old school" interrupt re-load, as discussed above.
  17. Replies
    95
    Views
    2,938

    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...
  18. Replies
    95
    Views
    2,938

    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.
  19. Replies
    95
    Views
    2,938

    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.
  20. Replies
    95
    Views
    2,938

    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...
  21. Replies
    95
    Views
    2,938

    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...
  22. Replies
    95
    Views
    2,938

    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...
  23. Replies
    95
    Views
    2,938

    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...
  24. Replies
    95
    Views
    2,938

    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...
  25. Replies
    95
    Views
    2,938

    That sounds like a really useful addition. I've...

    That sounds like a really useful addition. I've not soldered up my audio connectors yet, but could probably find a way to test it. Guess you'd only write the header once recordSdWav::stop() was...
  26. Replies
    95
    Views
    2,938

    It looked to me as if both Audio (as we...

    It looked to me as if both Audio (as we understand it) and EventResponder are Teensy-only at the moment anyway. If some future Arduino-based EventResponder needed an explicit yield() call added...
  27. Replies
    95
    Views
    2,938

    Hi Frank Been giving this a bit of thought ......

    Hi Frank

    Been giving this a bit of thought ... and noticed also your post on another thread ... and was wondering if the SD card reads could be moved outside the audio update interrupt entirely,...
  28. Replies
    95
    Views
    2,938

    OK, I've had a go with the test code and also a...

    OK, I've had a go with the test code and also a more fun 6-track saxophone recording, and all seems well now. Thanks for your efforts fixing that, much appreciated.
  29. Replies
    95
    Views
    2,938

    No problem, do keep the sine waves, also any...

    No problem, do keep the sine waves, also any variant of my test code you think might be a useful example! Will pull the update and try it out soon, maybe even tonight.

    Many thanks

    Jonathan
  30. Replies
    95
    Views
    2,938

    Sine wave files zipped and attached - let me know...

    Sine wave files zipped and attached - let me know if you have any problems with them. Agreed, I couldn't see any way that could happen - extremely strange.

    Cheers

    Jonathan
  31. Replies
    95
    Views
    2,938

    Agree, it's getting a good buffering scheme in...

    Agree, it's getting a good buffering scheme in place that would make a big difference. In theory Teensy 4.x with its 1Mb RAM could buffer 8 mono 44100Hz 16-bit tracks for 1s each, so it ought to be...
  32. Replies
    95
    Views
    2,938

    "Good" is just a matter of opinion :o Harder to...

    "Good" is just a matter of opinion :o Harder to do, definitely, but few of the posts I've seen made me think "you're taking totally the wrong approach, think again". Well, not from the SD playback...
  33. Replies
    95
    Views
    2,938

    Sure, no hurry. Multiple separate files is...

    Sure, no hurry. Multiple separate files is probably a more common use case than 8-track WAVs, judging by the number of posts about it! I've been trying to think of a sane way of doing the SD reads...
  34. Replies
    95
    Views
    2,938

    Struggling a bit with this, though possibly...

    Struggling a bit with this, though possibly because I'm trying something which is not the correct use case... I have 6 mono WAV files which I want to play simultaneously, taking advantage of the...
  35. Issue created and PR submitted. Also "fixed"...

    Issue created and PR submitted. Also "fixed" returning NULL on a second call to ::readBuffer() without an intervening ::freeBuffer(), as NULL is documented as "no data available", not "either no data...
  36. Well, it's certainly wrong now... I'm...

    Well, it's certainly wrong now...

    I'm inclined to agree with you that returning NULL to mean "silence" is probably also the Wrong Thing, due to the clash with the existing documented behaviour of...
  37. AudioRecordQueue behaves incorrectly with no input

    The Audio library design rules state that a NULL received audio block (from receiveReadOnly()) should be treated as if a silent block had been received. AudioRecordQueue does not do this, but simply...
  38. I've had a play with similar things some years...

    I've had a play with similar things some years back - full disclosure, I never completed it, though I'm meaning to come back to it some time!

    Reflective optos are a good way to sense small...
  39. Replies
    29
    Views
    1,391

    Time difference for serial printing 6 characters...

    Time difference for serial printing 6 characters rather than 4? You might want to read CYCCNT immediately after the loops end...
  40. I was going to suggest you use my Dynamic Audio...

    I was going to suggest you use my Dynamic Audio Objects library, which allows creation or deletion of AudioStream and AudioConnection objects on the fly, but then noticed you're using a Teensy 3.2...
  41. Replies
    9
    Views
    708

    Don’t think I needed to using this technique -...

    Don’t think I needed to using this technique - USB-right is the reference signal, and USB-left the delayed one. I believe the OP was interested in i2s in to out delay, and I think I’ve measured that....
  42. Replies
    7
    Views
    484

    Here's a simple demo of how I might do it. Note...

    Here's a simple demo of how I might do it. Note you can get into trouble if you change the struct definition, as all the structure members are likely to move, but it makes life pretty simple and you...
  43. Replies
    9
    Views
    708

    Who, me? Well, I did, anyway :) I created a...

    Who, me? Well, I did, anyway :)

    I created a simple audio engine, and physically connected i2s2 out R to i2s1 in R. Hence i2s2 out L will be the same as out R, but delayed by the overall latency of...
  44. Replies
    9
    Views
    708

    Not quite right, no :) Although the audio...

    Not quite right, no :)

    Although the audio designer shows the signal flow as a chain (or a mesh for more complex designs), the whole "engine" is run in its entirety every 2.9ms. Neglecting any...
  45. Been following these threads for a while,...

    Been following these threads for a while, somewhat bemused ... but a couple of (possibly dumb) questions occur to me ...

    Does the notwired.co PCBA follow their schematic or the InvenSense...
  46. I've brought both the cores and AudioStream...

    I've brought both the cores and AudioStream library into sync with Teensyduino 1.54, I believe. As ever, any problems, please post on this thread or raise an issue on github.

    Cheers

    Jonathan
  47. Hi there The Audio Library is at...

    Hi there

    The Audio Library is at features/dynamic-updates, and the modified core at cores. Note that from the latter you should only take AudioStream.cpp and AudioStream.h from the teensy4 folder,...
  48. Replies
    12
    Views
    2,039

    Hi there Just happened across this again -...

    Hi there

    Just happened across this again - very impressive!

    I'm slightly curious why you elected to use 101 "tonewheels" and equal temperament tuning, when the Hammond has 91 (with some weird...
  49. 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...
  50. 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...
Results 1 to 50 of 117
Page 1 of 3 1 2 3