[Csnd] Simple implementation of sync audio clip switcher (like in Ableton)
Date | 2019-01-01 20:51 |
From | Anton Kholomiov |
Subject | [Csnd] Simple implementation of sync audio clip switcher (like in Ableton) |
Hi! I'd like to share the code for simple synchronized audio clip launcher.https://github.com/anton-k/pure-csound/tree/master/event/live-row In the demo there is a simple kick + snare + percussion with various clips that can be switched with keyboard keypress. To run the demo we can download the source from repo and run > csound -odac LiveExample.csd Cheers, Anton --------------------------------------------------------------------------- -- docs (also can be found in the UDO source) How to use the opcode: ``` ; UDO to play row of toggle clip like in Ableton Live ; ; Stere version of liveRow. Toggle of stereo-audio clips syncronised with BPM. ; ; > aOut liveRow iTabSize, iLeftTabs, iRightTabs, iBpm, iBeatDur, kUserIndex, iAuxParams ; ; * iTabSize - how many audio clips in the row ; * iLeftTabs, iRightTabs - tables that contains indices to left and right channels ; ; of tables with monophonic audio clips (loaded with GEN01). Supposed that we load specific channels with GEN01. ; * iBpm - BPM of the track ; * iBeatDur - duration of the bar relative to quaters. So 4 - means 4/4, 3 means 3/4, 3.5 means 7/8 etc. ; * kUserIndex - index of the played clip, if it's out of bounds silence is played back. ``` |
Date | 2019-02-24 14:21 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Csnd] Simple implementation of sync audio clip switcher (like in Ableton) |
Anton, Love it !!! I will share with my Berklee students in this week's Csound class. They are all Live users. And I can guarantee that they will love it too. Thanks for writing and sharing. -dB _____________________________________________ Dr. Richard Boulanger Professor of Electronic Production and Design Professional Writing and Music Technology Division Berklee College of Music ______________________________________________ OFFICE: 1126 Boylston St., Suite 201 (EPD), Suite 208 (Boulanger) ______________________________________________ President of Boulanger Labs - http://boulangerlabs.com Author & Editor of The Csound Book - http://mitpress.mit.edu/books/csound-book Author & Editor of The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book ______________________________________________ about: http://www.boulangerlabs.com/#about about: http://www.csounds.com/community/developers/dr-richard-boulanger/ music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/ ______________________________________________ email: rboulanger@berklee.edu facebook: https://www.facebook.com/richard.boulanger.58 On Tue, Jan 1, 2019 at 3:51 PM Anton Kholomiov <anton.kholomiov@gmail.com> wrote:
|