one nite stents




One nite in Belfast (be4 Boris' Brexit)



https://www.belfasttelegraph.co.uk/galleries/nightlife/belfast-nightlife-dsqo-at-filthy-mcnastys-september-19-2019-photos-38518013.html


https://www.belfasttelegraph.co.uk/galleries/nightlife/belfast-nightlife-dsqo-at-filthy-mcnastys-september-19-2019-photos-38518013.html


https://www.belfasttelegraph.co.uk/galleries/nightlife/belfast-nightlife-scratch-mondays-at-limelight-september-30-2019-photos-38551767.html


https://www.belfasttelegraph.co.uk/galleries/nightlife/belfast-nightlife-scratch-mondays-at-limelight-23-september-2019-photos-38530153.html


will Boris kill 'em? will he kill 'em all?
can he, could he? dare he?

ol' people don't care
4 the future of
the young,
do they
?
*

 

One nite in Forestbroel


antitobaccocoalition 1


antitobaccocoalition 2
antitobaccocoalition 3


it's forming







no more killin' myself

word!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

it's formin', too

macode


# Excurso magnittididissimo

from urllib import request
url_requested = request.urlopen('https://tabs.ultimate-guitar.com/tab/alessia_cara/ready_chords_2772376')
if 200 == url_requested.code:
    html_content = str(url_requested.read())
from bs4 import BeautifulSoup
soup = BeautifulSoup(html_content, 'html.parser')

import re

first_element = soup.html
chordelements = []
element = first_element.next_element.next_element.next_element
for i in range(444):
   # print("Element ",i,": ")
   # print(element,"\n")
    element = element.next_element
    type_element = type(element)
    type_element_string = type_element.__name__
    print(type_element_string)
    if type_element_string is 'NavigableString':
        print('Toll!')
        searchstring = element.string
        result = re.match(r'.*\/tab\\.*',searchstring)
        print("Element ",i,": ",result,"\n")
        if result is not None:
            chordelements.append(element)
last_element = element


# In[78]:


len(chordelements)

chordelements[0]

chords = chordelements[0].string
s = chords
replaced = re.sub(r'.*\"content\":(.*)\"revision_id\".*', r'\1', s)
print(replaced)


# In[86]:


len(chordelements)

chordelements[0]

chords = chordelements[0].string
s = chords
replaced = re.sub(r'.*\"content\":(.*)\"revision_id\".*', r'\1', s)
print(replaced)

allchords = re.findall(r'ch\][^\[]+\[\\\\\/ch',replaced)
type(allchords)
len(allchords)

chordlist = []
for i in allchords:
    # print(i,"\n")
    chord = i
    chord_new = re.sub(r'ch\](.*)\[.*',r'\1',chord)
    chord_new = re.sub(r'[\\]+\/.*',r'',chord_new)
    chordlist.append(chord_new)


# In[87]:


chordlist


# In[92]:


for i in range(len(chordlist)):
    print("Nummer: ",i,"    Chord: ",chordlist[i])


# In[105]:


mma_chords = ""
for i in range(len(chordlist)):
    # print("Nummer: ",i,"    Chord: ",chordlist[i])
    mma_chords = mma_chords + str(i+1) + "\t" + chordlist[i] + "\n"
print(mma_chords)


# In[132]:


template_new = "NeuesTemplate"
song_name = "\"Ready\" by Alessia Cara"
mma_temp = "// " + template_new + "\n// " + song_name + "\n\n" + mma_chords


# In[133]:


print(mma_temp)


# In[134]:


print(mma_temp)


# In[135]:


type(mma_temp)


# In[136]:


fileoutname = '//home/zrukkikukki/Dokumente/mma-Files/chord-templates/regular-templates/' + template_new + '.mma'
# print(fileoutname)
w=open(fileoutname, "w")
w.write(mma_temp)
w.close()


# In[118]:


import os
a ="//home/zrukkikukki/Dokumente/mma-Files/chord-templates/regular-templates/"
mma_regulartemplates = os.listdir(a)
mma_regulartemplates


# In[116]:


# Groove-File öffnen

f=open("//home/zrukkikukki/Dokumente/mma-Files/groovelist.txt", "r")
grooves =f.readlines()

for x in grooves:
    print(x)


# In[25]:


type(grooves)


# In[189]:


import random

tempi = ['78','97','111','127','144']
templates = mma_regulartemplates


# In[ ]:


# Dictionary für Akkord-Schiebe

chord_shift_dict = {"C":"C#","C#":"D","Db":"D","D":"D#","D#":"E","Eb":"E","E":"F","F":"F#",                    "F#":"G","Gb":"G","G":"G#","G#":"A","Ab":"A","A":"A#","A#":"B","Bb":"B",                    "B":"C"}


# In[229]:


print(mma_chords)


# In[230]:


import re

def chordshift(chord):
    chord_note = re.sub(r'^([a-zA-Z]{1}[#b]{0,1}).*$',r'\1',chord)
    chord_type = re.sub(r'^[a-zA-Z]{1}[#b]{0,1}(.*)$',r'\1',chord)
    chord_note_new = chord_shift_dict[chord_note]
    chord_new = chord_note_new + chord_type
    return chord_new


# In[231]:


def mma_chords_change(mma_chords):
    mma_chords_new = ""
    for line in mma_chords.splitlines():
        # print("Linie: ",line)
        line_no = re.sub(r'^([0-9]+)\t.*$',r'\1',line)
        line_chord = re.sub(r'^[0-9]+\t(.*)$',r'\1',line)
        line_chord_shifted = chordshift(line_chord)
        # print(line_chord,"Neuer Akkord: ",line_chord_shifted)
        line_new = line_no + "\t" + line_chord_shifted + "\n"
        mma_chords_new = mma_chords_new + line_new
    return mma_chords_new


# In[265]:


def mma_chords_new_2_12list(mma_chords):
    mma_chords_2shift = mma_chords
    mma_chords_new_12list = []
    mma_chords_new_12list.append(mma_chords)
    for i in range(11):
        # print(mma_chords_2shift)
        mma_chords_new = mma_chords_change(mma_chords_2shift)
        mma_chords_new_12list.append(mma_chords_new)
        mma_chords_2shift = mma_chords_new
        # print(mma_chords_new)
    return mma_chords_new_12list


# In[269]:


def mma_chords_renew(mma_chords):
    import random
    mma_chords_new_12list = mma_chords_new_2_12list(mma_chords);
    mma_chords_choice = random.choice(mma_chords_new_12list);
    return mma_chords_choice


# In[270]:


import re
import os

for y in grooves:
    groove = y.rstrip()
    tempo = random.choice(tempi)
    # print(groove)
    # print(tempo)
    mma_tempo_groove = "Tempo " + tempo + "\nGroove " + groove + "\n"
    template = random.choice(templates)
    # print(template)
    f=open("//home/zrukkikukki/Dokumente/mma-Files/chord-templates/regular-templates/"+template, "r")
    mma_temp = ""
    if f.mode == 'r':
        mma_temp =f.read()
        # print(mma_temp)
    mma_header = ""
    mma_chords = ""
    mma_name = ""
    for line in mma_temp.splitlines():
        # print("Linie: ",line)
        if re.match(r'^//.*$',line):
            mma_header = mma_header + line + "\n"
        if re.match(r'^[0-9]+.*$',line):
            mma_chords = mma_chords + line + "\n"
        if re.match(r'^//.*by.*$',line):
            mma_name = line
            mma_name = re.sub(r'[^a-zA-Z]+',r'',mma_name)
    # print(mma_header)
    # print(mma_tempo_groove)
    # print(mma_chords)
    # print(mma_name)
   
    # mma_chords ändern!
    mma_chords_new = mma_chords_renew(mma_chords)
   
    mma_temp_new = mma_header + "\n" + mma_tempo_groove + "\n" + mma_chords_new
    # print(mma_temp_new)
    fileoutname_mma = '//home/zrukkikukki/Dokumente/mma-Files/temp_mma/' + mma_name + "_" + groove + "bpm" + tempo + '.mma'
    print(fileoutname_mma)
    w=open(fileoutname_mma, "w")
    w.write(mma_temp_new)
    w.close()


# In[271]:


import os
a ="//home/zrukkikukki/Dokumente/mma-Files/temp_mma/"
mma_files = os.listdir(a)
mma_files


# In[272]:


for dat in mma_files:
    print(dat)


# In[273]:


import os

for dat in mma_files:
    myCmd = 'mma //home/zrukkikukki/Dokumente/mma-Files/temp_mma/' + dat
    print(myCmd)
    os.system(myCmd)


# In[274]:


myCmd = 'mv //home/zrukkikukki/Dokumente/mma-Files/temp_mma/*.mid //home/zrukkikukki/Dokumente/mma-Files/temp_midi/'
os.system(myCmd)


# In[275]:


b ="//home/zrukkikukki/Dokumente/mma-Files/temp_midi/"
midi_files = os.listdir(b)
midi_files


# In[276]:


for midi in midi_files:
    mp3 = re.sub(r'(.*)\.mid',r'\1.mp3',midi)   
    print(mp3)
    myCmd = 'musescore -o //home/zrukkikukki/Dokumente/mma-Files/temp_mp3/' + mp3 + ' //home/zrukkikukki/Dokumente/mma-Files/temp_midi/' + midi
    print(myCmd)
    os.system(myCmd)

Out )Outcut(


ReadybyAlessiaCara_50srockbpm97.mid
ReadybyAlessiaCara_60srockbpm144.mid
ReadybyAlessiaCara_68marchbpm144.mid
ReadybyAlessiaCara_68swingbpm97.mid
ReadybyAlessiaCara_8beatbpm111.mid
ReadybyAlessiaCara_afro-cubanbpm111.mid
ReadybyAlessiaCara_arpeggio68bpm97.mid
ReadybyAlessiaCara_arpeggiowaltzbpm144.mid
ReadybyAlessiaCara_ballad128bpm144.mid
ReadybyAlessiaCara_ballad68bpm127.mid
ReadybyAlessiaCara_balladbpm127.mid
ReadybyAlessiaCara_basicrockbpm97.mid
ReadybyAlessiaCara_bebopbpm127.mid
ReadybyAlessiaCara_beguinebpm127.mid
ReadybyAlessiaCara_bigbandbpm78.mid
ReadybyAlessiaCara_bluefolkbpm111.mid
ReadybyAlessiaCara_bluegrassbpm144.mid
ReadybyAlessiaCara_blues128bpm78.mid
ReadybyAlessiaCara_bluesbpm127.mid
ReadybyAlessiaCara_boggiewoggiebpm111.mid
ReadybyAlessiaCara_bolerobpm127.mid
ReadybyAlessiaCara_boneymbpm127.mid
ReadybyAlessiaCara_bossanovabpm97.mid
ReadybyAlessiaCara_broadwaybpm144.mid
ReadybyAlessiaCara_broadwaywaltzbpm78.mid
ReadybyAlessiaCara_bubblerockbpm97.mid
ReadybyAlessiaCara_bvfunkbpm144.mid
ReadybyAlessiaCara_bwmarchbpm78.mid
ReadybyAlessiaCara_calypsobpm144.mid
ReadybyAlessiaCara_chachabpm78.mid
ReadybyAlessiaCara_charlestonbpm97.mid
ReadybyAlessiaCara_countrybluesbpm127.mid
ReadybyAlessiaCara_countryswingbpm144.mid
ReadybyAlessiaCara_countrywaltzbpm111.mid
ReadybyAlessiaCara_cubanguitarbpm127.mid
ReadybyAlessiaCara_descendingjazzbpm97.mid
ReadybyAlessiaCara_desertbpm97.mid
ReadybyAlessiaCara_dixiebpm144.mid
ReadybyAlessiaCara_dixiemarchbpm111.mid
ReadybyAlessiaCara_dsoulbpm97.mid
ReadybyAlessiaCara_easyswingbpm78.mid
ReadybyAlessiaCara_evansishbpm78.mid
ReadybyAlessiaCara_fastbluesbpm127.mid
ReadybyAlessiaCara_fastjazzwaltzbpm97.mid
ReadybyAlessiaCara_fastswingbpm78.mid
ReadybyAlessiaCara_fastwaltzbpm127.mid
ReadybyAlessiaCara_folkballadbpm111.mid
ReadybyAlessiaCara_folkbpm111.mid
ReadybyAlessiaCara_folkrockbpm127.mid
ReadybyAlessiaCara_foxtrotbpm144.mid
ReadybyAlessiaCara_frenchwaltzbpm127.mid
ReadybyAlessiaCara_guitarballadbpm144.mid
ReadybyAlessiaCara_gypsyjazzbpm97.mid
ReadybyAlessiaCara_hillcountrybpm127.mid
ReadybyAlessiaCara_hymnbpm78.mid
ReadybyAlessiaCara_jazzcombobpm111.mid
ReadybyAlessiaCara_jazzguitarbpm78.mid
ReadybyAlessiaCara_jazzrhumbabpm78.mid
ReadybyAlessiaCara_jazzrockbpm111.mid
ReadybyAlessiaCara_jazzwaltzbpm127.mid
ReadybyAlessiaCara_jivebpm97.mid
ReadybyAlessiaCara_latinwaltzbpm127.mid
ReadybyAlessiaCara_lfusionbpm127.mid
ReadybyAlessiaCara_lighttangobpm78.mid
ReadybyAlessiaCara_lullabybpm111.mid
ReadybyAlessiaCara_mambobpm78.mid
ReadybyAlessiaCara_marchbpm127.mid
ReadybyAlessiaCara_mellowjazzbpm144.mid
ReadybyAlessiaCara_merenguebpm78.mid
ReadybyAlessiaCara_metronome3bpm97.mid
ReadybyAlessiaCara_metronome68bpm111.mid
ReadybyAlessiaCara_metronome6bpm78.mid
ReadybyAlessiaCara_modernjazzbpm127.mid
ReadybyAlessiaCara_modernjazzwaltzbpm127.mid
ReadybyAlessiaCara_nitejazzbpm144.mid
ReadybyAlessiaCara_pianoballadbpm111.mid
ReadybyAlessiaCara_polkabpm78.mid
ReadybyAlessiaCara_popballadbpm144.mid
ReadybyAlessiaCara_popspiritualbpm97.mid
ReadybyAlessiaCara_quickstepbpm127.mid
ReadybyAlessiaCara_ragtimebpm97.mid
ReadybyAlessiaCara_rhumbabpm127.mid
ReadybyAlessiaCara_rockballadbpm111.mid
ReadybyAlessiaCara_rockwaltzbpm78.mid
ReadybyAlessiaCara_salsabpm78.mid
ReadybyAlessiaCara_sambabpm78.mid
ReadybyAlessiaCara_showtunebpm97.mid
ReadybyAlessiaCara_shuffleboggiebpm78.mid
ReadybyAlessiaCara_skabpm144.mid
ReadybyAlessiaCara_slowbluesbpm78.mid
ReadybyAlessiaCara_slowbolerobpm111.mid
ReadybyAlessiaCara_slowbroadwaybpm111.mid
ReadybyAlessiaCara_slowcountrybpm111.mid
ReadybyAlessiaCara_slowjazzbpm144.mid
ReadybyAlessiaCara_slowspiritualbpm127.mid
ReadybyAlessiaCara_softrockbpm111.mid
ReadybyAlessiaCara_softshoebpm127.mid
ReadybyAlessiaCara_sonbpm127.mid
ReadybyAlessiaCara_spiritualbpm111.mid
ReadybyAlessiaCara_stringballadbpm127.mid
ReadybyAlessiaCara_strutbpm127.mid
ReadybyAlessiaCara_swingbpm144.mid
ReadybyAlessiaCara_tangobpm144.mid
ReadybyAlessiaCara_trancebpm97.mid
ReadybyAlessiaCara_twistbpm78.mid
ReadybyAlessiaCara_vienesewaltzbpm111.mid
ReadybyAlessiaCara_waltzbpm127.mid
ReadybyAlessiaCara_westernswingbpm78.mid
ReadybyAlessiaCara_zydecobpm127.mid




10 x-amples


https://drive.google.com/file/d/1dP1hSpqI3MLF6bsZ-dlxiG5O1UdI0EJR/view?usp=sharing
https://drive.google.com/file/d/1CvZ6e3jZTAlCzHe3wjhenhiQbBHfHM0Y/view?usp=sharing
https://drive.google.com/file/d/1DitCmUqEMOvPSI0z_jEsC2YgjUUKZgb_/view?usp=sharing
https://drive.google.com/file/d/1ysSJ9J4OW_Y_iIbfECV6_P8Qjbeke2Mr/view?usp=sharing
https://drive.google.com/file/d/1j_9klA9gOdNZjCIR-9jpvU_7Xx-LCrYO/view?usp=sharing
https://drive.google.com/file/d/1_EMwUFT6hh7r6y4HUAHHtN9PzKExzpvM/view?usp=sharing
https://drive.google.com/file/d/1VVhXgPjNr6yfVN_x66m_b1Znci6u2D5P/view?usp=sharing
https://drive.google.com/file/d/1urSM-irc_9058-a2EPAah-TAZLCFKk_Y/view?usp=sharing
https://drive.google.com/file/d/1hNJVdTL12P4fnzkGA2ynuulcfoMpbWBz/view?usp=sharing
https://drive.google.com/file/d/1z5CwxSxCdw2uOW2gVE7CSK9HNY_TPtz5/view?usp=sharing





* I weiß es not. Die Worte passen einfach nur hier in meine 'Dramaturgie', weiter ist nix.

Kommentare

Beliebte Posts aus diesem Blog

·

Es brennt.

Bye, bye Nord Stream 2!