Please consider updating Csound on the Bela to the latest version - 6.15
There are many new opcodes and features that were added specifically for Bela work
- especially the new Trill opcode!
Thanks!
Dr.B.
Please consider updating Csound on the Bela to the latest version - 6.15
There are many new opcodes and features that were added specifically for Bela work
- especially the new Trill opcode!
Thanks!
Dr.B.
@csounder as in: please test this, I have done only basic testing and I don't know how to test the Trill opcodes.
Thanks so much. This seems to be working and to include many of the latest opcodes - some specifically designed to improve the work with the Bela! I say "most" because, it seems that the most important new opcode - the new "trill" opcode, is missing and was not added to the sources or the latest build...yet ;-(
Well, there are many other things that did make it into the latest and hopefully soon there will be a set of trill opcodes too.
I will continue testing things and am very excited to have the latest Csound on the Bela.
Here are the steps that I followed to install your lastest update of Csound 6.15:
2020 - Oct 16 - How I installed the latest (based on Alex Hoffmann’s previous instructions)
THANK YOU
csounder the new "trill" opcode, is missing and was not added to the sources or the latest build...yet ;-(
That's weird, I definitely added it to the build as you can see here: https://github.com/giuliomoro/csound/commit/822acf745107d823911c78098f2c5ff3a5c7fe3e
Can you tell me how you would go about testing the presence of the Trill opcode? Post the full .csd file please
giuliomoro. I see it! (Forgive me for not noticing it.). I do all my preliminary testing (and all of my teaching at Berklee) on the Mac using the CsoundQt IDE. (when one does a -z command to see a listing of all the current opcodes in the console, it does not appear there.). With john ffitch, I do opcode development work in the terminal
(he doesn't have a Bela... yet... ;-). (I will be ordering him one and a trill later tonight!). Today, during our weekly Zoom development session, we could not find the trill code and did not see it in the manual or in the current Mac or Linux build. When I typed the -z command to see the listing of opcodes in the current Csound on Bela, it sometimes runs out of characters or lines and does not show the complete list. I just got it to show the complete list and YES - I see that trill is there. Now... what to do with it. I was waiting for Bernt (the opcode developer) to share a few models. I will try a few things but that would mostly have me poking around in the dark at this point. I really have to wait for him. I will email him again and see if he has something he can share with me/us.
csounder I have asked Bernt for a few examples to get us started. This weekend, I will make a few that build on your Pd models, but connect my trills to csound instruments from there. Hopefully, we will have a nice set of simple Csound "trill" example .csd files for you in the near future - and THANKS. All awesome stuff. Exciting. Dr.B.
@csounder I have found a piece of example code that Bernt had given me:
/***** Trill.csd *****/
;------------------------------------------------------
; Input from Trill sensors - Csound on Bela
; * Bernt I. Wærstad, Victor Lazzarini, Alex Hofmann
;
; This example shows how to read values from Trill sensors
; connected to the Bela. Go to bela.io/trill to get started
; with connecting Trill to Bela
;------------------------------------------------------
<CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>
ksmps = 8
nchnls = 2
0dbfs = 1
instr 1
iNumTouches = 5
iTrillID = 0
kactiveTouches init 0
ktouchSizes[] init iNumTouches
ktouchVert[] init iNumTouches
ktouchHori[] init iNumTouches
kactiveTouches, ktouchSizes, ktouchVert, ktouchHori trill iNumTouches, iTrillID
printk2 kactiveTouches
ktrig_v changed2 ktouchVert
ktrig_h changed2 ktouchHori
ktrig = ktrig_v + ktrig_h
printarray ktouchVert, ktrig, "","Vertical:"
printarray ktouchHori, ktrig, "", "Horisontal"
endin
</CsInstruments>
<CsScore>
i1 0 86400
</CsScore>
</CsoundSynthesizer>
giuliomoro AWESOME!!!! Can't wait to give it a run !!!! I will let you know and then start flying. Dr.B.
This is working! I have added some synthesis elements and am sliding pitches all over the place!
- now to refine things a bit and get a better understanding of things and implement some smarter and more musical designs. AWESOME.
new release, fixing some of the outstanding issues: https://github.com/giuliomoro/csound/releases/tag/6.15-bela2