-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
differences with rf24audio? #1
Comments
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.
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. |
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. |
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. |
I tried WirelessMicrophone and WirelessSpeaker on 2 Arduino Uno. `
` And put this line at the top: When I play some music on A0 I get this on the Serial Monitor of WirelessMicrophone: And this on the Serial Monitor of WirelessSpeaker: But no output. By the way, RFAudio works on both Unos. |
These need to be modified quite a bit to work on AVR. I haven’t gotten around to cleaning up the examples.
… On Jan 21, 2018, at 04:42, harmverbeek ***@***.***> wrote:
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.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I understand. |
It can handle more because of Arduino Due support. Rf24 audio will provide better sound quality on Arduino Uno etc. for a given sample. I just tested this the other day.
… On Jan 22, 2018, at 10:20, harmverbeek ***@***.***> wrote:
I understand.
The main thing that interested me is that it seems the resolution and speed can be set higher than with rf24audio.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi,
I was looking at this new library. Which are the differences with rf24audio library?
I want to send audio from a nord to the master using the radios. Which library is better?
Thanks!
The text was updated successfully, but these errors were encountered: