[Csnd] Csound to Eurorack CV practicalities/experience
Date | 2020-08-06 18:17 |
From | "Jeanette C." |
Subject | [Csnd] Csound to Eurorack CV practicalities/experience |
Hey hey, I have seen that a few people have connected Csound to modular systems, but I couldn't find much about the practicalities or details. Is there a UDO or easy formula to convert MIDI note to V/oct pitch? Is it a completely linear conversion - leaving aside corrections for instable oscillators? For a +/- 5V range, what should Csound control signals be (+/- 5) or does a DC-coupled interface take care of that? Seeing that control signals must be passed through an audio interface, I assume that Csound signals to control eurorack modules should be a-rate? Can one rely on the hardware or audio-interface driver to limit outgoing software signals to a preset voltage range or should that ABSOLUTELY be dealt with inside the signal generator (Csound in this case)? Background is: I'm working on some sequencing UDOs and would like them to easily fit within that ecosystem as well. If someone could point me to helpful material or share some experience, I'd be very grateful. Best wishes, Jeanette -- * Website: http://juliencoder.de - for summer is a state of sound * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g * SoundCloud: https://soundcloud.com/jeanette_c * Twitter: https://twitter.com/jeanette_c_s * Audiobombs: https://www.audiobombs.com/users/jeanette_c * GitHub: https://github.com/jeanette-c Top down, on the strip Lookin' in the mirror I'm checkin' out my lipstick <3 (Britney Spears) Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2020-08-06 18:47 |
From | Dave Seidel |
Subject | Re: [Csnd] Csound to Eurorack CV practicalities/experience |
Hi Jeanette, I would love to know how to generate a proper pitch CV, but I don't. In my system, I use the Tubbutec uTune module to convert pitch CV to MIDI, and then I send the MIDI notes to Csound. I don't have things set up to send CV from Cound at all, unfortunately, but I'd like to eventually. - Dave On Thu, Aug 6, 2020 at 1:17 PM Jeanette C. <julien@mail.upb.de> wrote: Hey hey, |
Date | 2020-08-06 19:41 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] Csound to Eurorack CV practicalities/experience |
If you have a DC-coupled audio interface, it is possible to send audio signals as CV. There's software that does that, and I don't see why we could not do it in Csound. It may need so calibration but it should be possible.
Prof. Victor Lazzarini
Maynooth University
Ireland
On 6 Aug 2020, at 18:48, Dave Seidel <dave.seidel@gmail.com> wrote:
|
Date | 2020-08-06 19:52 |
From | Dave Seidel |
Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] Csound to Eurorack CV practicalities/experience |
Yes, I know it's possible, but I've never delved into it. On Thu, Aug 6, 2020 at 2:41 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
|
Date | 2020-08-06 19:55 |
From | "Jeanette C." |
Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] Csound to Eurorack CV practicalities/experience |
Aug 6 2020, Victor Lazzarini has written: > If you have a DC-coupled audio interface, it is possible to send audio signals as CV. There's software that does that, and I don't see why we could not do it in Csound. It may need so calibration but it should be possible. Having come across the Expert Sleepers system and Ableton Live's support for generating CV signals, I assumed as much. The main question is about the scaling of such signals, which I couldn't work out. Unfortunately I don't have such an interface to hand nor - I think - could I directly test the "usual" software that performs such tricks, due to accessibility and out-dated hardware with a GUI-based system. Specifications seem scarce, or I don't have the correct search terms. :) ... Best wishes, Jeanette -- * Website: http://juliencoder.de - for summer is a state of sound * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g * SoundCloud: https://soundcloud.com/jeanette_c * Twitter: https://twitter.com/jeanette_c_s * Audiobombs: https://www.audiobombs.com/users/jeanette_c * GitHub: https://github.com/jeanette-c Top down, on the strip Lookin' in the mirror I'm checkin' out my lipstick <3 (Britney Spears) Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2020-08-06 20:24 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] Csound to Eurorack CV practicalities/experience |
For scaling you might need measuring tools, and interface specs might help too. Prof. Victor Lazzarini Maynooth University Ireland > On 6 Aug 2020, at 19:55, Jeanette C. |
Date | 2020-08-06 21:16 |
From | "Jeanette C." |
Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] Csound to Eurorack CV practicalities/experience |
Aug 6 2020, Dave Seidel has written: > Another possible route is to use a MIDI-to-CV converter, ... Well, that is easy. :) I have two of those. I just thought it would be fun to make use of the DC-coupled interfaces apparently springing up everywhere. :) Though, practically speaking, for the time being the way through a hardware MIDI-to-CV converter would be the more common choice. Almost every halfway analogue hardware synth - and a few purely digital ones - has a bult-in MIDI-to-CV interface. Best wishes, Jeanette -- * Website: http://juliencoder.de - for summer is a state of sound * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g * SoundCloud: https://soundcloud.com/jeanette_c * Twitter: https://twitter.com/jeanette_c_s * Audiobombs: https://www.audiobombs.com/users/jeanette_c * GitHub: https://github.com/jeanette-c Top down, on the strip Lookin' in the mirror I'm checkin' out my lipstick <3 (Britney Spears) Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2020-08-07 03:01 |
From | alexandre burton <000007362cd17e7a-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] Csound to Eurorack CV practicalities/experience |
Although practical (esp for quantized pitch), MIDI-to-CV is inferior to Audio-to-CV in resolution (both in time and values). Soundcards models have different maximum (0dB) voltages; for MOTU check here: https://motu.com/techsupport/technotes/testing-analog-outputs-for-control-voltage-compatibility (make sure to toggle the gray “* Interfaces” zones at the bottom of the page to reveal the otherwise easy-to-miss data). So 0dB in Csound will give different voltages depending on the interface — there is a calibration stage required to get 1.2V/oct tracking. Either by ear or witth a multimeter/scope. (MOTU Volta provides tools to help with this). In the context of designing a software sequencing toolkit, that calibration falls in the hands of the end-user. I don’t think there is a common standard for mapping the MIDI semitones to specific divisions of the digital audio dynamic range (before it gets converted to arbitrary volts). So i guess it’s up to you to decide how you map your pitches in the digital realm. A calibration helper would be a good inclusion in such a toolkit. Expert Sleeper provide hardware analog modules that can be calibrated to buffer and amplify the sound card line level voltage, and a digital ADAT one (ES-3) that outputs 8 channels of “native” 10V CV. The latter is not cheap but works great and has the additional advantage of keeping the modular network electrically isolated from the computer setup (and provides 8 control signals on a single fibre, pretty elegant). Alex. > On Aug 6, 2020, at 4:16 PM, Jeanette C. |
Date | 2020-08-07 08:31 |
From | "Jeanette C." |
Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] Csound to Eurorack CV practicalities/experience |
Hi Alex, thanks a lot for your reply. This makes a lot of things easier for a start. I will try to be accomodating and maybe even provide a utility or two to help calibrate the scales. Best wishes, Jeanette Aug 7 2020, alexandre burton has written: > Although practical (esp for quantized pitch), MIDI-to-CV is inferior to Audio-to-CV in resolution (both in time and values). > > Soundcards models have different maximum (0dB) voltages; for MOTU check here: https://motu.com/techsupport/technotes/testing-analog-outputs-for-control-voltage-compatibility (make sure to toggle the gray “* Interfaces” zones at the bottom of the page to reveal the otherwise easy-to-miss data). > > So 0dB in Csound will give different voltages depending on the interface — there is a calibration stage required to get 1.2V/oct tracking. Either by ear or witth a multimeter/scope. (MOTU Volta provides tools to help with this). In the context of designing a software sequencing toolkit, that calibration falls in the hands of the end-user. I don’t think there is a common standard for mapping the MIDI semitones to specific divisions of the digital audio dynamic range (before it gets converted to arbitrary volts). So i guess it’s up to you to decide how you map your pitches in the digital realm. A calibration helper would be a good inclusion in such a toolkit. > > Expert Sleeper provide hardware analog modules that can be calibrated to buffer and amplify the sound card line level voltage, and a digital ADAT one (ES-3) that outputs 8 channels of “native” 10V CV. The latter is not cheap but works great and has the additional advantage of keeping the modular network electrically isolated from the computer setup (and provides 8 control signals on a single fibre, pretty elegant). > > Alex. > >> On Aug 6, 2020, at 4:16 PM, Jeanette C. |