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

Search:

Type: Posts; User: wcalvert

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Well, I don't want to discourage you too much,...

    Well, I don't want to discourage you too much, but it sounds like a big part of your project will include Android development... and let's just say, I write software for a living and I won't touch...
  2. Replies
    58
    Views
    1,881

    That would be incredible... I have been away from...

    That would be incredible... I have been away from this stuff long enough that I didn't expect memory mapping.

    The RAM use case that I am considering is 'multi-track' recording capabilities for my...
  3. Ah... well, to be honest, I probably would not...

    Ah... well, to be honest, I probably would not use Bluetooth then, for one reason: latency. Plain old A2DP has like 200-300 milliseconds of latency which pretty much ruins it IMHO.

    You can get a...
  4. Replies
    58
    Views
    1,881

    I have to admit I'm not familiar with the new and...

    I have to admit I'm not familiar with the new and different flavors of RAM. I believe SDRAM is commonly used, for example, in the SOM that I linked to above. I think SDRAM comes with the unfortunate...
  5. Replies
    58
    Views
    1,881

    My preferences in descending order: * Larger...

    My preferences in descending order:

    * Larger form factor with SDRAM and flash onboard (SOM like this is fine: https://wiki.somlabs.com/index.php/File:VisionSOM-RT-v_1_1.png)
    * Dual row .1" header...
  6. Interesting idea. I googled around a bit, trying...

    Interesting idea. I googled around a bit, trying to see how feasible the idea is, here is what I found:

    * There's an Arduino library for using the AT command set to control the BK8000L, no audio...
  7. Replies
    5
    Views
    202

    The processing power is there to do a lot of...

    The processing power is there to do a lot of polyphony. In my humble opinion the limiting factor is the 16 bit math that is used to mix everything together.

    I have been working on a "big" synth...
  8. There's a GUI in there that you probably want to...

    There's a GUI in there that you probably want to run rather than the actual decoder.py script.

    First you'll need to install sf2utils though. If you have pip on your system you'd do "pip install...
  9. Replies
    13
    Views
    381

    Regarding the permissions, this part:...

    Regarding the permissions, this part: "crw-rw-rw-" means anyone should be able to write to the serial port.

    I suppose it's possible that PD is looking for a serial port other than /dev/ttyACM0 and...
  10. Replies
    22
    Views
    471

    The code is open source, yes:...

    The code is open source, yes: https://github.com/PaulStoffregen/cores

    For the existing USB audio functionality, look for usb_audio.h/cpp under the teensy3 directory.
  11. Replies
    22
    Views
    471

    The USB audio profile has not been enabled in the...

    The USB audio profile has not been enabled in the T4 codebase yet. Taking a quick glance at the T3 codebase, I only see stereo support, no support for multichannel.
  12. Replies
    13
    Views
    381

    Are you still getting the "[comport]: Write...

    Are you still getting the "[comport]: Write failed for -1 bytes, error is 11" error?

    (Btw, the ComPort thing specifically looks like it is some kind of plugin, see here:...
  13. I have done something like this as members of a...

    I have done something like this as members of a class:



    OscillatorTypeGoesHere *oscs[NUM_VOICES] = { &osc1, &osc2, &osc3, &osc4 };
    AudioEffectEnvelope *envelopes[NUM_VOICES] = { &env1, &env2,...
  14. Replies
    11
    Views
    321

    Glad you posted that GuitarPhil. I was mystified...

    Glad you posted that GuitarPhil. I was mystified how totally passive components could do any form of looping (like, sample looping)... now I see "looping" in this case means just signal routing.
  15. Replies
    11
    Views
    365

    I think the updated version of audio.h just has...

    I think the updated version of audio.h just has the additional include for effect_ensemble.h, right? I just included effect_ensemble.h directly.

    Anyway I will try again today if possible, I would...
  16. Replies
    11
    Views
    365

    Hmm, so I had a few minutes to test this out and...

    Hmm, so I had a few minutes to test this out and I could not get it working... or at least I could not get any sound out of it.

    T4, WM8731, custom hardware, but it is proven hardware at this...
  17. Replies
    19
    Views
    910

    I did a quick test and it seemed to work for me....

    I did a quick test and it seemed to work for me. T4, WM8731, custom hardware. It sounded smooth without any of the artifacting of the stock delay effect.

    Great job, I say.
  18. Replies
    11
    Views
    321

    Ah, okay, I think I'm starting to understand a...

    Ah, okay, I think I'm starting to understand a little more.

    Well, yeah more RAM is generally considered good, but keep in mind, teensies and arduinos do not have an operating system to battle...
  19. Replies
    11
    Views
    321

    It's going to be very difficult to formulate a...

    It's going to be very difficult to formulate a reply to this thread because you're not asking a specific question. We can't really answer what Teensy would be "best" because we don't know what that...
  20. Replies
    3
    Views
    120

    Could you post the contents of Heavy_sine440.h?...

    Could you post the contents of Heavy_sine440.h? Their documentation doesn't have a full example with source (as far as I can see) to tell where stuff is located.

    Seems like a cool library though.
  21. Oh wow, that is quite the library. Thanks for...

    Oh wow, that is quite the library. Thanks for sharing that.
  22. As far as I am aware, there hasn't been an AAC or...

    As far as I am aware, there hasn't been an AAC or MP3 decoder written for the teensy audio library, so you would probably need to first find an open source decoder and get it working with the teensy...
  23. Hah, sweet, glad you got it working!

    Hah, sweet, glad you got it working!
  24. Well, I am left grasping at straws. Instead of...

    Well, I am left grasping at straws. Instead of receiveWritable, you could try receiveReadOnly, and then do all of your write operations into another block: "outBlock = allocate();" and then you'd...
  25. Maybe as a sanity check, after you do "block =...

    Maybe as a sanity check, after you do "block = receiveWritable(0);" could you check that the block has been received (make sure it's not null)?

    The teensy doesn't lock up if you set block->data[i]...
  26. When you say "going out to lunch" you mean the...

    When you say "going out to lunch" you mean the teensy hard locks? If so you might have gone out of bounds on an array, but it appears you're checking array bounds correctly.

    What's the last serial...
  27. Replies
    2
    Views
    100

    A lot going on in your post, kinda hard to make a...

    A lot going on in your post, kinda hard to make a coherent response to it, but I suppose I'll try.

    Regarding the LED, the line of code you posted: "digitalWriteFast(LED_BUILTIN,...
  28. Quick suggestion is I think you need to use...

    Quick suggestion is I think you need to use receiveWritable, though I have not dug into the receiveReadOnly and receiveWritable code to know what's going on under the hood.

    Actually, on second...
  29. Try the following: static const unsigned char...

    Try the following:

    static const unsigned char PROGMEM your_stuff_here[] = {
    0xff,0xff,0xfe, ....
    };
  30. Perhaps a good example would be the filter code:...

    Perhaps a good example would be the filter code: https://github.com/PaulStoffregen/Audio/blob/master/filter_variable.cpp

    Take a look on line 176. He acquires two different blocks, and checks for...
  31. Take a look at the mixer code, starting around...

    Take a look at the mixer code, starting around line 113. There's a for loop that receives multiple blocks of data. https://github.com/PaulStoffregen/Audio/blob/master/mixer.cpp
  32. Sounds good, unfortunately I don't have time to...

    Sounds good, unfortunately I don't have time to actually help write or debug the port, but good luck none the less :)
  33. AUDIO_BLOCK_SAMPLES is 128, see here:...

    AUDIO_BLOCK_SAMPLES is 128, see here: https://github.com/PaulStoffregen/cores/blob/master/teensy4/AudioStream.h

    Audio is processed in blocks, 44100 / 128 = 344 times per second, or about 2.9...
  34. What SD card are you using? Good concurrent...

    What SD card are you using? Good concurrent playback requires a good SD card. I have been using Lexar 1000x 32GB and playing 3-4 samples concurrently is possible. The Lexar 1800x cards would be even...
  35. I'm guessing you're taking this route rather than...

    I'm guessing you're taking this route rather than the Granular effect because of RAM limitations?
  36. Replies
    4,316
    Views
    459,142

    I believe the answer to this is "no", but I am...

    I believe the answer to this is "no", but I am wondering if there is an API to read and write from T4's internal flash memory? Back in the days of yore (AVR days) I recall this being possible, but I...
  37. @KurtE What tool are you using to generate...

    @KurtE

    What tool are you using to generate font .h and .cpp files? This one by any chance: https://forum.pjrc.com/threads/54345-ILI9341_t3-font-editor
  38. Replies
    673
    Views
    371,979

    I would definitely be interested.

    I would definitely be interested.
  39. CPU freq stuff is almost always specified as a...

    CPU freq stuff is almost always specified as a compiler option, which is then visible from within code.

    Another example would be the chip. For teensy 4, a compiler option like "-D__IMXRT1062__"...
  40. Replies
    71
    Views
    5,098

    Paul just committed a fix for that a few hours...

    Paul just committed a fix for that a few hours ago, you will probably need to pull the absolutely latest to get it.
    ...
  41. Have you played the recorded .raw file on a...

    Have you played the recorded .raw file on a computer and verified that it's a good file, no corruption, etc?

    Once you know the file is okay, can you make a standalone sketch to play the...
  42. Replies
    161
    Views
    10,686

    I'm not sure if anyone here besides myself uses...

    I'm not sure if anyone here besides myself uses Platformio for development, but it's wonderful.

    I opened a ticket a few days ago to get support for T4 added:...
  43. It's compiling now, thank you for the quick fix.

    It's compiling now, thank you for the quick fix.
  44. AudioEffectGranular can pitch shift and change...

    AudioEffectGranular can pitch shift and change playback speed. Just route an AudioPlaySdWav (or whatever sound source) through it.

    Take a look here for the example:...
  45. I did, I pulled fresh zips this evening to get...

    I did, I pulled fresh zips this evening to get setup for T4.
  46. @KurtE When I try to compile ILI9341_t3n for...

    @KurtE

    When I try to compile ILI9341_t3n for T4, I get the following error:

    ILI9341_t3n.cpp:1946:6: error: '_pkinetisk_spi' was not declared in this scope

    Preceding that is a "#ifdef...
  47. Replies
    4,316
    Views
    459,142

    Paul has a post where he talks in depth about...

    Paul has a post where he talks in depth about that, but the short version is that a large amount of setup code is required for the very complex peripherals on this chip.
  48. Replies
    4,316
    Views
    459,142

    Possible problem report (I searched this thread...

    Possible problem report (I searched this thread and didn't see it mentioned):

    If USB type is set to Audio, the compilation errors out due to several files using Serial for printf. For example...
  49. Replies
    4,316
    Views
    459,142

    Just FYI, the Teensy 4.0 page is showing the...

    Just FYI, the Teensy 4.0 page is showing the topside pinout twice.
  50. Replies
    4,316
    Views
    459,142

    Congratulations Paul! I just bought 5 of them.

    Congratulations Paul! I just bought 5 of them.
Results 1 to 50 of 76
Page 1 of 2 1 2