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

Search:

Type: Posts; User: wcalvert

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. I just bought a TLC5947 board, I will get it...

    I just bought a TLC5947 board, I will get it working when I have time, unless someone beats me to it. Maybe this weekend?
  2. The primary I2S interface is definitely working...

    The primary I2S interface is definitely working for many of us, across many Teensyduino versions as well.

    Can you post the code you are using?
  3. You can read the thread about it here:...

    You can read the thread about it here: https://forum.pjrc.com/threads/58028-Pins-to-bring-out-on-a-hypothetical-larger-Teensy4

    Personally I don't want to make any claims about being drop-in...
  4. Well, why not just use off-the-shelf electronics?...

    Well, why not just use off-the-shelf electronics? There are all kinds of bluetooth microphones and headphones if you search on Amazon.

    Is there some kind of signal processing that you are trying...
  5. The Audio library is locked to 44.1KHz so the...

    The Audio library is locked to 44.1KHz so the approach you're taking makes a lot of sense. There's no reason you couldn't load the samples off an SD card into RAM, but due to your high sample rate, I...
  6. Replies
    39
    Views
    1,186

    Any beta updates?

    Any beta updates?
  7. Teensy 2.0 had 5V ADC max input. Teensy 3.x and...

    Teensy 2.0 had 5V ADC max input. Teensy 3.x and 4.x are 3.3V max input.
  8. ADC max input voltage is 3.3V. It seems based on...

    ADC max input voltage is 3.3V. It seems based on your description that you're powering the pots with a 5V supply, which could explain the apparent loss of range. I guess the ADC has an overvoltage...
  9. I was googling and found this library which does...

    I was googling and found this library which does use hardware SPI: https://github.com/ramonaoptics/TLC5947

    You might give it a try. He has tested it with a Teensy 3.2 at least.
  10. Replies
    3
    Views
    105

    Internally, the Teensy Audio lib uses 16bit...

    Internally, the Teensy Audio lib uses 16bit integer math to do the DSP operations. Prosumer DSP crossovers are going to use at least 32bit or perhaps 48bit math to do their DSP operations. The Teensy...
  11. I watched the video and read the posts... I think...

    I watched the video and read the posts... I think I understand what he's asking. The problem has nothing to do with the teensy, it's related to the driver code:...
  12. Looking at Paul's github, I don't see any...

    Looking at Paul's github, I don't see any additions to brightness control. From what little I know of the ws2812 protocol, I doubt it would really be feasible to add it in a non-blocking way. That's...
  13. Thread: Tap Tempo

    by wcalvert
    Replies
    2
    Views
    88

    Your code compiled no problem for me, are you...

    Your code compiled no problem for me, are you actually having a compile error or did I misunderstand?
  14. Replies
    6
    Views
    239

    Well, even using Serial over USB, you'll still...

    Well, even using Serial over USB, you'll still need to either establish your own protocol or use a library that handles the protocol aspect for you.
  15. Replies
    6
    Views
    239

    Serial would be the easiest for the transport,...

    Serial would be the easiest for the transport, but you'll need to establish some kind of protocol for how the PC side and Teensy side will talk to each other. In the past I have used something called...
  16. Replies
    3
    Views
    205

    It might be worth pointing out that the T4 and...

    It might be worth pointing out that the T4 and even 3.6 are more than capable of processing 24 or 32 bit audio and higher sampling rates. For example you can look at the Tympan code here:...
  17. Replies
    10
    Views
    532

    That is really promising, thank you for taking...

    That is really promising, thank you for taking the time to share the data. Great job.
  18. Replies
    10
    Views
    532

    Not without significant upgrades to the Teensy...

    Not without significant upgrades to the Teensy Audio library. It can only handle stereo, not multichannel.
  19. Replies
    39
    Views
    1,186

    Hey loglow, in your pin listing on the previous...

    Hey loglow, in your pin listing on the previous page, is D1 USB device, and D2 USB host? I'm planning to start laying out a board revision just for this module.
  20. Replies
    141
    Views
    10,623

    My suspicion is that it may be due to the Audio...

    My suspicion is that it may be due to the Audio GUI tool. I think people see DAC listed there and assume it must be supported on the newest platform.
  21. Replies
    10
    Views
    532

    On page 17 of the datasheet...

    On page 17 of the datasheet (https://www.mouser.com/datasheet/2/76/CS42448_F5-1141475.pdf) it mentions "Frequency Response 10 Hz to 20 kHz" and gives some attenuation values, which made me think the...
  22. Replies
    141
    Views
    10,623

    I thought I would link this, since it appears to...

    I thought I would link this, since it appears to be somewhat affiliated with Adafruit, which seems to be a friend of PJRC: https://hackaday.io/project/169387/gallery#d161a3aee96abef2a8e17e2aa7789a8f...
  23. Replies
    39
    Views
    1,186

    Bootloader update, Paul says he is working on the...

    Bootloader update, Paul says he is working on the bootloader chip right now: https://forum.pjrc.com/threads/57132-Bootloader-Chip-For-Teensy-4-0
  24. Replies
    12
    Views
    1,429

    Paying attention here as well, this would...

    Paying attention here as well, this would definitely help make my product easier to build.
  25. Replies
    10
    Views
    532

    Would you be able to comment on the usability...

    Would you be able to comment on the usability with DC-ish signals, let's say under 5Hz? Looking closer at the datasheet, I see there is a high pass filter on the ADCs which can be disabled, but it...
  26. No problem, just beware that if you're using the...

    No problem, just beware that if you're using the audio shield, there is a different version for T3 and T4. So you will need to either buy the latest revision for the T4, or hook up a bunch of jumper...
  27. Ah, well, each reverb takes 22k of RAM, and...

    Ah, well, each reverb takes 22k of RAM, and you've got two of them. Teensy 3.2 only has 64k to start with, minus whatever is needed for the USB stack, etc. I just noticed two delays as well... hmm. I...
  28. Replies
    9
    Views
    192

    Oh that's right, I forgot it is AM. Additive...

    Oh that's right, I forgot it is AM. Additive synthesis is just not my thing.
  29. Replies
    9
    Views
    192

    Why not use the multiply block to modulate the...

    Why not use the multiply block to modulate the wavetable waveform with some other waveform?
  30. You could dynamically build the effect...

    You could dynamically build the effect configuration during runtime with new and delete, but this is not a task for the faint of heart.

    Could you tell us how you know your'e out of memory, just so...
  31. clear() releases all blocks (either 53 or 209...

    clear() releases all blocks (either 53 or 209 depending on the #define), you probably don't want to use that as a part of your normal recording cycle. freeBuffer() releases the "userblock" which is a...
  32. When the sample blocks get filled up, the head...

    When the sample blocks get filled up, the head resets to zero, which means the old sample data will start being overwritten. You can see the resetting happening on line 90:

    if (h >= max_buffers) h...
  33. Replies
    39
    Views
    1,186

    This looks really great, I will be keeping tabs...

    This looks really great, I will be keeping tabs on development. It seems like everything hinges on bootloader support to make it viable for production use.
  34. Replies
    7
    Views
    326

    Well, neither of those look correct to me. Try...

    Well, neither of those look correct to me. Try something like this:


    #include <Audio.h>
    #include <Wire.h>
    #include <SPI.h>
    #include <SD.h>
    #include <SerialFlash.h>

    // GUItool: begin...
  35. Replies
    6
    Views
    250

    If I were going to tackle this problem, I would...

    If I were going to tackle this problem, I would try to get a better understanding of how the file allocation table (the "FAT" in FAT32) could impact performance. If you hold let's say, several...
  36. Replies
    141
    Views
    10,623

    Just my two cents: point 2 can be accomplished...

    Just my two cents: point 2 can be accomplished with an RTOS, point 3 is a toolchain thing. There are many, many ways to skin both of those cats, but it would be best to make a dedicated thread and...
  37. Are you referring to ADAT or other features? The...

    Are you referring to ADAT or other features? The community can help if you provide some more info.
  38. Replies
    87
    Views
    1,500

    Hey, well I can explain the voice stealing part...

    Hey, well I can explain the voice stealing part pretty quickly. Millis() returns the time in milliseconds since power on. So to find the voice that has been on the longest (so we can steal it), we...
  39. Replies
    87
    Views
    1,500

    The benefit of wavetables, at least as I...

    The benefit of wavetables, at least as I understand it, is that you get to have samples recorded at different pitches. This helps make things more realistic because, for example, resonance effects...
  40. Replies
    124
    Views
    4,186

    Clever implementation, great job Frank.

    Clever implementation, great job Frank.
  41. Replies
    13
    Views
    584

    Sorry, I didn't mean to sound pedantic or try to...

    Sorry, I didn't mean to sound pedantic or try to take away from your accomplishment. I think it's awesome, great job :)
  42. Replies
    87
    Views
    1,500

    Actually I don't know, haha. I've only really...

    Actually I don't know, haha. I've only really heard the old "super saw" oscillators which had like 6 oscillators per voice, it makes such a wall of sound it was hard for me to tell. I'll have to...
  43. Replies
    87
    Views
    1,500

    Oh like, instead of the B oscillator being...

    Oh like, instead of the B oscillator being detuned to a higher frequency, you want it detuned to a lower frequency? You could do:

    oscsB[i]->frequency((1.0f / detune) * noteFreqs[voiceToNote[i]]);...
  44. Replies
    87
    Views
    1,500

    I screwed up again, it should be: ...

    I screwed up again, it should be:

    oscsB[i]->frequency(detune * noteFreqs[voiceToNote[i]]);
  45. Replies
    87
    Views
    1,500

    Oh, nice catch, pow() needs both arguments to be...

    Oh, nice catch, pow() needs both arguments to be double or float, that's why it wasn't working.

    Making it continuously sweepable... Hmm, that's a cool idea, I hadn't thought of that. You could...
  46. Replies
    13
    Views
    584

    As a proof of concept, I think this is really...

    As a proof of concept, I think this is really cool! It would be awesome if there was an established file format for this that worked well for embedded use. I mean I guess you could parse the sf2 file...
  47. Replies
    87
    Views
    1,500

    Glad you got it working. I don't have time to...

    Glad you got it working.

    I don't have time to integrate this into the code right now, but it would go something like this. First define a global variable called detune:

    float detune=1.0f;
    ...
  48. Echoing the others about encoders... Very few...

    Echoing the others about encoders...

    Very few midi controllers that I have seen have encoders. When you turn the controller on, what value should each be encoder be set to? 0, mid, max? If each...
  49. Replies
    124
    Views
    4,186

    The licensing concerns means that someone would...

    The licensing concerns means that someone would need to do the port and maintain it in a separate codebase from the core Teensy / Arduino implementation, while respecting the original license. That's...
  50. Replies
    124
    Views
    4,186

    The following is just my humble opinion if you...

    The following is just my humble opinion if you wanted to pursue porting the code to any embedded platform, Teensy or otherwise.

    There is some usage of calloc and free...
Results 1 to 50 of 166
Page 1 of 4 1 2 3 4