Comments (7)
Hey, thanks for your interest.
The main idea behind this library is to provide some sort of simplified API/generic interface to the DAC, ADC, Timers and DMA functionality of Arduino Due that allows a wide range of applications like RF24Audio to be built in short order.
For example, I want to be able to use this to create other libraries or applications like my RF24Audio or TMRpcm library, or any sort of audio apps, but for the Arduino Due. Since we are talking Arduino, I also want others to be able to create cool apps without having to learn all about the SAM3X chip & internals.
One main difference is that AAAudio will not directly include any radio or device specific code, other than for the Due itself. From making this, I have a number of ideas that I might look at applying in RF24Audio now also.
I want to send audio from a nord to the master using the radios. Which library is better?
Hehe, well that depends. Technically the Due uses 12-bit ADC & DAC where Arduino is 10-bit ADC & PWM. The Due can handle higher rates as well so audio quality can be better. This library can also be made to operate with RF24Audio, acting as a relay & speaker etc. so is much more versatile.
from autoanalogaudio.
Also just added AVR (Uno, Nano, etc) support.
Am now planning support for many Arduino devices, so that TMRpcm and RF24Audio libs will work on all Arduinos using this as a base.
In terms of 'better' this will be it.
from autoanalogaudio.
btw i ported rf24audio for an external 8-bit dac,didnt do much just removed ramp functions and forwarded the buffer directly to a 8-bit port on uno (atmega328) at timer interrrupt... it works great.
from autoanalogaudio.
I tried WirelessMicrophone and WirelessSpeaker on 2 Arduino Uno.
Didn't compile at first because TcChannel is not defined.
Solved that by putting this in void loop():
`
#if !defined (ARDUINO_ARCH_AVR)
TcChannel * t = &(TC0->TC_CHANNEL)[0];
TcChannel * tt= &(TC0->TC_CHANNEL)[1];
Serial.print("Ch0:");
Serial.println(t->TC_RC);
Serial.print("Ch1:");
Serial.println(tt->TC_RC);
#else
Serial.print("Ch0/1:");
Serial.println(ICR1);
#endif
`
And put this line at the top:
#define ARDUINO_AVR_ARCH
When I play some music on A0 I get this on the Serial Monitor of WirelessMicrophone:
Ch0/1:996
And this on the Serial Monitor of WirelessSpeaker:
Ch0/1:1000
But no output.
By the way, RFAudio works on both Unos.
from autoanalogaudio.
from autoanalogaudio.
I understand.
The main thing that interested me is that it seems the resolution and speed can be set higher than with rf24audio.
from autoanalogaudio.
from autoanalogaudio.
Related Issues (20)
- AutoAnalogAudio HOT 5
- Useing AAAudio for rec sound's from mic with esp32 HOT 9
- Can we get support esp8266 board? HOT 3
- Record sound from esp-cam HOT 1
- How Pin use to record audio on esp32 in AAAudio library? HOT 1
- Use on new Nano33BLE format boards HOT 1
- Low / Distorted Input and Output HOT 1
- Does it supports esp8266? HOT 1
- I can't make it stream over radio nrf24l01. HOT 3
- Which code Example can i use to record sound with the Arduino Due HOT 2
- Does the library Support Audio recording on an STM32 Board/Architecture HOT 1
- Example Confusion of hardware definition HOT 2
- SD compability HOT 4
- AutoAnalogAudio.h conflicts with Audio.h library HOT 4
- Problem with ADC read HOT 4
- Compile error for ESP32-S3 HOT 1
- max 9814 record HOT 2
- Recording speed HOT 9
- Microphone problem HOT 1
- Undetected type when using Arduino IDE HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autoanalogaudio.