hi
try something like:
// if pot_raw_value is an int holding the value of the pot 0-1023
//
float pot_value = floor(pot_raw_value/102.3f)/10.0f;
Type: Posts; User: houtson
hi
try something like:
// if pot_raw_value is an int holding the value of the pot 0-1023
//
float pot_value = floor(pot_raw_value/102.3f)/10.0f;
- sounds great!!
Repeats in the feedback
- I need to do a bit more with that
- When you say 'simply pass it through' would you want it straight through or would you want it delayed (again)? if...
Hi, track shows up as 'This track was not found. Maybe it has been removed ' - is it maybe set to private?
Hi, good you got it up and running - I'm using it as part of a vintage reverb project that i'm playing with.
Need to think about that.....Not entirely sure I understand but if there is a...
hi @lucian_dusk
I've stripped out and added lots of comments as below - if anything doesn't make sense let me know.
I've included an example that is expecting an audio input through line in and...
hi @lucian_dusk
I think we've both been trying to do the same thing....
The tapeDelay10tap object that you're using changes from one delay time to another by fading between two different taps....
The one on the left (in the schematic) is the one at the (short) end of the teensy and I don’t have that connected to the board - Im not aware of any difference between them
Cheers Paul
PS...
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...
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...
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...
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...
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...
hi unawoo, 6 pots and 9 buttons sounds good - you can do a lot with that, have fun :) cheers, Paul
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...
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...
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
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...
Sounds and looks great, are you using some of the Shruthi codebase or are you using the audio lib? Cheers, Paul
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...
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
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
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...
Thanks for that !
hi @dirkenstein, I'd be interested in trying a FP version if you are interested in/able to share, cheers, Paul
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
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
Hi Ken, really nice work and sounds great!
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...
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...
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
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...
what is it doing? do you need some feedback on the delay?
cheers Paul
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)...
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...
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...
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...
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...
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...
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...
Hi Fluxanode, depends on the library, lots of them do work without change - what library are you wanting to use?
Cheers, Paul
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...
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...
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...
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...
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...
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
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...
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...
Hi RobertRobotics,
For the Teensy 4.0 you need a Rev D shield - https://www.pjrc.com/store/teensy3_audio.html.
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...