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

Search:

Type: Posts; User: el_supremo

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    12
    Views
    990

    I've not been able to find one for the M7 so I...

    I've not been able to find one for the M7 so I have presumed that the M4 info is a lower bound on the performance of the M7 :)

    Pete
  2. Replies
    12
    Views
    990

    This webpage...

    This webpage has a description of the FPU instructions and their timing. There's also a PDF version of the M4 DSP instructions.

    Pete
  3. I tried your code with an M-Audio keyboard which...

    I tried your code with an M-Audio keyboard which has a modwheel. No matter how much I roll the wheel and play chords and arpeggios, the total note count is always zero at the end.
    You didn't include...
  4. Replies
    10
    Views
    215

    Your code in #3 compiles for me with no errors....

    Your code in #3 compiles for me with no errors. But I am using Arduino 1.8.19, not 1.8.16, and Teensyduino 1.56.

    Pete
  5. Replies
    10
    Views
    215

    #define LockB 35 #define LockLed 30 These two...

    #define LockB 35
    #define LockLed 30
    These two pins are on the bottom of the T4.0. Are you actually using them? Looks like you have spare pins on the top which would be a lot easier to use.

    Pete
  6. Artnet.h #includes Ethernet.h which conflicts...

    Artnet.h #includes Ethernet.h which conflicts with NativeEthernet.

    Don't know how to fix this but I would try meddling with Artnet.h and where it references Ethernet, change it to NativeEthernet....
  7. Replies
    5
    Views
    322

    You need to start debugging your code. Pete

    You need to start debugging your code.

    Pete
  8. No it won't. You've fixed the index but you can't...

    No it won't. You've fixed the index but you can't treat queue1.readBuffer() as an array. You have to save the address in a pointer and then use it as I showed in #12.

    Pete
  9. Replies
    14
    Views
    358

    Can you also post photos of the underside of each...

    Can you also post photos of the underside of each Teensy?

    Pete
  10. (float)(queue1.readBuffer()[i]) This won't work....

    (float)(queue1.readBuffer()[i])
    This won't work. readBuffer returns the address of a buffer, if one is available, and returns NULL otherwise.
    Using 'i' as an array index will also fail because it...
  11. You aren't using the most recent version of the...

    You aren't using the most recent version of the Arduino IDE and Teensyduino. The version of Teensyduino you are using does not have the play() function in the Audio library AudioPlayQueue.
    You...
  12. Replies
    14
    Views
    358

    Can you post photos of the two Teensys? Pete

    Can you post photos of the two Teensys?

    Pete
  13. Replies
    14
    Views
    358

    It's not clear to me what the hardware setup is...

    It's not clear to me what the hardware setup is like. Do you have two completely separate installations, one works and the other doesn't. When you exchange the T3.2 between the two setups, the...
  14. Replies
    14
    Views
    358

    What do you mean by "firmware reference"? The...

    What do you mean by "firmware reference"? The firmware is your code.


    Distinguish which one from which other one? If you mean the T3.2, they should be the same.
    If you mean the code in each...
  15. Replies
    24
    Views
    440

    Did you buy them all from PJRC? Pete

    Did you buy them all from PJRC?

    Pete
  16. Replies
    24
    Views
    440

    And the code @defragster used on a T4.1 also...

    And the code @defragster used on a T4.1 also works on a T3.2

    Part of the problem may be that you are running the most recent version of Teensyduino on a rather old version of the Arduino IDE. The...
  17. Can you send MIDI to a PC/MAC and monitor the...

    Can you send MIDI to a PC/MAC and monitor the received MIDI (e.g. with MIDI-OX)? I have used usbhost on a T3.6 to receive MIDI from a M-Audio keyboard and relay it to a PC and I don't have any...
  18. Replies
    2
    Views
    218

    Yes. As long as the SD card doesn't lag between...

    Yes. As long as the SD card doesn't lag between each WAV it'll be fine. If it does lag, you could store the audio files on PSRAM and use AudioPlaySerialflashRaw but, as its name implies, it doesn't...
  19. Do you have any versions in between 1.8.13+TD...

    Do you have any versions in between 1.8.13+TD 1.53 and 1.8.19+TD 1.56?
    Can you try 1.8.15+TD 1.54 and/or 1.8.16+TD 1.55?

    The write_packed function in USBHost_t36/midi.cpp changed after 1.8.13+TD...
  20. Just a (very long) shot from the hip: remove the...

    Just a (very long) shot from the hip: remove the #pragma and recompile on 1.8.19 Teensyduino 1.56 and try it. Then set the IDE to Tools|Optimize|Smallest Code and try again. Is there any difference?...
  21. Can you post your code or reduce it to a smaller...

    Can you post your code or reduce it to a smaller sketch which reproduces the problem?
    Which version(s) of Teensyduino are you using with 1.8.13 and 1.8.19? (Note that 1.8.13 and 1.8.19 are the...
  22. Replies
    14
    Views
    231

    The assignment operator appears to be overloaded...

    The assignment operator appears to be overloaded such that if the right hand side is a C string and the left hand side is a String, the compiler will generate the code required to perform what is...
  23. Replies
    14
    Views
    231

    The int() function does not convert a string to...

    The int() function does not convert a string to an integer. It converts from the datatype in the parentheses to an int. In your code, str is a pointer to (i.e. the address of) a char array. The int()...
  24. Replies
    14
    Views
    231

    SD.open isn't defined for String arguments. Use a...

    SD.open isn't defined for String arguments. Use a C character string:

    const char *foo = "datalog.txt";
    File dataFile = SD.open(foo);

    Pete
  25. Replies
    10
    Views
    200

    It won't cause the main problem but the volumepod...

    It won't cause the main problem but the volumepod function sends two CC 13

    usbMIDI.sendControlChange(7, val, 12);
    usbMIDI.sendControlChange(7, val, 13);
    ...
  26. Replies
    10
    Views
    200

    I fixed the error here and your code does indeed...

    I fixed the error here and your code does indeed blast out a lot of MIDI stuff, but not only D#.
    Here's a piece of a log from MIDI-OX.

    ===> MIDI-OX Version: 7.0.2.372
    ===> Log Opened: Sun...
  27. Replies
    10
    Views
    200

    There's another array which causes an error but...

    There's another array which causes an error but both problems are fixed if you define ROWS to be 12 instead of 11.

    const byte ROWS = 12;

    Now it compiles.
    Pete
  28. Replies
    10
    Views
    200

    Your code doesn't compile. This array declaration...

    Your code doesn't compile. This array declaration has two errors.

    const byte ROWS = 11;
    const byte COLS = 4;

    char keys[ROWS][COLS] = {
    {0,76,88,100},//E 22
    {65,77,89,101},//F 23...
  29. Have you asked on the Sparkfun forum? Pete

    Have you asked on the Sparkfun forum?

    Pete
  30. The DS3231 has two programmable alarms which...

    The DS3231 has two programmable alarms which would make it easy for you to set an alarm that occurs every hour on a specific minute of the hour.

    Pete
  31. You can use AudioEffectEnvelope to affect the...

    You can use AudioEffectEnvelope to affect the waveform. In particular, it can be used to turn the waveform on and off.

    Pete
  32. //#include // comment out...

    //#include <SmartLEDShieldV4.h> // comment out this line for if you're not using SmartLED Shield V4 hardware (this line needs to be before #include <SmartMatrix3.h>)
    #include...
  33. Why are you duplicating this topic? Pete

    Why are you duplicating this topic?

    Pete
  34. Only thing I can suggest is that you are using...

    Only thing I can suggest is that you are using older versions "Arduino: 1.8.13 (Mac OS X), TD: 1.55".
    Arduino is now 1.8.19 and TD is 1.56

    Maybe an upgrade will help?

    Pete
  35. The output indicates that it is using...

    The output indicates that it is using FilenameFunctions.cpp so I don't know why it is saying that initFileSystem is not declared when it *is* declared in FilenameFunctions.cpp

    Pete
  36. Replies
    15
    Views
    826

    That's because the first time you print that...

    That's because the first time you print that line, you use Serial.print not Serial.println.

    Pete
  37. In my AnimatedGifs directory there are three...

    In my AnimatedGifs directory there are three files:
    AnimatedGifs.ino
    FilenameFunctions.cpp
    FilenameFunctions.h

    initFileSystem is defined in the .cpp file.
    It looks like you are missing either...
  38. It would make life a whole lot easier if you just...

    It would make life a whole lot easier if you just cut and paste the whole error message.

    Pete
  39. Here's the line of code: const rgb24 (COLOR_BLACK...

    Here's the line of code: const rgb24 (COLOR_BLACK - [0,0,0];
    That line of code is badly mangled. It should be:


    const rgb24 COLOR_BLACK = {
    0, 0, 0 };

    When you're using a T3.1 you should...
  40. Replies
    15
    Views
    826

    You need to update your versions of the Arduino...

    You need to update your versions of the Arduino IDE and Teensyduino. Currently, they are Arduino 1.8.19 and TeensyDuino 1.56.
    Which MAC? (might be important)

    Pete
  41. Replies
    15
    Views
    826

    I've tried that code on a Teensy 4.0 with TD 1.56...

    I've tried that code on a Teensy 4.0 with TD 1.56 and Arduino 1.8.19 with Serial monitor on a PC.
    It worked 20 times in a row.

    Pete
  42. The link to the code is dead. Copy and paste...

    The link to the code is dead.

    Copy and paste the text of the code (using code tags using the # icon).

    Pete
  43. Replies
    9
    Views
    359

    Hmmm, or perhaps what you've called a hex string,...

    Hmmm, or perhaps what you've called a hex string, 10E, is actually three ASCII characters and would be stored as:
    bytearray[0] = 'E';
    bytearray[1] = '0';
    bytearray[2] = '1';

    Pete
  44. Replies
    9
    Views
    359

    You haven't separated the hex correctly. The hex...

    You haven't separated the hex correctly. The hex 10E has an implied leading zero and should be 010E which in your bytearray would be
    bytearray[0] = 14 // E
    bytearray[1] = 01 // 1

    and now you can...
  45. Replies
    3
    Views
    272

    I tried your code on a T3.2 and used MIDI-OX on...

    I tried your code on a T3.2 and used MIDI-OX on the PC to monitor its output.
    When pushed Button 1 toggles between sending a MIDI Start and a MIDI Stop.
    The first push of Button 2 starts a timer....
  46. Replies
    12
    Views
    459

    Paul ported...

    Paul ported an Arduino watchdog library. The basic example works fine on a T3.2

    Pete
  47. Replies
    7
    Views
    362

    You're welcome. Pete

    You're welcome.

    Pete
  48. Replies
    1
    Views
    253

    I ran into that a while ago and I think the...

    I ran into that a while ago and I think the problem was something to do with there being a windows System Directory (I forget its name) OR there was a file with garbage characters in the name. The...
  49. Replies
    1
    Views
    238

    The audioShield.lineInLevel(level) function...

    The audioShield.lineInLevel(level) function controls line in.
    See the audio design tool for details of the level which can have values from zero to 15.

    Pete
  50. Replies
    7
    Views
    362

    FYI: I found that a PC program called Pocket MIDI...

    FYI: I found that a PC program called Pocket MIDI will send Clock messages. I modified the InputFunctionsComplete to print the identity of the cable for each Note On/Off and for Active Sensing and...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4