-
Older Activity
-
Yesterday, 02:31 PM
It would be good, if you tested the following audio lib example: examples/HardwareTesting/PassThroughStereo.ino
Uncomment the following:
const int myInput = AUDIO_INPUT_MIC;
Connect headphones to the audio...
4 replies | 32 view(s)
-
12-07-2019, 10:57 AM
Brian, your code runs and performs very well! Well done, thats very good!
I added some very small modifications in the example file --> AUDIO_BLOCK_SAMPLES, Serial printing processor load, fixing Serial while command...
86 replies | 3287 view(s)
-
12-04-2019, 08:41 AM
Hi Brian,
thats excellent news!!! Congrats! I wont have time to have a look at and test this until the weekend. Very good that you were able to optimize both processor load and latency.
I will write some info...
86 replies | 3287 view(s)
-
11-29-2019, 08:12 PM
It was YOU who put out the term "pro-audio circles" ;-) --> #10
Come on, I am not interested in fairy tales, give me something where I can learn, is there anything you guys published so we can learn from you, or are...
13 replies | 338 view(s)
-
11-29-2019, 07:53 PM
Thats interesting. Did those "pro-audio circles" publish anything (possibly peer-reviewed?), so that others can participate in your knowledge?
13 replies | 338 view(s)
-
11-29-2019, 04:40 PM
Yes, blind audition tests reveal how much of the dynamic range you are able to hear, good young ears (younger than 25 years !) are capable of 120dB of dynamic range, which is about 20 bits.
But an ADC with 96dB SNR...
13 replies | 338 view(s)
-
11-27-2019, 08:59 PM
@highly: maybe this is what you need?
https://forum.pjrc.com/threads/58054-CMSIS-5-3-0-and-CMSIS_DSP-1-7-0-on-teensy-4?p=219628&viewfull=1#post219628
to be honest, I have not understood from your description what...
86 replies | 3287 view(s)
-
11-27-2019, 08:47 PM
Brian, that sounds good!
I dont think, the compiler is so smart to use the CMSIS routines. No, it probably doesnt. But AFAIK the CMSIS routine does the same as I did: not using one loop with an index, but putting 4...
86 replies | 3287 view(s)
-
11-27-2019, 07:58 PM
@Brian: that sounds really really good, that would be a major achievement to have a partitioned convolution audio object!
@highly: hard to say whats going wrong, but it seems you misunderstood the reason for a...
86 replies | 3287 view(s)
-
11-26-2019, 01:54 PM
Bit depth: Your ADC PCM1808 will hardly be able to really represent 24bits: according to the data sheet it has an SNR of 99dBA, which translates into an effective resolution of about 16bit. So, there is no need at...
13 replies | 338 view(s)
-
11-26-2019, 10:56 AM
Have a look at the "record queue"-object, which allows you to send realtime audio data from an input (eg. the internal ADC) to the queue object.
You will find an example how to use this object in Audio->examples->...
3 replies | 90 view(s)
-
11-25-2019, 08:49 PM
Thanks neurofun! That low budget µSD card adapter worked out of the box when I tried it with a T4 and FrankBs MP3 library! Nice idea and realization :-)
Thanks for providing the pictures in post #18, without them I...
26 replies | 704 view(s)
-
11-23-2019, 02:24 PM
There was a need for more audio blocks to be queued in my Teensy 4.0 SDR project in order to use larger FFT sizes for steeper filtering .
So I modified:
record_queue.h and record_queue.cpp in the audio lib which...
0 replies | 35 view(s)
-
11-21-2019, 07:03 AM
Read this:
https://www.pjrc.com/store/teensy36_pins.html
If you want to waste your time or money and you want your project to be unreliably working or even not working at all, yes, then you should apply more than...
5 replies | 189 view(s)
-
11-18-2019, 07:00 PM
thanks for the hints on where to get the T4 audio board, will try it there.
I added the code for T3.6 convolution code to the github.
Have fun with the Teensy!
86 replies | 3287 view(s)
-
11-17-2019, 09:26 PM
I have been playing around with the code a couple of days on two hardware setups:
* T4 and DAC PCM5102a & ADC PCM1808
* T3.6 and Teensy audio shield rev B
I have also tried T4 and the Teensy audio shield, but I...
86 replies | 3287 view(s)
-
11-14-2019, 04:27 PM
@LoShu: if you use a Teensy 4.0, things will become much easier, because the T4 uses a Teensyduino version with the new CMSIS lib built-in.
Have a look at the code here:
...
78 replies | 12377 view(s)
-
11-14-2019, 04:13 PM
If you could explain to us what you mean precisely by "ratiometric", we could be better in answering your questions.
If "ratiometric" means to you: "The ADC output value is proportional to the voltage at the input of...
13 replies | 193 view(s)
-
11-11-2019, 04:58 PM
Hmm, I have gone through the variables again and I fear we cannot save memory when going to a MONO version. These are the variables used in the Stereo version:
FFT length is 256
partitionsize is 128
nfor is number...
86 replies | 3287 view(s)
-
11-11-2019, 12:46 PM
Yes, it seems all options work, except the one I am most interested in and which I was originally targeting ;-). If there is any volunteer to put the code into an audio lib LOW LATENCY IMPULSE RESPONSE PLAYER object,...
86 replies | 3287 view(s)
-
11-10-2019, 04:15 PM
I see you already answered some of your questions by yourself :-).
Here are two possible answers to your "latency in SDR" question:
https://www.n1kdo.com/sdr-delay-measured/
...
86 replies | 3287 view(s)
-
11-10-2019, 03:45 PM
Tom, you are probably aware of these resources already, but at these places I have prepared all the info regarding the Teensy Convolution SDR:
...
267 replies | 60377 view(s)
-
11-09-2019, 07:35 PM
Tom, thanks for your thoughtful comment! When saying OFFTOPIC, I meant that MY comment on the Si570 was offtopic. However, you are right, this is the PJRC TEENSY forum and this thread is on Software Defined Radio...
267 replies | 60377 view(s)
-
11-09-2019, 05:17 PM
The partitioned convolution code has been changed now (is on github), so that any recorded impulse responses can be directly put into the code (without zero insertion).
If you have impulse response files as WAV...
86 replies | 3287 view(s)
-
11-09-2019, 04:13 PM
@tschrama: I see (at least) three different applications for low latency partitioned convolution:
1.) guitar cabinet impulse resonse (IR) filtering: that is already possible with the existing code with recorded...
86 replies | 3287 view(s)
-
11-09-2019, 10:13 AM
Just to confirm: minimum phase lowpass (real valued) FIR filters built with MATLAB also work well with the code and seem to exhibit low latency (as far as I can measure) and good filter effects. (latest code is on...
86 replies | 3287 view(s)
-
11-08-2019, 11:19 PM
Hi Brian, yes, the k+31 change is not necessary. The code probably worked from the very beginning, but only with impulse response files, NOT with linear phase FIR filter coefficients (my testing was exclusively done...
86 replies | 3287 view(s)
-
11-08-2019, 09:15 PM
The uniformly partitioned low latency convolution seems to work now with the guitar cabinet impulse files AND with low latency (as far as I can test it here).
The recent version uses Stereo processing and...
86 replies | 3287 view(s)
-
11-08-2019, 04:52 PM
OFFTOPIC: I would recommend to no longer use the Si570 unless you have a very good reason to do so . . .
The Si570:
* needs way too much power supply current
* is much too expensive
* is much too sensitive to...
267 replies | 60377 view(s)
-
11-08-2019, 08:01 AM
It seems the uniformly partitioned convolution is implemented correctly, BUT the FIR coefficients are not calculated in the right way. Warren Pratt (the designer of the wdsp library, one of the ultimate SDR libraries in...
86 replies | 3287 view(s)
-
11-07-2019, 11:30 AM
@Brian: I think I found something. Have you got an impulse response like the one you use for your guitar cabinet defined in C as a const variable, something like this:
const impulse = {0.1, 0.05, .... }
That...
86 replies | 3287 view(s)
-
11-06-2019, 03:21 PM
@Brian: thanks a lot for your very insightful comments and observations. I have to admit that the partitioned convolution as it is at the moment still suffers from a problem:
* if the code stays at it is (without...
86 replies | 3287 view(s)
-
11-05-2019, 01:15 PM
@MICUPRE: great to hear its working for you! Just some short answers to your questions:
1. https://github.com/DD4WH/Teensy-ConvolutionSDR/wiki/Menu , also have a look at the other entries in the WIKI, maybe you...
267 replies | 60377 view(s)
-
11-04-2019, 07:56 PM
same bug here on Windows 8, Arduino 1.8.10, Teensyduino 1.48: when I upload a sketch on T4, the time is one hour ahead (timezone here is UTC + 1).
11 replies | 282 view(s)
-
11-02-2019, 11:11 PM
Hi Brian, thanks a lot for your excellent measurements and information! I have to digest all that and think about that in order to understand fully.
* as you said: the good news is that the latency problem is...
86 replies | 3287 view(s)
-
11-01-2019, 08:50 PM
Brian! You already found it! You were just one off ;-). It had to be (k + 31) % nfor, NOT 32 . . .
It seems the low latency fast convolution code now does what it should.
It always has a latency of 128 samples...
86 replies | 3287 view(s)
-
11-01-2019, 07:13 PM
Brian, nice to hear from you and especially that you optimized the low latency convolution object!
At the moment, there is no need to get your scope (thanks for offering that), because I discovered that the new...
86 replies | 3287 view(s)
-
11-01-2019, 11:22 AM
@Brian: before you get out your scope again, one idea: one could test the latency of the code by creating an impulse in software (just a 1.0 in one sample followed by all 0.0 samples) and then output the filtered...
86 replies | 3287 view(s)
-
11-01-2019, 09:15 AM
Hi Eric,
RTTY decoding as a special case of AFSK is implemented on Teensy here:
https://www.kk5jy.net/modem-v2/
and (two different decoders) here:
...
3 replies | 169 view(s)
-
10-31-2019, 11:01 PM
The Teensy 4.0 seems to be able to perform a real-time two channel FIR lowpass filter with up to 21632 taps for audio I2S signals . . .
See this code below which filters I2S audio (Stereo: left & right)...
86 replies | 3287 view(s)
-
10-30-2019, 05:10 PM
@Joe: OK, now I understand, you mean 135.600kHz, not MHz :-). Yes, that is the expected behaviour of the SDR code to start with that band and that frequency!
No, your configuration is not the complete...
267 replies | 60377 view(s)
-
10-30-2019, 04:40 PM
@Joe: I do not know, because your setup is unknown to me. For the radio you need: T4, ADC, DAC, Si5351 LO, ILI9341 TFT, encoders, buttons, and a quadrature sampling detector (and RF input lowpass or bandpass filters)....
267 replies | 60377 view(s)
-
10-29-2019, 05:07 PM
Do not hesitate to ask if you have any problems with the code!
267 replies | 60377 view(s)
-
10-29-2019, 03:57 PM
@Joe: the only reason I did not use PJRCs audio board is that it did not work with my wild wiring :-). Now with version D available it is no problem to use the PJRC audio board and the T4. The Convolution SDR code...
267 replies | 60377 view(s)
-
10-29-2019, 03:02 PM
@Joe: the Convolution SDR makes only very limited use of objects, it uses the audio lib queue object to gather the audio files from I2S and to push the files to I2S after treatment.
ALL the audio processing,...
267 replies | 60377 view(s)
-
10-29-2019, 02:01 PM
@MICUPRE
yes, a larger TFT with the ILI9341 controller and the same number of pixels should work. If you want higher resolution, you would have to completely reprogram the display.
Softrock should work. Does it...
267 replies | 60377 view(s)
-
10-29-2019, 01:58 PM
Joe,
not sure if I understand correctly: Do you mean a sketch to check functioning of the T4 and audio board?
You could use the StereoPassThrough example from the audio lib.
Or try the convolution filter object...
267 replies | 60377 view(s)
-
10-24-2019, 10:59 AM
Oh, I was not aware that the syntax is still evolving, that explains a lot.
For the moment, I tried to reproduce your RAM-Info, but I could not get imxrt-size.cpp to run . . .
So I put together a...
76 replies | 2904 view(s)
-
10-23-2019, 09:28 PM
Thanks Kurt! I still have problems understanding the syntax . . .
Maybe it would be good to give some dummy examples and let you experts comment on that ?
Is the following syntax/use example correct?
I want to...
76 replies | 2904 view(s)
-
10-23-2019, 08:55 PM
@Paul: thanks a lot for the graph and the explanation! That is what I have been waiting for :-).
It was very hard (and still is hard) to understand how the memory is composed and especially how to use the different...
76 replies | 2904 view(s)
-
10-23-2019, 08:44 PM
Hi Joe,
I am pretty sure you did not have the Teensy Convolution SDR on a Teensy 3.2, because the Teensy Convolution SDR does work only with Teensy 3.6 or Teensy 4.0.
It must have been a version of the Teensy SDR,...
267 replies | 60377 view(s)
-
10-23-2019, 01:59 PM
The first one is intended and is no error ? It compiles for me and the fast log-approximation code is being used by the spectrum display code
For the second problem you have to define your own hardware and define the...
267 replies | 60377 view(s)
-
10-23-2019, 08:42 AM
First of all, it would be good to know what you want to do with the FFT!? Then it would be easier to decide whether you need a real FFT or a complex FFT.
Regarding the code you posted:
* you should NOT use the...
4 replies | 396 view(s)
-
10-21-2019, 01:11 PM
Possibly!
Would be interested to hear if it works and please post a photograph of your setup.
86 replies | 3287 view(s)
-
10-21-2019, 12:09 PM
You could also have a look here, Brian has done something useful for the Teensy 3.6:
https://circuitcellar.com/cc-blog/fancy-filtering-with-the-teensy-3-6/
...
3 replies | 213 view(s)
-
10-21-2019, 12:03 PM
I never had crackling noise with DAC alone, the ADC was the problematic part, so my thought was to add 100 Ohm resistors to all ADC clock lines (and to the master clock for DAC). I did not check systematically however....
86 replies | 3287 view(s)
-
10-18-2019, 04:11 PM
Thanks to Henk, we now have an Excel file summarizing all pin connections between the
ADC, DAC, T4 and the ILI9341 TFT for the current T 4.0 Convolution SDR
...
267 replies | 60377 view(s)
-
10-18-2019, 03:05 PM
Yes, you can find an example here: https://forum.pjrc.com/threads/57267-Fast-Convolution-Filtering-with-Teensy-4-0-and-audio-board?highlight=convolution
It uses a forward 4096-point-FFT, a complex-multiply with a...
4 replies | 396 view(s)
-
10-15-2019, 07:34 PM
@defragster @mjs513 , just for your records
My experience with overclocking is the following:
Yesterday, I could run your Buddhabrot example at 1008MHz for more than one hour without problem (I use set_arm_clock...
4361 replies | 482354 view(s)
-
10-15-2019, 01:53 PM
Thanks again for pointing me to the bugs! Now the software compiles for Teensy 3.6 (latest version is on github).
I have also tested the fixed version on my T3.6-based SDR and it plays fine.
For Teensy 3.6,...
267 replies | 60377 view(s)
-
10-15-2019, 07:59 AM
Hi MICUPRE,
sorry for that: I seem to have messed up the Teensy 3.6 configuration while I was working on the T4 version (which uses another TFT library and thus some other commands for printing text).
I will...
267 replies | 60377 view(s)