Go Down

Topic: Re: Arduino Realtime Audio Processing (Read 3678 times) previous topic - next topic

PieterP

This library claims to support it, but I haven't tried it yet.
https://github.com/delsauce/ArduinoDueHiFi

alex5678

Ok, because I have no idea...this



can be programmed using Arduino IDE and use the same libraries with Arduino?

PieterP

Ok, because I have no idea...this

https://www.pjrc.com/store/teensy36.html

can be programmed using Arduino IDE and use the same libraries with Arduino?
Yes, it can be programmed just like an Arduino.

PieterP


alex5678

#19
Jul 26, 2019, 10:37 am Last Edit: Jul 26, 2019, 10:41 am by alex5678
See this link and the video on that page:
https://www.pjrc.com/teensy/td_libs_Audio.html
Amazing! As I can understand the higher the frequency of the  processor the better results I have. Right? Won't it be better if I use Arduino Yun that has 400 Mhz clock? I am thinking of buying a Teensy 3.6 that has the 180Mhz processor to play with, however.

Grumpy_Mike

Quote
Won't it be better if I use Arduino Yun that has 400 Mhz clock?
No because that runs with a Linux operating system which is not real time.

I think you are getting hung up on this "better" idea, basically because you have no feel for what is good enough, and what good enough sounds like.

alex5678

#21
Jul 28, 2019, 01:11 pm Last Edit: Jul 28, 2019, 01:24 pm by alex5678
After reading many posts these days I result in buying this, for real-time audio processing (not using playback from the SD card, not storing anything, just plugging a microphone, do the audio processing and hear the result on the output at real-time):

teensy36

and this:

teensy3_audio

The last has the capability of connecting extra memory chips. Should I connect extra memory chips?

Thank you...

Grumpy_Mike

Quote
The last has the capability of connecting extra memory chips. Should I connect extra memory chips?
It depends what you want to do. It is fast enough for read storage but I suspect the write storage is not going to be up for real time input. I wouldn't bother for a first go until you come up against the limits of the internal memory.

The good thing about that board is the floating point processor which you need for fast efficient real time sample manipulation.

alex5678

#23
Jul 28, 2019, 02:32 pm Last Edit: Jul 28, 2019, 02:32 pm by alex5678
Ok, what is the maximum number of memories I can connect in this specific module (teensy3_audio) ? Are there any trade-offs?

Grumpy_Mike

#24
Jul 28, 2019, 05:50 pm Last Edit: Jul 28, 2019, 05:54 pm by Grumpy_Mike
Quote
what is the maximum number of memories I can connect in this specific module
One.

Quote
re there any trade-offs?
No.

I am not sure if this is an opition you can specify when you order it or if you have to solder it on yourself. It is a 0.05" pitch 8 pin surface mount footprint. Can you solder surface mount stuff?

alex5678

#25
Jul 28, 2019, 06:30 pm Last Edit: Jul 28, 2019, 06:34 pm by alex5678
If I am not wrong, these one do for the job, right?

W25Q128FV

They seem DIP, but hey are not in stock. Is there something relevant that I could use?

Thank you...

PieterP

#26
Jul 28, 2019, 06:38 pm Last Edit: Jul 28, 2019, 06:58 pm by PieterP
Why would you need Flash for real-time audio processing?
You need RAM, not Flash. And the Teensy has plenty of RAM, only if you're going to use really long delay lines etc. are you doing to need extra RAM.

The Audio shield page you linked to tells you what RAM chip to use. But it doesn't make sense to buy one if you don't need it.

Why are you looking for DIP packages? The Audio shield is designed for surface mount chips, DIP won't fit.

Grumpy_Mike

#27
Jul 28, 2019, 11:00 pm Last Edit: Jul 28, 2019, 11:05 pm by Grumpy_Mike
Quote
The Audio shield is designed for surface mount chips, DIP won't fit.
And to illustrate the point, I have taken this photograph with a DIL chip alongside the footprint it has to fit on.



You can fit a RAM chip here of the type 23LC1024 or a flash chip, like an SD card only faster using a  W25Q128JV or W25Q128FV chip.

alex5678

#28
Jul 28, 2019, 11:07 pm Last Edit: Jul 28, 2019, 11:08 pm by alex5678
Thanks! Ok I will try to solder for first time SMD...
This one here is RAM: 23LC1024 so that I increase the capabilities of the Teensy, Maybe I don't need it, maybe I do. Only the experiments will show, but since I can improve the module, why not??

Grumpy_Mike

You need to get the 23LC1024 not the 23A1024 as the former will work with 3V3. The latter only works between 1.7 to 2.2V.

You will get 128K bytes of memory with this.

Go Up