What's available for livecoding music? [closed] - livecoding

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I recently found out about livecoding where someone will program something on the fly to make music. Apparently there are special languages and libraries for this sort of thing. So I'd like to know if anyone has any experience with it and if they have any languages, libraries or tools to suggest.

Check these resources:
SuperCollider (Environment and programming language for real time audio synthesis and algorithmic composition)
ChucK (Strongly-timed, Concurrent, and On-the-fly Audio Programming Language)
TOPLAP (temporary organization for the proliferation of live audio programming)

I want to second the recommendation for Impromptu as well:
Wholesale utilization of your Mac: audio units, camera, openGL...etc (I actually ended up buying a Mac after playing around with this app.)
Very simple and easy to start : The tutorial gets to the fun fast. Perhaps the clumsiest aspect is getting the keybindings installed : (you will need to install in ~/Library/KeyBindings/DefaultKeyBinding.dict)
It uses Scheme(Lisp dialect) a highly iterative language, suitable for prototyping apps one line at a time.

Now there is also Sonic Pi which is a lot of fun.
It is an Open Source live coding environment based on Ruby that runs in a variety of environments including the Raspberry Pi and is build on top of the Supercollider synthesis engine.
Sonic Pi has been designed with the aim to find a harmonious balance between three core principles:
Simple enough for the 10 year old within you
Joyful enough for you to lose yourself through play
Powerful enough for your own expressions
Sample code:
loop do
sample :perc_bell, rate: (rrand 0.125, 1.5)
sleep rrand(0, 2)
end

You should check out RTcmix (Real-time Cmix). I saw a great livecoding demo by one its developers, but I haven't been able to find any videos online.
I've been using RTcmix with its Python front-end module to experiment with algorithmic composition. It's very easy to use and has nice results.
EDIT
I've been investigating livecoding further recently, and RTcmix is not intended for this, but in some cases, it can work. It's much better for pre-processed scores. Sorry for any confusion. :)

Related

How can I start programming for Elementary OS? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
The Elementary OS is really powerful and beauty operation system, based on Ubuntu, and I want build programs for the OS.
How can I start it? Any books, courses, step-by-step instructions etc? What do you can give advice to me for starting? I know the OS use Vala programming language, but I can't find any books for the one.
upd: Now I know on middle level CSS, HTML and PHP.
Thx for any answer,
best
Vala is some kind of modern language frontend for C programming, primarily for the GObject world (but not exclusively). That means for programing in the GNOME ecosystem.
Not sure what you want to do - develop command line applications or graphical ones. For graphical ones you will want to learn the Gtk+ framework. It is based upon the GLib framework, which you would use if you want to create command line applications.
I would recommend start reading on the Gtk+ documentation:
https://developer.gnome.org/gtk3/3.22/
This is all in the C world because the framework itself in C. So when using Vala things will be a bit different (but not too much). It can be challenging doing both at the same time - but it should be a good read and excercise to get a basic understanding on how things work.
Start at the offical elementary website: https://elementary.io/docs/code/getting-started#getting-started
As stated by Florian Zwoch, the language of choice is Vala in combination with the GTK+ ("GUI-Framework").
Read https://chebizarro.gitbooks.io/the-vala-tutorial/content/ for a introduction to the Vala language itself.
Then go to Valadoc for a comprehesive documentation as well as some introduction turorials on the topic Vala in combination with GTK+ / Application development.
(Besides Vala, GTK+ has bindings for almost any language, with C/C++ and Python being the more popular)
Then you can look at the official Github repository and study the sources of the elementaryos apps: https://github.com/elementary
You find a few more helpful code examples on gnome.org: https://wiki.gnome.org/Projects/Vala/Examples

Any good audio sources to learn programming? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I currently work with computers everyday (although not programming) but I would like to learn some programming. I do not have any intend to work as a programmer but I would be able to get an understanding of code (being able to read code).
Ive started a bit of Python and liked it so far but one thing which I suppose is unavoidable is that I have to sit in front of a computer to learn it (test code, see the result etc). I know that's probably the optimal way to learn but it can become very boring at times and I am looking for other ways to learn, for example through audio tutorials / audiobooks or something similiar? Does anything like this exists?
Otherwise, can anyone recommend any book that is not "language specific", basically I want to learn things like what does object-oriented programming means etc etc, Free E-books which works good on Ipad would be great :)
My background is that I know computers well (been fixing computers for ppl for years) as well as webdesign (html/css and some php), but I do not really know where to start next for learning programming. I work in excel 8 hours a day so it would be fun to learn without having to sit in front of the computer all the time...
Hey you can download programming lessons from youtube or MIT Open course ware: http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-and-programming-fall-2008/video-lectures/lecture-1/
Load them on your ipod and listen to them.
Or connect it to you TV then watch while your on the couch.
It sometimes sucks being in front of the computer all the time. Another option is to watch these videos while your on the beach.
You can't learn to program by reading books. Especially audio books, that's not going to help at all. It's like trying to learn how to swim or play the piano by reading or listening to an audio book. You have to practice, that's the only way. I think you should start from this site to get you up and running quickly since it has step by step lectures on concepts and is quite interesting to watch: Job Ready Programmer
Best of luck!

Best open source project for audio signal processing? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Need to find if there is a open source project for audio signal processing, just as we have openCV for image processing.
Thanks
In my course for the more technical part, we were introduced to signal processing, we had to use Octave with the audio package and gnu plot for plotting.
For the fun part of the course used MaxMSP/Jitter which is a commercial project,
but there's always PureData which is opensource and the Jitter equivalent would be PD Gem, but just for audio signal processing you should be fine with PureData.
In short, if you're into the number crunching bit, Octave should be fine.
We also did the image processing in Octave too, it's two dimensions as opposed to one(sound), but it's still signal processing. You can apply a high-pass or a low pass filter to an image too, you can try an echo/delay on images for fun if you like.
Pure Data is a bit different, since you patch cords instead of typing lots of code, but it's pretty fun and one of the advantages is that you can make changes live, while your patch/program is running which makes it great for fast prototyping.
Straying a bit from audio signal processing, if you're into generative music, you should have a look at some opensource projects like ChucK, SuperCollider, ixi
or fluxus...some do cool stuff with Haskell.
Update
On the c++ side you can also check out Dr. Mick Grierson's Maximilian library which also includes a nice little addon for OpenFrameworks
It's also worth checking out Sonic Visualiser and Vamp Plugins (a lot of nice goodies there)
HTH

What are the "must reads" online for learning the ins and outs of multithreading? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Over the last couple months I've been working with programs that involve multi-threading aspects to them. Multi-threaded programs a very new to me and while I understand the crude basics, how to go about designing a multi-threaded program is still beyond my skill-set. I would like to know what resources that people have found online that gave you an "Omg! That makes total sense now!" moment for this topic.
This should probably be a community wiki but due to the latest changes to SO, I can't make it one (that I know of at least).
Edit: I'm aiming toward reading that is language-independent if possible. Though I don't want to discurage anything that might be particular of a language if it is informative enough to general multi-threading program design.
Herb Sutter has a Dr. Dobbs column called Effective Concurrency that's terrific. It's a little C++-centric but the underlying lessons are well explained and are bite-sized so you don't get overwhelmed.
Threading must-reads
The Threads FAQ, by Bryan O'Sullivan (hacker extraordinaire)
The Problem with Threads, by Edward A. Lee (on how and why non-deterministic multi-threading is so difficult)
Concurrency must-reads
The Free Lunch Is Over, by Herb Sutter (on the pragmatic importance of concurrency)
The C10K problem, by Dan Kegel (if you plan to do any large-scale network programming)
Here are some basic starting points:
I don't want to state the obvious, but there's the Wikipedia article: Wikipedia: Multithreading
There's also a relatively old Linux article here: Multithreading and Linux
and a POSIX threads tutorial: POSIX threads tutorial
For Windows, here's a great MSDN article: What Every Dev Must Know About Multithreaded Apps
If you want to go get some decent cross-platform multithreading books, there are:
Threads Primer: A Guide to Multithreaded Programming
Modern Multithreading : Implementing, Testing, and Debugging Multithreaded Java and C++/Pthreads/Win32 Programs
Porgramming POSIX Threads
I see you have been active in C/C++ tags here. In that case the Boost.Thread documentation might be interesting. This provides portable implementations of important threading concepts and states clearly how to use them. If I was starting out as a C++ multithreading programmer, I would absolutely not build this stuff myself but use this library. The author of the library (active on Stack Overflow under his real name) has a book coming out soon, which appears to be available online now for a fee.

High quality software examples [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
One of the best ways to learn about programming is reading high quality code/projects from great engineers. Which open-source projects do you think is worth looking at? I mean, that code that you can print and sit under a tree with a glass of wine and enjoy reading.
If you can, also specify if the software is great to look at because its documentation, design, UML diagrams or just plain code. I believe UML is not very common within open-source projects.
Is there such a thing as a project branch that polishes code and design with the sole objective to give other programmers a great example of great software?
I'm pretty impressed with the Chrome source code. Note: I work on the Chrome team but I'm just one of many. I've learned quite a bit from other people's code, the classes used, their design, the methods of unit testing, integration testing, their code review system, their continuous build system and more.
At the risk of being perceived as a Jon Skeet fanboy, I've looked to his miscellaneous utilities libraries for examples of clear, self-contained, well-documented and well-tested code. .NET, if it matters.
Sharp develop is very well designed and written and comes with a book explaining the design.
It is also very important to understand various different software quality characteristics when you are reading the code samples. This would help you to identify why the coding is good, and which aspect of software quality it gets associated with?
You may want to check out eight different characteristics of software quality specified by ISO 25000 series, also termed as SQUARE specifications.

Resources