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

Search:

Type: Posts; User: h4yn0nnym0u5e

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    199

    I think there's something slightly screwy with...

    I think there's something slightly screwy with your maths here - each IS out gives two channels, so you can have 4x2 on I2S1 and another 1x2 on I2S2 for an easy-ish maximum of 10 output channels.
    ...
  2. Replies
    6
    Views
    129

    Great news it works! Squeal ... not so good. I've...

    Great news it works! Squeal ... not so good. I've used much longer wires (~20cm) for quick tests, but not connecting to anything much. Could be a ground loop or similar: I'm guessing the mixer is...
  3. Replies
    6
    Views
    129

    You also need the IC control pins (18 and 19)...

    You also need the IC control pins (18 and 19) connected, or the sgtl5000_1 commands won't work. I also seem to recall you need both the Gnd pins wired, not 100% sure about that.
  4. Replies
    14
    Views
    252

    Agree the Teensy 4.1 renders some of the rev D...

    Agree the Teensy 4.1 renders some of the rev D audio board redundant, but it's all useful for those who prefer to use the Teensy 4.0 (for size reasons etc.), and I guess it doesn't make sense for...
  5. Replies
    14
    Views
    252

    This thread...

    This thread might be of interest. You can fit a couple of PSRAM chips to the Teensy 4.1 and another to the audio board, which gives you a total of 4.75 minutes of delay (not all in one lump, though)....
  6. Replies
    6
    Views
    266

    Great! Simple solution, it's just knowing where...

    Great! Simple solution, it's just knowing where to look... also it's brought to light an error in the Audio Shield documentation, which I can

    It would be good if you could share your design on...
  7. Replies
    6
    Views
    266

    For sure, remove the call to i2s1.begin() -...

    For sure, remove the call to i2s1.begin() - thats a killer! You also dont need to connect() the patch cords or begin() the SD wave player object, though I think those are harmless.

    That should...
  8. Enabling control of Audio Shield using different IC busses

    Hi folks

    I've put in PR #439 for an update I've done to enable use of any available TwoWire-based IC bus for control of a PJRC audio shield, using AudioControlSGTL5000. You'll obviously have to...
  9. I've now also had a try at pushing all the audio...

    I've now also had a try at pushing all the audio I/O initialisation code into FLASHMEM. However, it only saves just over 8k if you have one of everything (which isn't possible anyhow), so I don't...
  10. So many pubs have closed ... we used to walk...

    So many pubs have closed ... we used to walk across the cemetery to one in Gwydir Street, don't recall which one. Don't think Clive ever had occasion to do business with Laserpoint.

    Laserium at...
  11. That's teamwork, that is... Laser Point (or...

    That's teamwork, that is...
    Laser Point (or Laserpoint) does ring a vague bell, don't know why. I was working for Sinclair Research from 1983 to 1986, in Willis Road then Milton Hall. It's a small...
  12. TheHermit for the WIN! Woo, as I believe the...

    TheHermit for the WIN! Woo, as I believe the Young Folk are fond of saying, hoo.

    Thanks for doing that testing, helps build at least my confidence that we're getting somewhere.
  13. Ah, OK. Gotcha. I had another look ... and...

    Ah, OK. Gotcha.

    I had another look ... and this sprang out at me (lines 31-33 of knobby.ino):

    const int redPin = 2;
    const int greenPin = 3;
    const int bluePin = 4;Uh-oh, I thought. Changed...
  14. Um ... loaded it up, and I can't find a DAC...

    Um ... loaded it up, and I can't find a DAC object in your design ... am I missing something?
  15. PaulS posted the links in...

    PaulS posted the links in https://forum.pjrc.com/threads/70409-Teensyduino-1-57-Beta-2 - the Announcements category tend to be where the bleeding edge stuff is linked from.
  16. OK, that's fine. I think the results are all over...

    OK, that's fine. I think the results are all over the shop anyway, so changes on a like-for-like test are pretty much expected. The hope is that with 1.57b2 everything will pass. It should be fine to...
  17. ...and. I've had a crack at re-ordering the...

    ...and. I've had a crack at re-ordering the ::begin() code for most of the Audio I/O objects, the result of which can be found at https://github.com/h4yn0nnym0u5e/Audio/tree/fix/io-inits. I've done a...
  18. SSSSSPPLOOOOSH! Yup, Paul has put @KurtE's...

    SSSSSPPLOOOOSH!

    Yup, Paul has put @KurtE's mods into 1.57b2, so you have the choice of just the audio PR or the whole shebang. Up to you...
  19. Thanks @TheHermit! And yes, please don't risk any...

    Thanks @TheHermit! And yes, please don't risk any of your hardware...

    For the moment I'd say we'd like confirmation that your previous tests and use-cases are more robust / completely fixed. You...
  20. At the moment, you add another layer of mixers: a...

    At the moment, you add another layer of mixers: a bit messy, but they consume very little CPU if the channel gains are set to 1.0 or 0.0, or if the source is not transmitting audio blocks. That's why...
  21. Excellent - thanks. And input_i2s, too. From...

    Excellent - thanks.

    And input_i2s, too. From input_i2s.cpp:

    dma.triggerAtHardwareEvent(DMAMUX_SOURCE_SAI1_RX);

    I2S1_RCSR = I2S_RCSR_RE | I2S_RCSR_BCE | I2S_RCSR_FRDE | I2S_RCSR_FR;
    #endif...
  22. Been doing more investigation, and I think one...

    Been doing more investigation, and I think one key point is that (as @KurtE said in #114) dma.enable() must occur before the I2S hardware is enabled, otherwise the I2S will fire a request to a...
  23. Replies
    21
    Views
    2,086

    As noted on...

    As noted on https://forum.pjrc.com/threads/70406-Cannot-Mix-Playing-WAV-snd-MP3-files-with-latest-cores-library, the dynamic AudioConnection has broken some previous code. That code did rely on bugs...
  24. Looks like Paul has already merged that! Im a...

    Looks like Paul has already merged that! Im a bit concerned that the update_responsibility() line is now out of its previous order
    I can take that on, once the PT8211_2 case has been ratified by...
  25. Great! I assume you meant "running from...

    Great!

    I assume you meant "running from FLASHMEM slowed the code down" (which it does, as Flash is slower than ITCM).

    Yup, I spotted that too*. Agree it should be changed throughout, if others'...
  26. You seem to be trying to make multiple...

    You seem to be trying to make multiple connections to the i2s1 inputs.
  27. OK, so here's a thing - these are the last few...

    OK, so here's a thing - these are the last few lines of AudioOutputPT8211_2::begin():

    dma.triggerAtHardwareEvent(DMAMUX_SOURCE_SAI2_TX);

    I2S2_TCSR |= I2S_TCSR_TE | I2S_TCSR_BCE |...
  28. Replies
    18
    Views
    2,317

    Well, I'm not sure my code is much more...

    Well, I'm not sure my code is much more trustworthy than the next person's, but that's what beta releases and GitHub issues are for...

    If it's not proprietary, I'd be interested to see your...
  29. Replies
    18
    Views
    2,317

    Well, it's only "official" in that I've been a...

    Well, it's only "official" in that I've been a bit of a squeaky wheel on the subject, and I put a pull request in on Paul's repository, so it happens to be my code that's been adopted! As yet it...
  30. Replies
    18
    Views
    2,317

    Dynamic AudioConnection objects are in the...

    Dynamic AudioConnection objects are in the Teensyduino 1.57 beta (https://forum.pjrc.com/threads/70196-Teensyduino-1-57-Beta-1).

    If you want dynamic AudioStream objects then you could look at...
  31. Replies
    74
    Views
    9,761

    Have done a PR for GUI++ to make boolean OSC...

    Have done a PR for GUI++ to make boolean OSC parameters work better, I think. Here's an example, see the code in the LED button in the system group:...
  32. I've been playing with this library again, as a...

    I've been playing with this library again, as a result of seeing this thread. At first I couldn't reproduce the issue, then I could, and now I can't again! However, I may have made some progress, my...
  33. OK, I've encountered this problem again, done...

    OK, I've encountered this problem again, done some digging, thought I'd found a culprit, and it's now gone away again of its own accord! Very frustrating...

    However, for anyone who might stumble...
  34. Replies
    12
    Views
    510

    A few points: you never set s back to 0, so...

    A few points:

    you never set s back to 0, so you will only ever trigger/start the cancellation signal once: I assume that's not your intent...
    audio updates, and hence new values for...
  35. Replies
    21
    Views
    2,086

    The last of these is fixed in my PR #642 (and...

    The last of these is fixed in my PR #642 (and duplicated in @KurtE’s #644).

    Everything else is in AudioOutputPWM, which is @MarkT’s baby - see...
  36. You might want to give my Dynamic Audio Library a...

    You might want to give my Dynamic Audio Library a try out: the updated audio objects are on github, and you also need AudioStream.cpp and .h from cores, which can be found here. I started a thread on...
  37. So, is that digital or analog? It's a definition...

    So, is that digital or analog?

    And, let us know your opinion, what does (sensorPin == LOW) mean?
    And what is LOW + HIGH? ;)
    And what is (LOW == HIGH) ?[/QUOTE]

    So, is that digital or analog?...
  38. Replies
    21
    Views
    2,086

    Note that dynamic audio connection for the Teensy...

    Note that dynamic audio connection for the Teensy 3.x is available in PR#642
  39. True, but if USB_SERIAL "wins" then you don't...

    True, but if USB_SERIAL "wins" then you don't have an audio interface, which will clobber stuff!

    Just out of interest I had another play with the TeensyDebug add-on, having failed to get it to...
  40. Repeat disclaimer: I Am Not A PlatformIO User!...

    Repeat disclaimer: I Am Not A PlatformIO User! However...

    Looking at the line "; See https://github.com/platformio/platform-teensy/issues/65", I did, and it may be you have to put back the...
  41. Ah, OK, I understand. I don't use PlatformIO...

    Ah, OK, I understand. I don't use PlatformIO myself, so if that's anything to do with your problem I can't help...

    As far as I can tell from other semi-related work, there are no problems caused...
  42. Works fine for me here, having transposed it to...

    Works fine for me here, having transposed it to the Arduino IDE. I had to

    enable instantiation of the SOARaudio class in setup()
    change from WM8731 to SGTL5000 because that's what I've got
    ...
  43. Replies
    39
    Views
    4,194

    This thread...

    This thread may be of relevance. Can't tell, no code provided...
  44. Replies
    1
    Views
    202

    This was still annoying me, so I had a crack at...

    This was still annoying me, so I had a crack at it. Turns out to be a mis-application of the idea mooted by Paul in...
  45. Replies
    1
    Views
    202

    Bug with AudioOutputSPDIF3

    Hi folks

    Been chasing this one for a while, and have got somewhere, though I don't understand the hardware interactions well enough to make a stab at fixing the code :(

    Here's a sketch that...
  46. Agree, pretty sure I've seen this happen with...

    Agree, pretty sure I've seen this happen with AudioEffectDelayExternal. @MarkT, is there an "opportunity" here for a cheap high-pass filter audio block? i.e., one that doesn't use much CPU, isn't...
  47. I've just realised that when live-editing an...

    I've just realised that when live-editing an AudioEffectDelayExt object, e.g. changing the maxDelay[ms] parameter, GUI++ will need to destroy and re-create it, in a similar manner to what happens...
  48. Replies
    74
    Views
    9,761

    I've had a bit of a play, and you can find the...

    I've had a bit of a play, and you can find the result in a branch in my fork of your code. It's possibly not worthy of a PR, as I've only really improved on Export2/Class; the result for...
  49. Replies
    74
    Views
    9,761

    That's great - seems to be working fine for me! ...

    That's great - seems to be working fine for me!

    What's the best set of .js files for me to tinker with in order to try to make this work for C++ export as well as OSC? Looks like you have Export...
  50. Replies
    4
    Views
    178

    SCK? Pin 13

    SCK? Pin 13
Results 1 to 50 of 375
Page 1 of 8 1 2 3 4