Electro-Smith » Arduino
77 FOLLOWERS
A forum category dedicated to discussing Arduino-related topics. Talk about using the Arduino language and IDE to program the Daisy.
Electro-Smith » Arduino
3d ago
Total noob
I want to control the seed example file using a potentiometer. I have one on pin A0, the only example that seems to use a pot is the oscillator one but I can’t figure out how to use a pot to control a filter instead of the LFO in the example sketches.
I tried copying that portion of the oscillator sketch to the Moog filter sketch.
why doesn’t it work? (all the lfo stuff is still there) I get no sound.
// Title: moogladder
// Description: Sweeps the cutoff with an lfo
// Hardware: Daisy Seed
// Author: Ben Sergentanis
#include "DaisyDuino.h"
DaisyHardware hw;
size_t num_channels ..read more
Electro-Smith » Arduino
2M ago
Greetings everyone, I am playing around with the seed using DaisyDuino and want to output audio on the DACs instead of the audio outputs. The only example I found donig this is the Lfo code for Patch but I cannot figure out how to apply this to other codes.
I understand that “DaisyHardware patch;” has to be initialized in order to get access to PIN_PATCH_CV_1 and PIN_PATCH_CV_2 (on pin 29 and 30) but I don’t know how send the signal there instead of “out[chn][i] = sig;” for example.
Could anyone help me out with this and explain how to initialize and use the DACs as an output?
Thank you in adv ..read more
Electro-Smith » Arduino
2M ago
Hi,
how can I get the Arduino Ide to offer to upload with the bootloader to use the 512k Ram space for larger programs?
Thanks a lot!
Christof
5 posts - 2 participants
Read full topic ..read more
Electro-Smith » Arduino
2M ago
Hi,
how can I get the Arduino Ide to offer to upload with the bootloader to use the 512k Ram space for larger programs?
Thanks a lot!
Christof
1 post - 1 participant
Read full topic ..read more
Electro-Smith » Arduino
3M ago
How to? My code is not working.
// Title: adsr
// Description: Triangle wave controlled by adsr envelope
// Hardware: Daisy Seed
// Author: Ben Sergentanis
#include "DaisyDuino.h"
#include <MIDI.h>
MIDI_CREATE_DEFAULT_INSTANCE();
#include <MIDI.h>
DaisyHardware hw;
size_t num_channels;
Adsr env;
Oscillator osc;
Metro tick;
bool gate;
byte note;
void MyCallback(float **in, float **out, size_t size) {
float osc_out, env_out, ea;
for (size_t i = 0; i < size; i++) {
// When the metro ticks, trigger the envelope to start.
/*if (tick.Process()) {
gate = !gat ..read more
Electro-Smith » Arduino
3M ago
How to? My code is not working.
// Title: adsr
// Description: Triangle wave controlled by adsr envelope
// Hardware: Daisy Seed
// Author: Ben Sergentanis
#include "DaisyDuino.h"
#include <MIDI.h>
MIDI_CREATE_DEFAULT_INSTANCE();
#include <MIDI.h>
DaisyHardware hw;
size_t num_channels;
Adsr env;
Oscillator osc;
Metro tick;
bool gate;
byte note;
void MyCallback(float **in, float **out, size_t size) {
float osc_out, env_out, ea;
for (size_t i = 0; i < size; i++) {
// When the metro ticks, trigger the envelope to start.
/*if (tick.Process()) {
gate = !gat ..read more
Electro-Smith » Arduino
3M ago
(topic deleted by author)
1 post - 1 participant
Read full topic ..read more
Electro-Smith » Arduino
3M ago
(topic deleted by author)
1 post - 1 participant
Read full topic ..read more
Electro-Smith » Arduino
7M ago
Hello im trying to use persistent storage to store some settings but it keeps freezing my daisy
here’s a basic example I tried to build by looking at the header cause I cant find any other examples on how to implement it.
#include <DaisyDuino.h>
// Define a struct for your settings
struct MySettings {
int myValue;
float anotherValue;
// Add a comparison operator for the PersistentStorage to use
bool operator!=(const MySettings& other) const {
return myValue != other.myValue || anotherValue != other.anotherValue;
}
};
// Instantiate QSPIHandle
QSPIHandle qspi;
// Cr ..read more
Electro-Smith » Arduino
8M ago
Hello everyone
I am finding an issue related to displays conflicting with midi messages. I am not the best developer out here and this is my first project ever so my appologies for the long topic and please accept my stupidity.
To start with I have built an ecludean sequencer with an Arduino Nano and the idea was to change to Daisy so that i could do more with it. Converting from Arduino to Daisy was easy, just changed some pins initiliasation and everything worked flawlessly. Then it was time to start working on the new functionalities and my first priority is to sync other devices with my se ..read more