SlideShare une entreprise Scribd logo
1  sur  22
The Use of Algorithms in Music
Composition
A Case Study of my piece 'On the Edge' for Cello
By Ali Riza SARAL
April 11, 2017
Creativity
• wikipedia
• Creativity is a phenomenon whereby
something new and somehow valuable is
formed. The created item may be intangible
(such as an idea, a scientific theory, a musical
composition, or a joke) or a physical object
(such as an invention, a literary work, or a
painting).
Webster -Definition of creativity
• 1: the quality of being creative
• 2 : the ability to create
• her artistic creativity
Definition of create-transitive verb
• 1 : to bring into existence
• … God created the heaven and the earth. — Genesis 1:1
(AV)
• 2 a : to invest with a new form, office, or rank
• She was created a lieutenant.
• b : to produce or bring about by a course of action or
behavior
• Her arrival created a terrible fuss. create new jobs
• 3 : cause, occasion Famine creates high food prices.
• 4 a : to produce through imaginative skill
• create a painting
• b : design creates dresses
Definition of create-intransitive verb
• 1 : to make or bring into existence something
new
• an artist who is good at imitating but not
at creating
• 2 : to set up a scoring opportunity in
basketball
• create off the dribble
dilemma
• Computer aided design
• Vs
• Human Aided Computer Creativity
consciousness
• Is consciousness a prerequisite for creativity?
Consciousness vs subconsciousness
• The role of subconscious in creativity
consciousness
• Intention
• Task lists
Direction problem
• Creativity requires direction towards creating
a being, a unity
• Currently available functions such as random()
• Does not provide direction
• Even the random function requires a seed
value to create a random number.
Possible solution
• Random values and other direction markers
maybe automatically produced from other
material, similar style music pieces etc.
• These have to be provided and programmed
by the human, composer.
MuseScore & JFugue
• I created MIDI sequences using Jfugue.
• Then I exported the outputs as MIDI files.
• I imported the MIDI files to MuseScore.
JFugue phase
• This corresponds to the computer creativity
phase.
• I used random functions and note lists. The
computer chooses randomly which sounds to
play.
• My role as a composer is to limit and direct
the random behaviour of the computer.
At the Edge for Cello
At the Edge – Cello Suite (2016) by Ali R+ SARAL
Bagatelle, Barcarolle, Rhapsody
15 min. Long
Dedicated to Daria B. from Germany
BAGATELLE
• Analyze Jfugue codes for music generation
• produceMusic() subroutines
• String note[]=
{"C","C#","D","D#","G","G#","A","A#","B"};
• int seriesLength=9;
• Randomly play
• noteSeq=randomInteger(1,seriesLength-1);
produceMusic2()
• if (!existsPrev(playedNotes,note[noteSeq],
depthRepeat, currentPOS) || n==0){
• m+=" "+note[noteSeq]+"4s";
• playedNotes[n]=note[noteSeq]+"4s";
produceMusic2()
• octave =
randomInteger(spanBottom+1,spanBottom+span
Depth);
• if (!existsPrev(playedNotes,note[noteSeq],
depthRepeat, currentPOS) || n==0){
• m+=" "+note[noteSeq]+octave+"i";
• m="T60 V0 I[Cello] G5h D#4h G#3h T120";
produceMusic4()
• String tempi[] ={"T126","T120","T132","T144"};
• if (n % 4==0)
tempiSeq=randomInteger(1,tempiCount-1);
• if (!existsPrev(playedNotes,note[noteSeq],
depthRepeat, currentPOS) || n==0){
• sheetStr+=" "+note[noteSeq]+"i
"+tempi[tempiSeq];
produceMusic6()
• String note[]= {"E5", "F4", "F#3", "G5", "D#4",
"G#3", "A5", "C5", "B4", "C#4", "D3", "A#2"};
• int seriesLength=12;
• String note2[]= {"E2", "F2", "D#2", "C2"}; int
noteSeq2=-1;
produceMusic6()
• if (!existsPrev(playedNotes,note[noteSeq], depthRepeat,
currentPOS) || n==0){
• // m+=" "+note[noteSeq]+octave+"i";
• // playedNotes[n]=note[noteSeq]+octave+"i";
• sheetStr+=" "+note[noteSeq]+"i
"+tempi[tempiSeq];
• playedNotes[n]=note[noteSeq]+"i
"+tempi[tempiSeq];
• }
• else n=n-1;
• sheetStr+=" "+note2[noteSeq2]+"i ";
• playedNotes[n]=note[noteSeq2]+"i ";
BARCAROLLE
• Analysis of Jfugue sketches
• Analysis of their utilization in Barcarolle.
Rhapsody
• Listen Rhapsody.
• Find where computer generating is used.
• Human imitates computer and tries to find out
what could human assisted computer
creativity sound like.

Contenu connexe

Plus de Ali Rıza SARAL

Plus de Ali Rıza SARAL (8)

On the Role of Design in Creativity.pptx
On the Role of Design in Creativity.pptxOn the Role of Design in Creativity.pptx
On the Role of Design in Creativity.pptx
 
Mnistauto 5
Mnistauto 5Mnistauto 5
Mnistauto 5
 
Mnistauto 4
Mnistauto 4Mnistauto 4
Mnistauto 4
 
Mnistauto 3
Mnistauto 3Mnistauto 3
Mnistauto 3
 
Mnistauto 2
Mnistauto 2Mnistauto 2
Mnistauto 2
 
Mnistauto 1
Mnistauto 1Mnistauto 1
Mnistauto 1
 
Komut satırı JAVA
Komut satırı JAVAKomut satırı JAVA
Komut satırı JAVA
 
AR+S The Role Of Abstraction In Human Computer Interaction
AR+S   The Role Of Abstraction In Human Computer InteractionAR+S   The Role Of Abstraction In Human Computer Interaction
AR+S The Role Of Abstraction In Human Computer Interaction
 

Dernier

Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Dernier (20)

Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 

Human assisted computer creativity

  • 1. The Use of Algorithms in Music Composition A Case Study of my piece 'On the Edge' for Cello By Ali Riza SARAL April 11, 2017
  • 2. Creativity • wikipedia • Creativity is a phenomenon whereby something new and somehow valuable is formed. The created item may be intangible (such as an idea, a scientific theory, a musical composition, or a joke) or a physical object (such as an invention, a literary work, or a painting).
  • 3. Webster -Definition of creativity • 1: the quality of being creative • 2 : the ability to create • her artistic creativity
  • 4. Definition of create-transitive verb • 1 : to bring into existence • … God created the heaven and the earth. — Genesis 1:1 (AV) • 2 a : to invest with a new form, office, or rank • She was created a lieutenant. • b : to produce or bring about by a course of action or behavior • Her arrival created a terrible fuss. create new jobs • 3 : cause, occasion Famine creates high food prices. • 4 a : to produce through imaginative skill • create a painting • b : design creates dresses
  • 5. Definition of create-intransitive verb • 1 : to make or bring into existence something new • an artist who is good at imitating but not at creating • 2 : to set up a scoring opportunity in basketball • create off the dribble
  • 6. dilemma • Computer aided design • Vs • Human Aided Computer Creativity
  • 7. consciousness • Is consciousness a prerequisite for creativity?
  • 8. Consciousness vs subconsciousness • The role of subconscious in creativity
  • 10. Direction problem • Creativity requires direction towards creating a being, a unity • Currently available functions such as random() • Does not provide direction • Even the random function requires a seed value to create a random number.
  • 11. Possible solution • Random values and other direction markers maybe automatically produced from other material, similar style music pieces etc. • These have to be provided and programmed by the human, composer.
  • 12. MuseScore & JFugue • I created MIDI sequences using Jfugue. • Then I exported the outputs as MIDI files. • I imported the MIDI files to MuseScore.
  • 13. JFugue phase • This corresponds to the computer creativity phase. • I used random functions and note lists. The computer chooses randomly which sounds to play. • My role as a composer is to limit and direct the random behaviour of the computer.
  • 14. At the Edge for Cello At the Edge – Cello Suite (2016) by Ali R+ SARAL Bagatelle, Barcarolle, Rhapsody 15 min. Long Dedicated to Daria B. from Germany
  • 15. BAGATELLE • Analyze Jfugue codes for music generation • produceMusic() subroutines • String note[]= {"C","C#","D","D#","G","G#","A","A#","B"}; • int seriesLength=9; • Randomly play • noteSeq=randomInteger(1,seriesLength-1);
  • 16. produceMusic2() • if (!existsPrev(playedNotes,note[noteSeq], depthRepeat, currentPOS) || n==0){ • m+=" "+note[noteSeq]+"4s"; • playedNotes[n]=note[noteSeq]+"4s";
  • 17. produceMusic2() • octave = randomInteger(spanBottom+1,spanBottom+span Depth); • if (!existsPrev(playedNotes,note[noteSeq], depthRepeat, currentPOS) || n==0){ • m+=" "+note[noteSeq]+octave+"i"; • m="T60 V0 I[Cello] G5h D#4h G#3h T120";
  • 18. produceMusic4() • String tempi[] ={"T126","T120","T132","T144"}; • if (n % 4==0) tempiSeq=randomInteger(1,tempiCount-1); • if (!existsPrev(playedNotes,note[noteSeq], depthRepeat, currentPOS) || n==0){ • sheetStr+=" "+note[noteSeq]+"i "+tempi[tempiSeq];
  • 19. produceMusic6() • String note[]= {"E5", "F4", "F#3", "G5", "D#4", "G#3", "A5", "C5", "B4", "C#4", "D3", "A#2"}; • int seriesLength=12; • String note2[]= {"E2", "F2", "D#2", "C2"}; int noteSeq2=-1;
  • 20. produceMusic6() • if (!existsPrev(playedNotes,note[noteSeq], depthRepeat, currentPOS) || n==0){ • // m+=" "+note[noteSeq]+octave+"i"; • // playedNotes[n]=note[noteSeq]+octave+"i"; • sheetStr+=" "+note[noteSeq]+"i "+tempi[tempiSeq]; • playedNotes[n]=note[noteSeq]+"i "+tempi[tempiSeq]; • } • else n=n-1; • sheetStr+=" "+note2[noteSeq2]+"i "; • playedNotes[n]=note[noteSeq2]+"i ";
  • 21. BARCAROLLE • Analysis of Jfugue sketches • Analysis of their utilization in Barcarolle.
  • 22. Rhapsody • Listen Rhapsody. • Find where computer generating is used. • Human imitates computer and tries to find out what could human assisted computer creativity sound like.