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

Search:

Type: Posts; User: Frank B

Page 1 of 10 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    873
    Views
    17,231

    Morning Kurt, don't you need the screw?

    Morning Kurt,

    don't you need the screw?
  2. Replies
    12
    Views
    233

    The other models have their own eeprom-emulation...

    The other models have their own eeprom-emulation code, so it's unlikely they are affected.



    Reading EEPROM: EC 91 10 F7 7A 7E 26 42 81 F5 50 8D 3F 1E 51 16 17 11 8F 25 FB A2 0D 01 F1 B9 0A F4...
  3. Replies
    12
    Views
    233

    I can confirm this. It happens without the EEPROM...

    I can confirm this. It happens without the EEPROM library, too.
    I used eeprom_write_block(), eeprom_read_block().
    Interesting is, that something happens after a few block writes and it starts...
  4. Replies
    8
    Views
    150

    Ordered the "Lead Foot". Thanks!

    Ordered the "Lead Foot".
    Thanks!
  5. Replies
    8
    Views
    150

    A search for "wah wah enclosure" shows this from...

    A search for "wah wah enclosure" shows this from Alie:...
  6. Replies
    8
    Views
    150

    Thanks for the tips! I think there is the right...

    Thanks for the tips!
    I think there is the right one.

    Yes, it should be for a kind of WAH-WAH (but with Teensy)

    A Cry Baby would be perfect, but as said, a bit expensive..
  7. Replies
    8
    Views
    150

    "Empty" Audio effects pedal

    I am looking for an empty case for an audio effects pedal with a built in potentiometer. Where can I buy something like that? (Europe favored)
    Or, alternatively - how do you build something like...
  8. Probably a bug in your code. Not sure what you...

    Probably a bug in your code.

    Not sure what you expect.. without knowing anything about the code or even what you're doing or about the hardware you use .. it's impossible to answer.
    The photos...
  9. Does 512 work with a lower samplerate? And why...

    Does 512 work with a lower samplerate?

    And why do you sample with that high speed?
  10. Replies
    3
    Views
    108

    Danke :) Kein Problem.. Thanks . No problem

    Danke :) Kein Problem..

    Thanks . No problem
  11. Replies
    3
    Views
    108

    You posted to that thread a few minutes ago.

    You posted to that thread a few minutes ago.
  12. Just power the Teensy with 5V (cut the pads) and...

    Just power the Teensy with 5V (cut the pads) and don't connect the new 3.3V rail to the Teensy. Note, don't forget to connect GND.
  13. Replies
    873
    Views
    17,231

    Sorry, havn't read all. Is there an audio...

    Sorry, havn't read all.
    Is there an audio problem, i.e. distorted sound?
    Or an other problem?

    AudioNoInterrupts() just disables the very low priority software interrupt that generates new audio...
  14. Replies
    11
    Views
    219

    Thank you, Luni :)

    Thank you, Luni :)
  15. Another common problem we often see here is that...

    Another common problem we often see here is that Teensy is so much faster. Wherever Bitbang is used, Teensy may simply be too fast for the attached hardware. Then, for example, successive...
  16. You will notice that it also needs more RAM. And...

    You will notice that it also needs more RAM. And the AVR program may behave differently on ARM.
    The main difference on ARM "Int" is 4 byte size vs 2 byte on AVR. Same for pointers and derived data...
  17. Replies
    11
    Views
    219

    A guess: Test Call 2: For AVR, the string ist...

    A guess:
    Test Call 2: For AVR, the string ist stored in RAM, because the "F" Macro is missing. So, no problem to modify it.
    However, I'm not 100% sure where Teensy stores it.. :) Would have to take...
  18. Yes, that's correct.

    Yes, that's correct.
  19. Replies
    11
    Views
    219

    The common thing that both compilers are "GCC"....

    The common thing that both compilers are "GCC".
    But one is for ARM, the other for ATMEGA. They are different versions, and are called with different flags. If you turn on "verbose compile" you can...
  20. ATMega is a completely different architecture. It...

    ATMega is a completely different architecture. It is 8 Bit cpu - 1 Byte per instruction.
    Teensy is 32 Bit. Each Assembler instruction needs 2..4 Bytes. (edited here (thumb instructions - have to...
  21. Replies
    10
    Views
    227

    void checkPosition() { code for pins 21, 23...

    void checkPosition()
    {
    code for pins 21, 23 here...
    }

    void loop()
    {

    [...]
    while(myKeyPad.ky_rdy == 1)
  22. Replies
    10
    Views
    227

    Simple :) Create a function that performs the...

    Simple :) Create a function that performs the query(polling) and call it whenever you think you need it. Insert the call into your loops and everthing is good...
  23. Replies
    10
    Views
    227

    Nick, it is important to know if the switches are...

    Nick, it is important to know if the switches are mechanical switches or not.
    Mechanical switches bounce. Always.
    Bouncing means, if a switch changes its state, youl'll get not one interrupt...
  24. Replies
    20
    Views
    329

    If you quote it, quote all... Returns a...

    If you quote it, quote all...


    Returns a pointer to an array of 128 int16. This buffer is within the audio library memory pool, providing the most efficient way to input data to the audio system....
  25. Replies
    20
    Views
    329

    YOu didn't say it does not work.. you mentioned a...

    YOu didn't say it does not work.. you mentioned a warning only..
    What does not work?

    note, memcpy copies 128 BYTES... for (u)int16 you may want 256?
    Queue.getBuffer(); may return NULL I think..
  26. I2C is often the reason for noise. Don't know...

    I2C is often the reason for noise. Don't know exactly why... perhaps because it's relatively slow?
    I think it should help to use the slowest speed possible. series resistors (and/or even small...
  27. Replies
    20
    Views
    329

    Arduino should show you the line? I'd guess it's...

    Arduino should show you the line?
    I'd guess it's here :
    int16_t * b = buffer_0; (because buffer 0 is "unsigned short int")

    But I'm not a compiler... ;)
    That's why a complete program posted is...
  28. Replies
    10
    Views
    227

    I don't see why this needs interrupts... but ok.....

    I don't see why this needs interrupts... but ok.. didn't you say you have already working code?

    Are these couplers fed by switches?
  29. Ok.. so let's calc. 5 files * 44100 samples/sec...

    Ok.. so let's calc.
    5 files * 44100 samples/sec * 2 bytes per sample * 20 * 60 (20 minutes) :

    5*44100*2*20*60 = ~ 530 Megabytes

    I'd just use 5 Teensys... doable for 130$ maybe.. (cheap D/As)...
  30. Yes, FLASH is an option, if it is large enough.

    Yes, FLASH is an option, if it is large enough.
  31. Some time ago I created an experimental mp3 lib....

    Some time ago I created an experimental mp3 lib. Don't remember exactly how many mp3 simultanoulsy were possible.. must have been 3 or 4 @128kBps
    I can try and play a bit with it.
    However, i...
  32. I don't think reading 5 audio files with 44khz is...

    I don't think reading 5 audio files with 44khz is possible.
    Perhaps it can work if the files are mono and with a lower sampling rate.. or by using two or 3 microcontrollers?

    The problem is not...
  33. Or not enough Audio Memory or interrupts disabled...

    Or not enough Audio Memory or interrupts disabled too long.. or too much of them, or one is taking too much time..?

    The 100HZ i2c noise really looks like a hw problem.
  34. Hm, I can't help you with that... Others?

    Hm, I can't help you with that...
    Others?
  35. Do not connect it to 5V or VIN, use 3V

    Do not connect it to 5V or VIN, use 3V
  36. HI, have not tried it, but I guess something...

    HI,

    have not tried it, but I guess something like

    button.update();
    int state = button.read();
    should do it.

    For the potentiometer values: How is it wired to the teensy?
  37. Yes, there is a problem in the Teensy 4.x core....

    Yes, there is a problem in the Teensy 4.x core.
    Please download the newest Beta https://forum.pjrc.com/threads/66357-Teensyduino-1-54-Beta-7 and update it with startup.c from Github...
  38. I'd use a PC.

    I'd use a PC.
  39. Sorry, but I dont think we can help you. Without...

    Sorry, but I dont think we can help you. Without seeing the sourcecode...
  40. Replies
    10
    Views
    227

    HIGH HIGH is not detectable by an interrupt....

    HIGH HIGH is not detectable by an interrupt.
    Best is to use the Bounce2 library.

    If you print a message, it means there is more than enough time, and absolutely no need for interrupts.
  41. Replies
    3
    Views
    117

    You can use the "program" pin. It is connected to...

    You can use the "program" pin. It is connected to the button.
    Teensy 3.2 has no red light.
  42. Replies
    12
    Views
    3,585

    NOP means "No operation", and the CM7 does...

    NOP means "No operation", and the CM7 does exactly that. Sometimes, it ignores a nop completely and just removes it from the pipelines (zero cycles), sometimes it takes one cycle.
    Often, two NOPs...
  43. Replies
    2
    Views
    204

    Quick answer: No.

    Quick answer: No.
  44. Replies
    205
    Views
    14,939

    My knowledge may be outdated, but as far as I...

    My knowledge may be outdated, but as far as I remember the Pico can do either audio-in or audio-out, but not both. You would also have to see if it can provide mclk for the SGTL.

    In the meantime...
  45. Replies
    205
    Views
    14,939

    Would be easier and save much time to just use a...

    Would be easier and save much time to just use a Teensy ;)
  46. Hi, use transfer(void *buf, size_t count) -...

    Hi,
    use transfer(void *buf, size_t count) - that's the fastest.
  47. ..and..can you show us a photo? Is everything...

    ..and..can you show us a photo? Is everything soldered?
  48. This is the USB Serial. You may want to try...

    This is the USB Serial. You may want to try Serial2 :-)

    If that doesn't solve the problem, you'll have to show us some code - or better, all the code.
    It needs to be broken down to a minimalistic...
  49. Replies
    10
    Views
    305

    That's the easy part. attachInterrupt() Then,...

    That's the easy part. attachInterrupt()
    Then, you can take a look at the audio-library SPDIF input and look at the code. Remove all the DMA stuff, and it is almost done..
  50. Replies
    4
    Views
    194

    The Audio library provides raw data. Just use the...

    The Audio library provides raw data. Just use the AudioRecordQueue: https://www.pjrc.com/teensy/gui/?info=AudioRecordQueue to read the data - and then print it.
    What is printing useful for?
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4