Search the Community
Showing results for tags 'programming'.
-
While going through the tutorials, I recently ran into a behavior which surprised me a little bit. Two tutorials in a row used the same variable name, and the initialized value from the old tutorial persisted when I began the new one. Hilarity ensued. Do variables in opusmodus (or in this case, maybe in the underlying lisp VM?) have scope? Is there a way to manage this? I can imagine scenarios where global scope would be attractive or useful, but I was (apparently) expecting some kind of file-local sandbox for variables. Anyway, I am just wondering and didn't find an answer already in the forums... Thanks!
-
I'm ok (not great) with music and algorithms, but I know *nothing* about Lisp, so please excuse me if I'm completely off base... I'd like to set up a system where I can tag parts of midi files and then use random weights to create new pieces that are similar to the source material. For example, I'd like to create a new melody from the openings of three different pieces where each of the source motifs are tagged with something like "dark" "rhythmic" "complex" In my day job the way I'd do this is to have all the motifs, melodies, basslines, chord progressions, descriptive tags, etc. stored in a database, and I'd run a query: "SELECT * from motifs WHERE tag LIKE 'dark' LIMIT 3. And then I'd basically use random numbers to select which of the resultant notes would play and when. I'd then rate the result, and if it's good enough INSERT it back in to the database to provide a new generation of material So my question is, would I need a database in OpusModus, or is there a "Lispy-way" to do this kind of genetic manipulation? If I need a database, any recommendations? Thanks for your patience!! Lance
- 10 replies
-
Hi, This software package seems to offer a large array of possibilities for a composer. I've especially impressed by the notation component. I did have a specific question though. I have a large set of utilities I've written in Java that I'd prefer not to have to port to another language. I am creating a web service for easy, language-agnostic integration with them. Does Opusmodus offer, either through its own library, or throug the underlying framework (I assume it's some form of LISP), a way to communicate with/query a web service? Thanks for any information. Also, a related question, possibly answered somewhere else, but I am assuming I could write my own set of tools in the language. Am I correct? Regards, Paul M.