| | 976 | |
| | 977 | ** Define further transformer functions for transformable motifs |
| | 978 | |
| | 979 | see [[file:~/oz/music/Strasheela/strasheela/trunk/strasheela/contributions/anders/Segments/source/TransformableSubscript.oz::Transformers]] |
| | 980 | |
| | 981 | |
| | 982 | **** ?? add pauses to motifs |
| | 983 | |
| | 984 | **** OK Repetition |
| | 985 | |
| | 986 | not a variation of course, but an important technique |
| | 987 | |
| | 988 | Also, if harmony changes a lot then you might consider to keep rhythm more simple.. |
| | 989 | |
| | 990 | **** Replace a (longer) duration by multiple shorter durations (of equal length ?) that substitute the longer dur |
| | 991 | |
| | 992 | **** OK Replace a duration by an arbitrary other rhythm |
| | 993 | |
| | 994 | in principle, this replacement rhythm does not even need to have the same duration as the duration it substitutes |
| | 995 | |
| | 996 | **** Add an arbitrary short or long note |
| | 997 | |
| | 998 | Where? |
| | 999 | |
| | 1000 | **** Remove an arbitrary note |
| | 1001 | |
| | 1002 | Which note? |
| | 1003 | |
| | 1004 | **** Change duration of a note |
| | 1005 | |
| | 1006 | e.g., |
| | 1007 | |
| | 1008 | - change dur of longest or last note of motif longer |
| | 1009 | |
| | 1010 | - reduce duration of some short note |
| | 1011 | |
| | 1012 | - add a dot to some note, or remove a dot |
| | 1013 | |
| | 1014 | **** Special technique from Tala in Carnatic music |
| | 1015 | |
| | 1016 | http://en.wikipedia.org/wiki/Tala_%28music%29#Tala_in_Carnatic_music |
| | 1017 | |
| | 1018 | Multiple duration categories |
| | 1019 | - 1 pulse |
| | 1020 | - 2 pulses |
| | 1021 | - multiple pulses: 3, 4, 5, 7 or 9 |
| | 1022 | |
| | 1023 | So, a rhythm can be streched/compressed by changing dur of all long tones |
| | 1024 | |
| | 1025 | |
| | 1026 | **** OK Stretch/compress by multiplying all durations with some constant factor |
| | 1027 | |
| | 1028 | **** OK Stretch/compress by adding some constant value to all durations |
| | 1029 | |
| | 1030 | **** OK "Tilted stretching/compressing": add/multiply different durations |
| | 1031 | |
| | 1032 | e.g., multiply all durations with an increasing list of durations |
| | 1033 | |
| | 1034 | Note: this technique is limited when using integer durations only |
| | 1035 | |
| | 1036 | |
| | 1037 | **** Reverse the duration sequence |
| | 1038 | |
| | 1039 | **** ?? anything like a rhythmic inversion? |
| | 1040 | |
| | 1041 | does that have perceptual relevance? |
| | 1042 | |
| | 1043 | **** Rotation of the duration sequence |
| | 1044 | |
| | 1045 | e.g., last value becomes first etc |
| | 1046 | |
| | 1047 | Note that for motifs that end on a long note (convincing phrasing), this technique can have unconvincing results |
| | 1048 | |
| | 1049 | **** Successivly apply multiple of the techniques above to by and by change motif |
| | 1050 | |