Code Monkey home page Code Monkey logo

Comments (11)

tomcombriat avatar tomcombriat commented on July 4, 2024 1

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.

tomcombriat avatar tomcombriat commented on July 4, 2024 1

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.

sensorium avatar sensorium commented on July 4, 2024 1

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.

tomcombriat avatar tomcombriat commented on July 4, 2024 1

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.

tomcombriat avatar tomcombriat commented on July 4, 2024 1

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.

tomcombriat avatar tomcombriat commented on July 4, 2024 1

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.

LightningStalker avatar LightningStalker commented on July 4, 2024

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.

LightningStalker avatar LightningStalker commented on July 4, 2024

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.

tomcombriat avatar tomcombriat commented on July 4, 2024

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.

LightningStalker avatar LightningStalker commented on July 4, 2024

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.

LightningStalker avatar LightningStalker commented on July 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.