Comments (11)
Hello!
Which version of Mozzi are you using?
The version provided by the Arduino library manager does not support the Uno R4 yet. Only the GitHub version does (until we roll a new Release).
from mozzi.
If I remember correctly, FSP is an hardware abstraction layer.
This port is fairly recent, do not hesitate to report here if it works correctly (or not), which will be one step further to make a new release so that the Arduino library manager has access to it!
from mozzi.
Hi,
I just tested the example 08.Samples>Sample on a pro micro and it's working here.
Also, audio output from the examples, to let you know what they should be doing, is here: https://sensorium.github.io/Mozzi/examples/
from mozzi.
Hi,
Okay, that's a good start already! Thanks for reporting this.
I will have a look at it once I get back close to a computer (a couple of weeks probably). Maybe someone else will solve it in the meantime.
from mozzi.
Hi,
Sorry for the delay, but I am finally back behind my breadboard.
I tested the Sample
sketch (and others in the same folder) on both R4 Minima and R4 Wifi and it works with no problem here.
As it seems that you are not having the expected output a few questions arise:
- Are you running the example sketch with no modification?
- Did you make any change in the config files of Mozzi?
- How are you outputting the sound (connections)?
from mozzi.
Okay, thanks! Indeed, as the FMSynth does work the circuit is very likely to be correct, you probably said it before but I overread it, sorry! Normally updates on the core should not impact as the development was initially done on a early release version of the core but who knows?
I am trying to finish this port now (which async adc) in order to push a new release. Hopefully this might bring more users of the R4 and we will get more feedback…
from mozzi.
Ok I was using the one from the librarly manager. I will try the latest build.
I was also poking around and noticed a definition of BSP_MCU_GROUP_RA4M1 but I see you used ARDUINO_FSP to detect the core. I'm not sure what FSP and BSP are but we are living in an age of new things.
from mozzi.
Ok thanks for clarification.
So right now I'm running the sample playing example on a Minima and the output doesn't sound quite right. The burroughs sample (forgive me for not knowing what that is or what it's supposed to sound like) sounds like a little click and the raven sample is inaudible. It could be something to do with the sample rate but I'm not quite sure.
from mozzi.
Thanks!
I have to admit that I have never run this example, my focus being more on synthesis ones, so I do not have any idea how it should sound either.
The easiest test, if you want to be sure, is to use a "well tested" board to compare (Arduino except giga and Uno R4, teensy, bluepill, esp...), if you have one.
from mozzi.
Thanks sensorium, it doesn't sound anything like that. All I'm getting from the Sample sketch is a clicking sound.
I just tried the FMsynth example and that is working perfectly so at least it confirms that I have a known working Minima board. It's probably down to bit rate and bit depth or some related thing.
from mozzi.
In regards to the sample playing sketch that was not working,
- No modifications to the sketch were made
- No changes to the Mozzi config files were made
- I have an LM386 board connected to pin A0 (DAC) (the LM386 is connected to a speaker)
All of this is the exact same configuration as for the FMsynth example which is working.
Now I think there were some updates to the core which might make a difference.
The IDE was also updated which in theory shouldn't make any difference.
I will try running it again but not now it's late for me here.
from mozzi.
Related Issues (20)
- Compilation errors when including both WaveFolder.h and ResonantFilter.h HOT 3
- Unable to compile for Atmega328PB with Arduino IDE HOT 3
- Arduino Nano 33 IoT tested and works with the output on DAC0, which is also called A0 HOT 2
- Output frequency 0.25% off on AVRs HOT 1
- RFC: Mozzi 2.0 part 1: Single compilation unit HOT 7
- RFC: Mozzi 2.0 part 2 - Configuration restructuring HOT 7
- Improving fixMath HOT 5
- Please Change Mozzi's License HOT 10
- Using Mozzi and I2C library for LCD HOT 14
- RFC: Mozzi 2.0 part 3 - Miscellanious
- UNO R4 port broken HOT 2
- Compatability/Compilation Issues w/ Nano 33 BLE Sense HOT 5
- Apparent frequency drops when amplitude increased beyond 8 bits on AVR HOT 3
- mozzi_rand cannot go full range HOT 7
- AVR PWM range is not actually 0-488 ("8.5 bit"), but effectively 0-400 HOT 6
- Minor / infrastructure: Avoid duplicate workflow runs on pushes to PRs HOT 1
- I2S dac with a nano. HOT 12
- VS10XX as DAC HOT 38
- RFC: Analog input scaling - what's the best approach 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 mozzi.