[Csnd] Viva text based music or writing trance in TTY console!
Date | 2018-04-20 16:19 |
From | Anton Kholomiov |
Subject | [Csnd] Viva text based music or writing trance in TTY console! |
Attachments | tty-trance.csd Tty.hs |
I'm back to csound-expression business and hope to release soon. here is a small teaser of new features. Since csound is text based I was wondering how far one can get in the tty console. For those that who are not familiar with Linux slang tty is the mode were you can run the whole OS in the repl, no window system is started mouse doesn't work no Ctrl+C Ctrl+V, just single terminal and keyboard With Csound and my haskell lib in the repl i was able to make a tiny trance sketch which I'd like to share with you. Csound code is in the attachment, you can run it with csound (no flags needed). > csound tty-trance.csd Hope you enjoy! It's about 12 lines of code in the tty-shell. I also attach a source of the haskell code (slightly modified for readability). It's not going to work right now since it features some unrealesed things which are coming soon in the new release. So stay tuned :) One cool upcoming feature that's heavily used in the example is With it I'm able to sync arpeggios with drum patterns and LFOs - and syn is going to synchronize the rate with global bpm which can be set by single line for the whole project. |
Date | 2018-04-20 16:21 |
From | Anton Kholomiov |
Subject | Re: [Csnd] Viva text based music or writing trance in TTY console! |
single feature of Csound 6.10 is diode filter, if you interested in running on pre latest release drop here a line, I will substitute2018-04-20 18:19 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
|
Date | 2018-04-20 16:24 |
From | Anton Kholomiov |
Subject | Re: [Csnd] Viva text based music or writing trance in TTY console! |
Also interesting feature is that global BPM is set with signal, in the example it's controlled with linseg and all parts of thecomposition align with the change. you can hear it as track gets faster 2018-04-20 18:21 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
|
Date | 2018-04-23 00:34 |
From | Steven Yi |
Subject | Re: [Csnd] Viva text based music or writing trance in TTY console! |
Just had a free moment to check this out: nice! I rather like the filtered square arpeggio lines. :) Thanks for sharing! On Fri, Apr 20, 2018 at 11:24 AM, Anton Kholomiov |
Date | 2018-04-23 03:19 |
From | Guillermo Senna |
Subject | Re: [Csnd] Viva text based music or writing trance in TTY console! |
Cool! So csound-expression transforms those 12 lines of functional programming into the 1600 lines of Csound code? On 20/04/18 12:19, Anton Kholomiov wrote: > I'm back to csound-expression business and hope to release soon. > here is a small teaser of new features. > > > Since csound is text based I was wondering how far one can get > in the tty console. > > For those that who are not familiar with Linux slang > tty is the mode were you can run the whole OS in the repl, > no window system is started mouse doesn't work no Ctrl+C Ctrl+V, > just single terminal and keyboard > > With Csound and my haskell lib in the repl > i was able to make a tiny trance sketch which I'd like to share with you. > Csound code is in the attachment, you can run it with csound (no flags > needed). > >> csound tty-trance.csd > Hope you enjoy! > > It's about 12 lines of code in the tty-shell. > > I also attach a source of the haskell code (slightly modified for > readability). > It's not going to work right now since it features some unrealesed > things which are coming soon in the new release. > > So stay tuned :) > > One cool upcoming feature that's heavily used in the example is > support for built-in BPM change. There are functions that > can read global BPM out of thin air for the user. > > With it I'm able to sync arpeggios with drum patterns and LFOs > > So user can run: > > osc (syn 1) > > - and syn is going to synchronize the rate with global bpm > which can be set by single line for the whole project. > It's hidden global variable that's built in to the library. > And it allows to easily synchronize delay times or rates for LFO's > or drum patterns. > > But enough talking here is the code, hope you enjoy :) > > PS: code requires Csound 6.10 to run > > 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 > 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 | 2018-04-23 09:41 |
From | Anton Kholomiov |
Subject | Re: [Csnd] Viva text based music or writing trance in TTY console! |
Thanks, for stopping by Steven and feedback! I really appreciate your time since many things I do are based on smart investment of your time :) Thanks for fast diode, zladder and friends! This example uses some of them! @Guillermo Yes, but my library is kind of batteries included, so many line overhead that you see comes with library functions like implementation of drum sounds or bass patch, or organizing music in bpm-aligned patterns and stuff like this So there are many abstractions out of the box that I build upon.I just import them as third party libs. 2018-04-23 5:19 GMT+03:00 Guillermo Senna <gsenna@gmail.com>: Cool! So csound-expression transforms those 12 lines of functional |