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

Search:

Type: Posts; User: duff

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    265

    Ok I'll work on this again, it's going to be a...

    Ok I'll work on this again, it's going to be a slow slog though, there are so many things with the M7 processor that you have consider that you didn't in the arm M0/M4!
  2. Replies
    29
    Views
    1,474

    Not that its not appropriate just that you...

    Not that its not appropriate just that you probably be better served starting your own thread about this specific topic.

    As far as time stretching it looks like you know what your looking for...
  3. Replies
    29
    Views
    1,474

    I'm not exactly sure at the moment how this would...

    I'm not exactly sure at the moment how this would be done, are you looking to slow down the tempo of a piece of music while keeping the same pitch like the Amazing Slow Downer? In the future,...
  4. Replies
    4
    Views
    265

    Teensy 4.0 Low Power

    Hi All, just wanted to gauge the priority of low power operation of the Teeny 4.0? I have worked on it for Snooze off and on for a bit now and it's not exactly an easy thing to implement since it is...
  5. Replies
    29
    Views
    1,474

    Thanks for the link, I'll check out Java code to...

    Thanks for the link, I'll check out Java code to see the demodulation technique, did you implement it yet in your Audio Object?
  6. Replies
    29
    Views
    1,474

    .....Link?

    .....Link?
  7. Replies
    29
    Views
    1,474

    here is my first release of the vocoder for the...

    here is my first release of the vocoder for the Audio library -> https://github.com/duff2013/AudioEffectVocoder

    There are two examples that pitch shift (+- semitones) a female singing a short clip...
  8. Replies
    29
    Views
    1,474

    Do you have any wavelet code that runs on...

    Do you have any wavelet code that runs on Teensy3-4 using Audio library?
  9. Replies
    29
    Views
    1,474

    @MikeDB is correct, you can substantially speed...

    @MikeDB is correct, you can substantially speed up your (@Blackaddr) algorithm by using a trig equalities trick for a constant stepped sine, cos. That being said, in my work on the Oceans algorithm...
  10. Look at the example...

    Look at the example Low_power_push_Button_Hold_SD_Logger.
  11. millis/micros will be updated when woken if you...

    millis/micros will be updated when woken if you use the timer driver not the rtc driver inwhich you do currently. Try the Timer driver instead and see if that helps.
  12. Your example looks fine. I looked into this...

    Your example looks fine.


    I looked into this library a little and it uses micros to keep track of it's "os" time. When you hibernate sleep the clock that runs micros is off, so it won't be...
  13. Never used the LMIC Library but Serial printing...

    Never used the LMIC Library but Serial printing (USB) and sleeping are not going to work as you expect and could be some of your issues. For a more robust printing solution use the Hardware Serial...
  14. Ok looking at the setRtcTimer function in Snooze...

    Ok looking at the setRtcTimer function in Snooze the hours, minutes and seconds are defined uint8_t so the maximum value can only be 255 for each, so 14 days would be 336 hours! Since I'm doing a...
  15. This is very interesting, so the first RTC alarm...

    This is very interesting, so the first RTC alarm wakeup always works even if it's say three weeks away but after going back to sleep (for like a two weeks or longer), does it fail every time? Can you...
  16. It looks like you got it working but do you want...

    It looks like you got it working but do you want to add 100 msec to the timer each time you wake up? If not then you don't have to update the "TimerLength" or reset the timer it will keep that value...
  17. I've never used a gps module but it seems that...

    I've never used a gps module but it seems that you are reading the gps data then going to sleep, shouldn't you read the gps receiver after waking? Does this module toggle a pin when new data has...
  18. That time is from the gps module as far as I can...

    That time is from the gps module as far as I can see: "gps.time.minute()"
  19. Not sure why you are getting stale data, is this...

    Not sure why you are getting stale data, is this data coming from the GPS or from millis on the Teensy? Is this stale data what you are printing after waking, i.e.


    if (who == 16) {// pin wakeup...
  20. Can you try this: SnoozeBlock config(usb,...

    Can you try this:


    SnoozeBlock config(usb, digital);
  21. Replies
    4,349
    Views
    469,482

    Hi All, I've been pretty quite on the T4 as of...

    Hi All, I've been pretty quite on the T4 as of late but have made some progress with the low power features of this chip. I'm decoupling Snooze from the each of the teensy chips and putting all the...
  22. Replies
    17
    Views
    851

    I would just use one file and you can use...

    I would just use one file and you can use elapsedMillis for the timing.
  23. Replies
    17
    Views
    851

    That should work, how much more does it play...

    That should work, how much more does it play after that?
  24. Replies
    12
    Views
    503

    This script should take care of those 'USB...

    This script should take care of those 'USB Serial# #' devices.


    #!/bin/sh
    #https://www.jamf.com/jamf-nation/discussions/24815/deleting-usb-network-interfaces


    IFS=$'\n'...
  25. Replies
    4
    Views
    453

    Even with sleeping the Teensy you should look...

    Even with sleeping the Teensy you should look into shutting down all the external components when you want the Teensy to sleep. In my audio applications the Teensy 3.2 actually is the least power...
  26. Replies
    4,349
    Views
    469,482

    has anyone noticed that USB Serial doesn't work...

    has anyone noticed that USB Serial doesn't work if compile and upload a blank sketch?
  27. Replies
    4,349
    Views
    469,482

    Oh thanks I didn't look at the commit time I...

    Oh thanks I didn't look at the commit time I thought that Teensy GitHub mirrored the teensyduino installer.
  28. Replies
    4,349
    Views
    469,482

    Weird, just downloaded a fresh Arduino IDE and...

    Weird, just downloaded a fresh Arduino IDE and installed 1.46 and noticed that the githubs core_pins.h does not match the core_pins.h I just installed. Mine has no mention of #if...
  29. Replies
    4,349
    Views
    469,482

    Since putting the beta1 board on hold for awhile...

    Since putting the beta1 board on hold for awhile I've started looking at the low power features again and was wondering if the new beta2 boards will have the bootloader go into lower power mode....
  30. Replies
    6
    Views
    669

    Those are the wakeup pins for deepSleep and...

    Those are the wakeup pins for deepSleep and hibernate only so if you want every pin to be able wake the teensy up those are your choices.

    If I where you I would work one step at a time, having a...
  31. https://github.com/duff2013/Zilch/releases/tag/v0....

    https://github.com/duff2013/Zilch/releases/tag/v0.3
  32. Replies
    17
    Views
    2,150

    Can you please put your code between code...

    Can you please put your code between code brackets in this forum, it makes reading your code much easier. Just to be sure you are using the Arduino Serial Monitor and what OS?

    I don't know why you...
  33. The latest version dose not currently work with...

    The latest version dose not currently work with the LC, it did before I rewrote it. It's on my todo list so you bringing it up might help me speed up that. I'm currently got a lot of irons in the...
  34. Replies
    17
    Views
    2,150

    Can you try the "deepSleep_usb_serial" example...

    Can you try the "deepSleep_usb_serial" example and make sure your "USB_Type:" in Arduino is "Serial".
  35. Replies
    3
    Views
    338

    Also in the bigger picture this library uses...

    Also in the bigger picture this library uses double buffering so when one buffer is filling up the other is being worked on, this helps with latency. This algorithm has a high cpu load so I had to...
  36. Replies
    3
    Views
    338

    Yes, it was done for performance issues. You also...

    Yes, it was done for performance issues. You also should lowpass filter the data stream before feeding it to notefreq. If you look at my GitHub version I do that for you when decimating the audio...
  37. Replies
    4,349
    Views
    469,482

    Where is the 3.3V regulator located on the board?

    Where is the 3.3V regulator located on the board?
  38. Replies
    14
    Views
    3,241

    I've been working on a phase vocoder off and on...

    I've been working on a phase vocoder off and on for awhile now and I can tell you its not easy, well not easy for realtime pitch shifting using Audio library.

    First off the q15 data type for CMSIS...
  39. Replies
    4,349
    Views
    469,482

    Ok so DMAMEM is OCRAM which is 256k makes sense...

    Ok so DMAMEM is OCRAM which is 256k makes sense now. I saw this comment on this thread just now that explains that Paul is using fixed memory sections in the linker script and will fix later. Ok I'm...
  40. Replies
    4,349
    Views
    469,482

    With beta9 I get the cryptic memory error...

    With beta9 I get the cryptic memory error (section `.bss' is not within region `DTCM') with this sketch:


    #define BUF_SIZE 30066
    uint32_t buffer[BUF_SIZE];


    void setup() {
    memset(buffer,...
  41. Replies
    4,349
    Views
    469,482

    Thanks I did not see this before it definitely...

    Thanks I did not see this before it definitely helps.

    I know what was wrong with my optimized fft issue, had to change define about using Kinetis K chips. Even with dsp v1.5.1 it still beats the...
  42. Replies
    4,349
    Views
    469,482

    Just got my T4 and expansion board yesterday,...

    Just got my T4 and expansion board yesterday, just been poking around for now. Going to work on the low power stuff soon but it looks like I will have to mess with the cpu speeds, voltages and...
  43. Using deepSleep or hibernate will put the...

    Using deepSleep or hibernate will put the boot-loader chip into a low power state that only wakes with the program button push to get it into boot loader mode again. You don't have to use Snooze and...
  44. Replies
    4,349
    Views
    469,482

    No thats fine I think, thanks.

    No thats fine I think, thanks.
  45. Replies
    4,349
    Views
    469,482

    Is the ON/OFF Pin located on the end or bottom of...

    Is the ON/OFF Pin located on the end or bottom of the board? I can't tell from this pinout post.
  46. Replies
    12
    Views
    639

    I second that if you find a bug flag me on...

    I second that if you find a bug flag me on GitHub, if you have an account, that way I will know. I try to follow these forums the best I can but usually miss a few things here and there. I don't...
  47. Replies
    11
    Views
    780

    I didn't see any lockups but maybe there is...

    I didn't see any lockups but maybe there is something I missed, I'll take look at this after the holidays.
  48. Replies
    3
    Views
    322

    You can play around with those parameters in...

    You can play around with those parameters in Touch.cpp under "HAS_KINETIS_TSI" section. Those settings where similar to what Teensyduino has at the time I wrote it. I can take a look at this but not...
  49. Replies
    11
    Views
    780

    I uploaded a fix to my GitHub page...

    I uploaded a fix to my GitHub page, try it out and let me know if you still have problems.
  50. Replies
    11
    Views
    780

    Thanks for letting me know about this, I have fix...

    Thanks for letting me know about this, I have fix for the 3.2 need to test the others then I'll update my GitHub account.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4