Melodeon.net Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new melodeon.net forum

Pages: [1]   Go Down

Author Topic: AI generated tunes  (Read 2943 times)

0 Members and 1 Guest are viewing this topic.

Little Eggy

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 843
AI generated tunes
« on: November 13, 2024, 09:58:39 AM »

A Border Morris pal of mine - mainly dancer but also a musician - asked MS Copilot to write a tune - here's the result.
A few tweaks needed - but very interesting

X: 1
T: A Stroll Through the Meadow
M: 4/4
L: 1/8
K: C
C | "C"G2 G2 G3 A | "G7"B2 G2 "C"c2 A2 | "F"A2 A2 "C"G2 F2 | "G7"G2 G2 "C"C4 :|
C | "C"E2 E2 "Am"C2 D2 | "G7"E2 G2 "C"G4 | "F"A2 A2 "C"c2 d2 | "G7"B2 G2 "C"C4 :|
 
Worked in EasyABC – quite scary really !
 
So I asked it for a Morris Dance in ABC format …
 
X: 1
T: The Morris Jig
M: 6/8
L: 1/8
K: D
D | "D"D2 A B2 A | "G"B2 G A2 F | "A"E2 A c2 A | "D"B2 A F2 D |
D | "D"D2 A B2 A | "G"B2 G A2 F | "A"E2 A c2 A | "D"B2 A D3 :|
f | "D"A2 d f2 d | "G"d2 B G2 B | "A"c2 e a2 e | "D"f2 d A2 f |
"D"A2 d f2 d | "G"d2 B G2 B | "A"c2 e a2 e | "D"f2 d A2 d |
d | "D"A2 d f2 d | "G"d2 B G2 B | "A"c2 e a2 e | "D"f2 d A2 f |
"D"A2 d f2 d | "G"d2 B G2 B | "A"c2 e a2 e | "D"f2 d A3 :|
 
Logged

ju

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 174
Re: AI generated tunes
« Reply #1 on: November 13, 2024, 01:24:13 PM »

The only thing I know about AI is that I don’t like it !
Logged

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: AI generated tunes
« Reply #2 on: November 13, 2024, 05:31:38 PM »

See:

https://folkrnn.org/

for a tool to generate tunes using a recurrent neural network.

I've used it several times over the years, but this is a tune I generated last year - cleaned up a little:

Code: [Select]
X:10408
T:Just for Ducks
%'Just for Ducks' - in honour of my favourite boid - The Duck...
%A lightly edited tune generated at: https://folkrnn.org/
T:Please do not feed bread/cake/biscuits to ducks - it's very bad for them!
%The RNN properties were thesession_with_repeats with seed 740042 and temperature 1.
%The prime tokens were M:6/8 K:Cmix. Generated on 08/01/2023, 06:13:12.
%Rudimentary accompaniment chords generated by ABCMus, setting 0.
C:Computer generated folk music project https://folkrnn.org/
M:6/8
L:1/8
Q:3/8=90
R:Jig
K:Cmix
|: f | "C" gag "C" ecc | "Gm" Bcd "C" e2 B | "Gm" GBd "C" Ged | "C" ccc "Gm" gbd' |
"C" gag "C" ecB | "C" GBc "Gm" d2 c | "Bb" Bdf "C" edc | "C" Gcc "C" c2 :|
|: G | "C" egg "C" c'ge | "C" Gce "Gm" d2 c | "Bb" Bdf "C" e2 c | "Gm" dcB "C" G2 c |
"C" egg "C" egc' | "C" gec "C" c2 d | "C" e2 f "C" =edc | "C" Gcc "C" c2 :|

Last time I looked, Bob Sturm was working at the Technical University, Stockholm.
« Last Edit: November 13, 2024, 05:33:12 PM by Roger Hare »
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

Little Eggy

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 843
Re: AI generated tunes
« Reply #3 on: November 14, 2024, 09:38:52 AM »

Quite a neat tune. Sounds like it was written for a highland dance or is that just me?
Thanks for sharing it.
Logged

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: AI generated tunes
« Reply #4 on: November 14, 2024, 11:07:36 AM »

Quite a neat tune. Sounds like it was written for a highland dance or is that just me?
Thanks for sharing it.
Ah! No. Thereby hangs a (duck's) tail...

We have a 'hidden pond' in one of our local allotments. The resident ducks make an occasional foraging trip outside the allotments. One morning, I found a friend feeding biscuits to one of these escapees outside the local gym'. I generated the tune and sent it to him as a reminder not to feed the ducks with stuff which isn't good for them...

I've a few of these tunes. I called the first one I generated '1166 Hornpipe', because it was the 1166th tune generated by the program after it went public...

This one was generated not by me but (I think) by Bob Sturm who was the project leader, and is a melodeon player:

Code: [Select]
X:23714
T:Windy Canal, A
%A lightly edited tune generated at: https://folkrnn.org/
%Rudimentary accompaniment chords generated by ABCMus, setting 0.
C:folk-rnn (v3) + Bob L. Sturm
N:https://highnoongmt.wordpress.com/2018/01/05/volumes-1-20-of-folk-rnn-v1-transcriptions/
N:https://highnoongmt.wordpress.com/2017/12/27/making-sense-of-the-folk-rnn-v2-model-part-1/
M:4/4
L:1/8
Q:1/4=125
R:Hornpipe
P:AB
K:Ddor
P:A
|: "Dm" ADDE "F" F2 Ac | "G" GA (3BAG "Am" cBAG | "Dm" AD D2 FEDC | "G" DEGA "Em" BGEG |
"Dm" AD D2 FEFA | "G" GBcd "Am" cedc | "Dm" AGAB "Am" cBAG | "Am" AcGE "Dm" D2 C2 :|
P:B
|: "Dm" dcde "Am" c2 AG | "Dm" Addc deed | "Am" ccde cAGA | "Dm" AGFG D4 |
"Dm" dcde "Am" c2 AG | "Dm" Adde "C" cdeg | "Dm" fedf "Am" edcA | "C" GECE "Dm" D2 C2 :|
« Last Edit: November 14, 2024, 11:19:29 AM by Roger Hare »
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

Sharon

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 165
Re: AI generated tunes
« Reply #5 on: November 18, 2024, 07:21:38 PM »

The only thing I know about AI is that I don’t like it !

Mmm AI definitely has it's place and can be a really useful tool (I used to be a computer programmer, and my partner did a masters in AI waaaay before it was a big thing) - for example, I have a friend who works in medical research and has used AI to help look at scans to detect cancer and does it very well!

What I really dislike is the increasing appearance of AI generated images, anything from fake crocheted / knitted things which would be impossible to actually make (but give people an unrealistic idea of what this - and many other crafts - look like), to fake landscapes etc etc.

One of my big reasons for my dislike is that AI needs lots of data to process in order to 'learn' and there is no easy way to guarantee that this doesn't involve stealing people's work, be it a photograph, piece of art or craft etc. Pretty rubbish for artists/designers etc who have their hard work used without permission. And we forget the increasing environmental impact of all the energy required to store all the data etc.

Also, it is becoming increasingly difficult to spot these AI generated images and I don't really like the feeling that every time an image pops up in my feed I have to look closely and decide whether or not it's real. It might seem like fun but I don't think it is tbh. and this will only get more difficult as the AI engines get more sophisticated.

So, I have pretty much the same feelings about AI generated music. Where is the underlying data coming from? Has permission been given (yes, I know older music will be out of copyright)? If the resulting music is very clearly labelled as AI generated then at least that's something I guess.

Also - tbh I just don't understand why you would want to do this. I am a massive geek - 99% of the time I love tech and I guess I understand the curiosity of having a play with this but do we really want music creation to go this way? Where is the creativity in using AI to do this? Do you really want to hear a tune and not know if it's written by a person or generated by AI? Where's the joy in that? Where's the personality of the tune / the interesting or fun story behind it etc?

AI can be amazing - but I really don't feel it should have a place in the arts. Maybe that means I'm definitely getting old......
Logged

Dick Rees

  • Neo-Luddite
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1640
Re: AI generated tunes
« Reply #6 on: November 18, 2024, 08:25:19 PM »

Have you seen pictures of birds roosting on power lines?  5 wires like a musical staff, birds for the notes...

https://youtube.com/shorts/d1nudGIhDVw?si=U_Ok92aPf_VQ9Ka7
« Last Edit: November 18, 2024, 10:06:25 PM by Dick Rees »
Logged
"You're making the wrong mistakes."
...Thelonius Monk

"I never made one of my discoveries through the process of rational thinking."
...Albert Einstein

"If Art Tatum took up classical music seriously, I'd quit my job the next day."
...Vladimir Horowitz

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: AI generated tunes
« Reply #7 on: November 19, 2024, 05:13:31 AM »

Mmm AI definitely has it's place and can be a really useful tool (I used to be a computer programmer, and my partner did a masters in AI waaaay before it was a big thing) - for example, I have a friend who works in medical research and has used AI to help look at scans to detect cancer and does it very well! etc...
I agree pretty much with all of that.

I've never been actively involved with AI myself, but there's always been an AI practitioner in the next corridor, or on the floor above, or in the next building, so I've always been 'aware' of AI. Except in certain specialised areas (eg: medical image processing), it often seems to have promised more than it delivers (I spent some time as a medical physicist, processing nuclear medicine images so they could be more easily interpreted - ~40 years ago).

The program I highlighted in an earlier post is not an AI program (as I understand AI), it is a program which uses learning techniques (recursive neural networks) to generate its tunes. The database it uses is basically the 40,000 (or so) tune settings held in the database used by 'The Session'. Even that is 'problematic' - for every 'good' tune it generates, it generates one which isn't really up to scratch, and even the 'good' ones require a bit of massaging by a human bean...
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

Clive Williams

  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3936
    • Home Page
Re: AI generated tunes
« Reply #8 on: December 02, 2024, 09:55:39 AM »

Heh, I've got a PhD, believe it or not, in Artificial Intelligence. Real world tech far, far, surpassed my research when things like Siri and the Alexa launched - in fact, they make my research (in a particularly unused dark alley of natural language understanding) look spectacularly futile. Some chaps worked in the corridor 'over there' on things like this using neural networks using Medical Research Council grants - something I wasn't particularly impressed with, since I really didn't think it had any chance of making it out of the theory world and into practical applications. Shows what I know.

But anyway, AI tunes. Funny thing - my first attempts a few months ago were pretty decent. In fact I even included one as a nomination for TOTM (it didn't win). Along comes the New Tunes theme of a couple of months ago, and I thought, I know I'll generate something, and use that. Universally rubbish. Now what changed in that couple of months? I don't know. Perhaps it was the AI getting trained on different data, or perhaps it was my expectations of what it could do.

nigelr

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 526
Re: AI generated tunes
« Reply #9 on: December 02, 2024, 10:30:33 AM »

Universally rubbish. Now what changed in that couple of months? I don't know. Perhaps it was the AI getting trained on different data, or perhaps it was my expectations of what it could do.
I was reading an interesting article a few days ago about an issue observed when LLM and other AI models start to be trained on data generated by other models rather than human created content.  There is a noticeable and rapid collapse in the quality of the results, which are arguably poor and hallucinogenic in the first place.  "Model collapse" has been coined as a new term - and should really have been expected as a consequence of recursive garbage in, garbage out!
Logged
DB Oakwood Super 2 (D/G), Club II (D/G Will Allen layout), Erika (Bb/Eb) and an HA114 in C

Theo

  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 14475
  • Hohner Club Too
    • The Box Place
Re: AI generated tunes
« Reply #10 on: December 02, 2024, 10:43:54 AM »

Not AI tunes, but eBay now offers to generate an A1 description of your item for sale.  As far as melodeons are go concerned they are pretty much useless,  mostly stock phrases with a few relevant words such as colour and makers name.  Very easy to spot when you know what to look for.  That’s quite useful for a potential buyer because it allows you to spot sellers who don’t have any understanding of what they are selling.
Logged
Theo Gibb - Gateshead UK

Proprietor of The Box Place for melodeon and concertina sales and service.
See my YouTube channel  for videos on repair and tuning

Bill_S

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 267
Re: AI generated tunes
« Reply #11 on: December 02, 2024, 11:21:59 AM »

The AI eBay descriptions infuriate me. Tells you nothing of importance and just fills out the item title with  inconsequential fluff.

I always end up sending the seller a message telling them the AI is useless and asking questions. I wonder how many other people do the same and if it ever occurs to the seller that, had they done a proper description in the first place, they'd have saved energy overall.

But there we are, most of these labour/brain saving things tend to have a higher cost in the long run. It's the technological paradox.
Logged

Bill_S

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 267
Re: AI generated tunes
« Reply #12 on: December 02, 2024, 11:27:41 AM »

As for AI generated tunes; to my mind, music is human. There's something weird and ersatz about AI music, and art in general. Further, when you can't be sure if a person or computer has generated something, it leads to distrust. It is to be hoped that this may prompt people to seek out live formats, either playing themselves or watching.

The birds thing is cool though!
Logged

Clive Williams

  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3936
    • Home Page
Re: AI generated tunes
« Reply #13 on: December 02, 2024, 10:23:43 PM »

On a similar theme, has anyone ever got a convincing picture of a melodeon out of an AI picture generator? I've *never* managed it - I get either piano accordions, or monster-mutant-bandoneon things.

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: AI generated tunes
« Reply #14 on: December 03, 2024, 05:47:09 AM »

...The birds thing is cool though!
If that comment is referring the one I posted earlier, yes I was pretty chuffed with that one myself (he
said, modestly). I have another duck tune - 'The Duckling has Landed' - generated after I received my
super Duckling concertina from Flying Duck Concertinas (sadly, no longer operating). Any similarity
between this tune and the theme music for 'The Eagle has Landed' is entirely imaginary...

Code: [Select]
X:5406
T:Duckling has Landed, The
%'The Duckling has Landed' - generated to celebrate the arrival of my lovely Duckling concertina...
%a computer generated folk tune using the folk-rnn program at: https://folkrnn.org/
%Rudimentary accompaniment chords generated by ABCMus, setting 0.
C:Computer generated folk music project https://folkrnn.org/ + RJH
M:6/8
L:1/8
Q:3/8=100
R:Jig
K:Gmaj
|: "G" DEG GAB | "C" c3 dBG | "G" GAB dGG | "Am" ABA AGE |
"G" DEG GAB | "C" c3 edB | "G" GBd cBA | "G" BGG G3 :|
|: "G" B3 dBG | "C" c3 BAG | "Em" GBd efg | "Bm" fed cBA |
"G" BAB dBG | "G" cBc dBG | "G" G2 B ABc | "G" BGF G3 :|
%The RNN properties were thesession_with_repeats with seed 237205 and temperature 1.
%The prime tokens were M:6/8 K:Cmaj.
%Generated on 05/05/2023, 08:54:03.

I have a short list of whimsically humorous tune titles, for which I will be trying to generate tunes
at some time in the future. It keeps me off the streets and out of the public houses, if nothing else...
« Last Edit: December 03, 2024, 05:55:55 AM by Roger Hare »
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

Mcgrooger

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 833
  • Northern Roots
Re: AI generated tunes
« Reply #15 on: December 06, 2024, 01:00:05 PM »

I find the idea of the use of AI in any creative or artistic sphere too depressing for words.  :'(
Logged

Lester

  • MADman
  • Mods and volunteers
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 9327
  • Hohners'R'me
    • Lester's Melodeon Emporium and Tune-a-Rama
Re: AI generated tunes
« Reply #16 on: December 06, 2024, 02:14:06 PM »

How about a whole AI generated tradition, thanks to Ben Potten

Sorry it's a Facebook link

Mcgrooger

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 833
  • Northern Roots
Re: AI generated tunes
« Reply #17 on: December 06, 2024, 02:22:58 PM »

How about a whole AI generated tradition, thanks to Ben Potten

Sorry it's a Facebook link

I don't do Facebook - probably as well by the sound of it!
Logged

ju

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 174
Re: AI generated tunes
« Reply #18 on: December 06, 2024, 07:58:06 PM »

I find the idea of the use of AI in any creative or artistic sphere too depressing for words.  :'(
Yes I completely agree with you . What next ? metal Mickey in the Morris side !!!!😱
Logged
Pages: [1]   Go Up
 


Melodeon.net - (c) Theo Gibb; Clive Williams 2010. The access and use of this website and forum featuring these terms and conditions constitutes your acceptance of these terms and conditions.
SimplePortal 2.3.5 © 2008-2012, SimplePortal