Hansy Synth and Daisy seed

MIDI echo should be quite simple, what is the problem?

In the code all is ok to receive and parser the midi message, buit i want to send to the midi out all the byte i receive from the midi in to the midi out and i don’t find a simply way to do this…but yes it should be…did you have some advices tel_player ?

I’d have to see the code, I haven’t done MIDI on Daisy recently.

I think you can test this with the MidiUSB example.

while(1)
{
/** Listen to MIDI for new changes */
midi.Listen();

    /** When there are messages waiting in the queue... */
    while(midi.HasEvents())
    {
        /** Pull the oldest one from the list... */
        auto msg = midi.PopEvent();
        switch(msg.type)
        {
            case NoteOn:
            {
                /** and change the frequency of the oscillator */
                auto note_msg = msg.AsNoteOn();
                if(note_msg.velocity != 0)
                    osc.SetFreq(mtof(note_msg.note));
            }
            break;
                // Since we only care about note-on messages in this example
                // we'll ignore all other message types
            default: break;
        }
    }
}

Maybe there is a simply way but i don’t find it :frowning:

I have already test my midi out hardware with a send note on…and is is ok

I think there is no very simple way, because the incoming bytes are already assembled into MidiEvent.

Yes it is why the solution is perharps in the transport or the uart part, not in the midi…It should be in the RX DMA of the Midi Uart

1 Like

This is typically called “midi thru” not “echo” :wink:

Yes Midi thru but the Midi thru can be hardware or software. And for me i want an uart echo on soffware side

1 Like

This works, but it is too long so i have some bad noises in my audio out :frowning:

static void rxCallback(uint8_t* data,
size_t size,
void* context,
UartHandler::Result res)
{
/** Read context as transport type /
MidiUartTransport
transport
= reinterpret_cast<MidiUartTransport*>(context);
if(res == UartHandler::Result::OK)
{
if(transport->parse_callback_)
{
transport->parse_callback_(data, size, transport->parse_context_);
transport->Tx(data, size);
}
}
}

Looper mode for the Hansy Daisy poly synth.

1 Like

A new front panel for the Daisy Hansy synth

2 Likes

And some new Demo

1 Like

Is the Hansy available for purchase?
And, I am curious about the name - does ‘Hansy’ have some meaning?

The early birds are available yes
Cost 370 Euros without shipping
Hansy is a transformation of an Alsatian cartoonist name

And i’am from this place.
But for US the tarif is 200% like for the wine

I have not seen anything about 200% on electronics, only wine.

Is 370€ just for PCB, or for a complete system in a case?

Complete system in the case. I can share more views if you want
I have also an user manual but in french for now.
I can also sell only the PCB with all the SMD components assembled


1 Like