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

Search:

Type: Posts; User: houtson

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Hi, The number at the pin in red (pin31) are...

    Hi,

    The number at the pin in red (pin31) are just the way that symbol is annotated in the schematic, I used the usual 3V3 pin (the Teensy pin names/numbers are in the green text).

    The...
  2. Replies
    3
    Views
    152

    Hi dim3740, I don't have and iTrack but looking...

    Hi dim3740, I don't have and iTrack but looking at their website it is expecting a class compliant device so should be fine with teensy acting as a midi device.

    It doesn't support usb hubs so you...
  3. Hi I've also heard it depends on your brand /...

    Hi
    I've also heard it depends on your brand / batch of WS281Bs but I've never had any issues. I had a Teensy 4 board with 8 (not 16) but not problems.
    I didn't put a cap on each one either and...
  4. Replies
    16
    Views
    464

    Hi Sandro, that looks like an interesting...

    Hi Sandro, that looks like an interesting project. update is getting called every 128 samples (128@44.1k=2.9ms) you can change the number of samples in a block from 128 to say 16 or 32 or 64 and the...
  5. hi I just had a quick look at your sketch,...

    hi

    I just had a quick look at your sketch, think it will need more memory allocated - try increasing the AudioMemory()

    Have a look here at AudioMemoryUsageMax() which you can use to print out...
  6. hi unawoo, 6 pots and 9 buttons sounds good - you...

    hi unawoo, 6 pots and 9 buttons sounds good - you can do a lot with that, have fun :) cheers, Paul
  7. Replies
    5
    Views
    250

    O&C is a great idea for the cv hardware, the code...

    O&C is a great idea for the cv hardware, the code base is quite complex (highly optimised) - i've never looked at how easy it is to add an app.

    If it was me I'd start with one channel, use...
  8. Replies
    5
    Views
    250

    Hi Tardishead, I found this tutorial on...

    Hi Tardishead,

    I found this tutorial on circular buffers and delays useful, it isn't for the teensy platform (it's for bela) but the principals apply. It might help with streaming incoming signals...
  9. hi @bigtony, I'd try moving the pins, try s0...

    hi @bigtony,

    I'd try moving the pins, try
    s0 - 10
    s1 -11
    s2 -12
    s3 - 16

    If that doesn't work can you take a picture of your actual wiring and post that cheers, Paul
  10. Hi, I had a hack at a set of files for you to...

    Hi, I had a hack at a set of files for you to work on. They will do a basic reverser like your Nootropic link in post #1.

    The example is set up to take audio through line in but you should be...
  11. Replies
    36
    Views
    2,759

    Sounds and looks great, are you using some of the...

    Sounds and looks great, are you using some of the Shruthi codebase or are you using the audio lib? Cheers, Paul
  12. Replies
    40
    Views
    1,576

    Hi @nishant, I think you're trying to see what's...

    Hi @nishant, I think you're trying to see what's going on inside your custom effect to the actual samples?

    Like Pete says, you are overloading the buffer sending data to it too quickly.

    I've...
  13. Replies
    40
    Views
    1,576

    Hi @nishant, looking again at your codes you seem...

    Hi @nishant, looking again at your codes you seem to be modifying AudioEncoder but you main sketch is calling up a different class - AudioEffectRectifier - is that the problem cheers Paul
  14. Replies
    40
    Views
    1,576

    Hi @nishant, can you try commenting out or...

    Hi @nishant, can you try commenting out or removing your second Serial.print - it will still be flooding serial with 44000 prints a second cheer paul
  15. Replies
    40
    Views
    1,576

    Hi @nishant Like Pete says, you are going to...

    Hi @nishant

    Like Pete says, you are going to get a lot of data to serial - it may be overloading it ?

    I usually put a counter in the update loop to dump out 1 in x blocks or 1 in x samples to...
  16. Thanks for that !

    Thanks for that !
  17. hi @dirkenstein, I'd be interested in trying a FP...

    hi @dirkenstein, I'd be interested in trying a FP version if you are interested in/able to share, cheers, Paul
  18. Hi Ben, can you through up an example of the...

    Hi Ben, can you through up an example of the sketch and samples that you're using and I'll have a go. cheers, Paul
  19. hi @bigtony - your attachment in #18 above...

    hi @bigtony - your attachment in #18 above doesn't work, could you re-post it. also could you post the code you're using to read the pots

    cheers Paul
  20. Hi Ken, really nice work and sounds great!

    Hi Ken, really nice work and sounds great!
  21. Hi ETMoody3 I've pasted below: - example file...

    Hi ETMoody3

    I've pasted below:
    - example file (just like the first one in this post that changes a few taps over and over)
    - effect_tapedelay10tap.h which is the header file for the effect...
  22. Thanks again MarkT for the ideas, I made a new...

    Thanks again MarkT for the ideas, I made a new delay object to get round the clicks and pops when you change delay times dynamically.
    It seems to work well letting me adjust multiple taps. It's not...
  23. Hi Mark, I thought that might the be the...

    Hi Mark,

    I thought that might the be the expected behaviour, thanks for confirming and your suggestion - I'll have a go at your second suggestion (cross fading two sets of taps)

    cheers, Paul
  24. Audio Effect Delay Pops & Clicks when changing tap times

    Hi

    I'm using the AudioEffectDelay with a Teensy4 and AudioBoard.

    When I change tap times I get pops and clicks. I'm changing a few tap time together (like changing between different presets if...
  25. Replies
    8
    Views
    550

    what is it doing? do you need some feedback on...

    what is it doing? do you need some feedback on the delay?

    cheers Paul
  26. Replies
    4
    Views
    353

    I've only ever done it with trial and error and...

    I've only ever done it with trial and error and keeping an eye on AudioMemoryUsage(). The various objects use blocks up differently which I'm sure you know, delay uses blocks up quickly (obviously)...
  27. Replies
    4
    Views
    353

    Hi Holger memory consumption is decreased...

    Hi Holger



    memory consumption is decreased if you reduce the largest tap duration



    You need to allocate memory with AudioMemory based on a number of blocks of samples. The default is 1...
  28. Hi Reiner, Your wiring looks ok. The pot...

    Hi Reiner,

    Your wiring looks ok.

    The pot will be expecting to turn about 270 degree to get the full range, from the picture I don't think that mechanism will be able to turn the full range so...
  29. hi Reiner, You should aim to get the full...

    hi Reiner,

    You should aim to get the full range from 0 - 1023, are there any resistors in series with the pots?

    could you post a picture to get an idea of what you're dealing with

    cheers...
  30. hi reibuehl you should wire one end to 3.3V...

    hi reibuehl

    you should wire one end to 3.3V the other end to gnd and the middle pin (the wiper) to one of the Analog input pins.

    do you know what value the pots are?

    if you find the input...
  31. hi cfredisded in your example code, it updates...

    hi cfredisded

    in your example code, it updates the delay time every time you go around the loop - for the T4 this will be really fast (lots of time per sample?).

    if you are just looking to...
  32. Replies
    3
    Views
    203

    hi cyclpsrock this thread doesn't answer your...

    hi cyclpsrock

    this thread doesn't answer your specific question but talks about the same issue and points to a shaped envelope object by @a_guy_called_tom...
  33. Replies
    5
    Views
    471

    Hi Fluxanode, depends on the library, lots of...

    Hi Fluxanode, depends on the library, lots of them do work without change - what library are you wanting to use?

    Cheers, Paul
  34. Replies
    14
    Views
    655

    hi jishnuch It looks as thought you are...

    hi jishnuch

    It looks as thought you are running PlatformIO on a Raspberry Pi - I'm afraid I have no experience of that.

    From your error messages the compiler is looking for the...
  35. Replies
    14
    Views
    655

    hi jishnuch compiling for 4.1 works fine for...

    hi jishnuch

    compiling for 4.1 works fine for me with the standard ini file like above.

    i'm using: Teensy 4.11.0 on a mac with macOS10.15.

    If you change the env to Teensy 4.0 does that...
  36. hi Dionysus - can you explain a bit more about...

    hi Dionysus - can you explain a bit more about your setup and what you're doing - are you powering other stuff from the teensy? - a picture would be ideal.

    A teensy and audio board on it's own...
  37. Hi UHF, I use the same mux and had similar...

    Hi UHF, I use the same mux and had similar periods of stability. I'd come back to it the next day and it would be erratic again needing long settle times.

    I thought it might be temperature...
  38. Hi @UHF Afraid I have no insights on the...

    Hi @UHF

    Afraid I have no insights on the memory issue but I've also been converting a project from 3.x to 4.x and your analogRead and Mux issues triggered me.

    After going round in circles for...
  39. Hi Jin, I used a WM8731 on a custom board, it is...

    Hi Jin, I used a WM8731 on a custom board, it is small but not too difficult to solder
    https://forum.pjrc.com/threads/60924-Audio-Board-Equivalent-for-Custom-PCB?p=244469

    Cheers Paul
  40. Replies
    12
    Views
    701

    Hi an envelope follower should not be...

    Hi

    an envelope follower should not be difficult - check this thread for a discussion and example https://forum.pjrc.com/threads/29579-Envelope-detector-and-VCA-with-Teensy-s-Audio-library

    I...
  41. Replies
    12
    Views
    701

    It's easy to change the number of samples in a...

    It's easy to change the number of samples in a block. I run my effects with AUDIO_BLOCK_SAMPLES set to 16 (one block = 0.36ms long).

    Smaller block sizes work with with most but not all of the...
  42. Hi RobertRobotics, For the Teensy 4.0 you...

    Hi RobertRobotics,

    For the Teensy 4.0 you need a Rev D shield - https://www.pjrc.com/store/teensy3_audio.html.
  43. Hi JayShoe an old thread that speaks to your...

    Hi JayShoe

    an old thread that speaks to your issue https://dsp.stackexchange.com/questions/3581/algorithms-to-mix-audio-signals-without-clipping

    I'd stick a peak object on each of your channels...
  44. Hi FinleyOderSo, can you throw up your latest...

    Hi FinleyOderSo, can you throw up your latest code with the changes you made, Cheers, Paul
  45. I use following with Teensy 4 which works for me ...

    I use following with Teensy 4 which works for me


    #include <WS2812Serial.h> // leds
    #define USE_WS2812SERIAL // leds
    #include <FastLED.h> // leds
    ...
    FastLED.addLeds<WS2812SERIAL,...
  46. Replies
    9
    Views
    750

    First go at a new board using the WM8731 codec as...

    First go at a new board using the WM8731 codec as suggested by @blackaddr, easy to solder and seems to work well, bit more testing to do.

    Used pretty much the application circuit from the...
  47. Replies
    19
    Views
    966

    I found these helpful: Grounding and Decoupling:...

    I found these helpful:
    Grounding and Decoupling: Learn Basics
    Staying Well Grounded
  48. Here's a simple modification of the standard...

    Here's a simple modification of the standard mixer with 10 inputs, cheers Paul

    20646
  49. Hi Holger, I don't want to hijack your thread but...

    Hi Holger, I don't want to hijack your thread but could I ask about you stereo > mono effect - are you just summing the channels like the mixer or something else? thank Paul

    PS I agree a...
  50. Replies
    6
    Views
    327

    Hi, you might want to check out...

    Hi, you might want to check out https://codeberg.org/dcoredump/TeensyMIDIAudio from user @C0d3man for a few ideas
Results 1 to 50 of 135
Page 1 of 3 1 2 3