scholarly journals Modeling Michael Jarrell’s CSP in Gelisp

2018 ◽  
Author(s):  
Mauricio Toro

Constraint Satisfaction Problems (CSPs) in computer music are used to solve harmonic, rhythmic or melodic problems. In addition,they can be used for automatic generation of musical structures satisfying a set of rules. Forinstance, the CSP proposed by compositor Michael Jarrell, which we explain in this document anddetail its implementation. Usually, a CSP is represented by a script defining the variables, theirdomain, and its constraints.Instead of writing a script, in Gelisp for OpenMusic (OM) we represent a program with a specialpatch. A patch is a visual algorithm, in which boxes represent functional calls, and connectionsare functional compositions. Inside this CSP patch, we can place special boxes: to connect eachconstraint in the CSP, to define variable and value heuristics, to define a time limit in the search,to connect the list of variables that we want to observe, and a box to connect the variable to bethe optimization criterion during the search.Furthermore, we provide a variety of boxes to represent simple constraints (e.g., a = b anda < 2) and high-level constraints (e.g., “the motive A occurs n times in the sequence S”). Theoutput of a CSP patch can be connected to three different kind of boxes: to find one solution, tofind all the solutions, and to perform propagation (narrow the domain of the variables) withoutsearch.

Constraints ◽  
2007 ◽  
Vol 12 (4) ◽  
pp. 469-505 ◽  
Author(s):  
Yat Chiu Law ◽  
Jimmy H. M. Lee ◽  
Barbara M. Smith

2020 ◽  
Vol 34 (09) ◽  
pp. 13436-13443
Author(s):  
Chenliang Zhou ◽  
Dominic Kuang ◽  
Jingru Liu ◽  
Hanbo Yang ◽  
Zijia Zhang ◽  
...  

AIspace is a set of tools used to learn and teach fundamental AI algorithms. The original version of AIspace was written in Java. There was not a clean separation of the algorithms and visualization; it was too complicated for students to modify the underlying algorithms. Its next generation, AIspace2, is built on AIPython, open source Python code that is designed to be as close as possible to pseudocode. AISpace2, visualized in JupyterLab, keeps the simple Python code, and uses hooks in AIPython to allow visualization of the algorithms. This allows students to see and modify the high-level algorithms in Python, and to visualize the output in a graphical form, aiming to better help them to build confidence and comfort in AI concepts and algorithms. So far we have tools for search, constraint satisfaction problems (CSP), planning and Bayesian network. In this paper we outline the tools and give some evaluations based on user feedback.


2020 ◽  
pp. 102986492097214
Author(s):  
Aurélien Bertiaux ◽  
François Gabrielli ◽  
Mathieu Giraud ◽  
Florence Levé

Learning to write music in the staff notation used in Western classical music is part of a musician’s training. However, writing music by hand is rarely taught formally, and many musicians are not aware of the characteristics of their musical handwriting. As with any symbolic expression, musical handwriting is related to the underlying cognition of the musical structures being depicted. Trained musicians read, think, and play music with high-level structures in mind. It seems natural that they would also write music by hand with these structures in mind. Moreover, improving our understanding of handwriting may help to improve both optical music recognition and music notation and composition interfaces. We investigated associations between music training and experience, and the way people write music by hand. We made video recordings of participants’ hands while they were copying or freely writing music, and analysed the sequence in which they wrote the elements contained in the musical score. The results confirmed experienced musicians wrote faster than beginners, were more likely to write chords from bottom to top, and they tended to write the note heads first, in a flowing fashion, and only afterwards use stems and beams to emphasize grouping, and add expressive markings.


2019 ◽  
Vol 38 ◽  
pp. 1095-1102 ◽  
Author(s):  
Julio Garrido Campos ◽  
Juan Sáez López ◽  
José Ignacio Armesto Quiroga ◽  
Angel Manuel Espada Seoane

Sign in / Sign up

Export Citation Format

Share Document