Commits

uniqx committed 181ef91

some progress for unitz algo.

Comments (0)

Files changed (2)

algorithmic-oneline-music/unitz7.py

+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2011 uniqx
+#   Metalab, 1010 Vienna, Austria
+#
+# the algorithms and music generated by them are available to you under
+# following licence:
+#
+#  Creative Commons Attribution-ShareAlike 3.0 Austria License
+#  http://creativecommons.org/licenses/by-sa/3.0/at/
+#
+
+import oneline
+import math
+
+unitz = lambda t: (t|t>>7|t>>6)*(t|t>>7) ^ (t|t>>4|t>>7)*(t|t>>3)%32 & (t|t>>4>>12)
+
+if __name__ == '__main__':
+  
+  oneline.make_wav(func=unitz,filename='unitz.wav')
+  
+
+

algorithmic-oneline-music/unitz8.py

+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2011 uniqx
+#   Metalab, 1010 Vienna, Austria
+#
+# the algorithms and music generated by them are available to you under
+# following licence:
+#
+#  Creative Commons Attribution-ShareAlike 3.0 Austria License
+#  http://creativecommons.org/licenses/by-sa/3.0/at/
+#
+
+import oneline
+import math
+
+unitz = lambda t: (t|t>>7|t>>6)*(t|t>>7) ^ (t|t>>4|t>>7)*(t|t>>3)%32 & (t|t>>4>>12) | (t&2**8)>>5
+
+if __name__ == '__main__':
+  
+  oneline.make_wav(func=unitz,filename='unitz.wav')
+  
+
+