midilab / opendsp

Headless Linux embedded realtime OS for audio and video DSP
http://midilab.co/opendsp
GNU General Public License v3.0
52 stars 2 forks source link

JACK/LV2 CV support? #1

Closed mxmilkiib closed 1 year ago

mxmilkiib commented 4 years ago

All the details here. I guess it could factor into OpenDSP some day?

midilab commented 4 years ago

What do you want to achieve? Integrate LV2 into a real modular CV setup? How much resolution do you need? There are some ways to achieve such a quest, and one of the goals of OpenDSP is to get a smooth as possible CV integration some day for sure. But it really force us on a solution that is dependent on a extended hardware(MIDI/CV, SPI/CV, ANY*/CV) to convert signals between LV2 and your modular. MIDI/CV its the most affordable solution, but you get your self stuck into the low MIDI resolution of CC messages or note range within 12 notes temperament only and makes you not able to use the potential of LV2/CV metadata ports with your modular setup. SPI/CV can give you a quite good signal resolution to work directly with LV2/CV metadata ports conversion. No experience from my side of other methods avaliable to work with LV2/CV using only the native hardware of PC/Embeded devices. From the point of view of OpenDSP about support to integrate such of interfaces, goes only on driver level for a SPI/CV converter in that case - i do have plans to make a hardware interface for that matter. MIDI/CV converters are supported by default. Nice compilation of info about the subject you have on the link by the way...

mxmilkiib commented 4 years ago

Yes to create a hybrid modular setup. 32 bit float PCM? Hardware is certainly a limiting factor, though there are options for AC-coupled and lower bitrate devices. See also mod-spi2jack. And thanks :)

midilab commented 4 years ago

For linux, a standard way to go is the IIO, this is what the guys from MOD Devices are using on their Duo X for 2 pedal expression and the Soundcard conversions.
By making use of IIO we have out-of-the-box access for a lot of good, cheap and avaliable on the market DACs/ADCs for our modular/computer integration.
Im still studing to find the best way to integrate the whole thing with good cost x benefit to keep it DIY friendly.
Compiling mod-spi2jack was problematic for opendsp for two reasons:
1) It is jack2 compilant - opendsp uses jack1
2) Their code is not out-of-the-box made to use with any IIO device, for that to happens it needs some code changes. It was written hardcoded for their Duo machine devices. But it is still manageble to fork their project into a generic IIO2Jack tool instead.
Any help in development, ideias or support work force it will be great!

midilab commented 4 years ago

Hi @mxmilkb !

By continue the saga of being able to use our embedded systems as modular devices for eurorack the release 0.10 are bringing good news about.

OpenDSP 0.10 has support for some of the most common DACs/ADCs on the market, not tested yet but open for tests, suggestions and experiments: