FL Studio Pyton Script to generate Projects

Discussion in 'FL Studio' started by joint05, Nov 27, 2023.

  1. joint05

    joint05 Noisemaker

    Joined:
    Jun 19, 2011
    Messages:
    85
    Likes Received:
    3
    Hello Folks,

    I have this one idea that you could create an AI with Python and thus create countless projects (beats). Does anyone know anything about FL Studio's Python API?
    Is it realistic to program something like that? You would need a lib that can interpret samples and categorize them.
    Imagine I write and just make a beat like "Drake 8am in Charlotte" and the script sets up a project, renders an mp3 and I can listen to the sketch. If I like it, I can finish the project.

    Let me know what do you think?
     
    • Like Like x 2
    • Funny Funny x 1
    • List
  2.  
  3. Thotu

    Thotu Ultrasonic

    Joined:
    Apr 18, 2021
    Messages:
    62
    Likes Received:
    39
    People, as far as I know, make music because they enjoy making music. What is the point of using an AI to make music? Commercial use is okay but I don't really get the point here....
     
    • Like Like x 3
    • Winner Winner x 1
    • List
  4. ArticStorm

    ArticStorm Moderator Staff Member

    Joined:
    Jun 7, 2011
    Messages:
    7,631
    Likes Received:
    3,868
    Location:
    AudioSexPro
    Has FL a API, which can be controlled by Python?

    Similar to what Hexrays IDA with IDA Python has?

    This would be amazing.

    Otherwise i agree with @Thotu - just make music instead of using AI for that.
     
    • Like Like x 2
    • Agree Agree x 1
    • List
  5. RingoTeinibingo

    RingoTeinibingo Newbie

    Joined:
    Nov 27, 2023
    Messages:
    2
    Likes Received:
    0
    This kind of AI project exists already! A Finnish developer-producer (he has PhD in Mathematics, AI and Computer Science) has programmed from scratch a system called AaltoAivoAI, which has analysed Terabytes of audio, music and MIDI, music theory etc, and now it creates music and exportable music projects, virtual instruments, effects etc, plays them, and renders it as audio file if necessary. It can play external instruments and has Ableton Live Link for jamming. You can teach it with your own music to match your own style.

    You can see it in here:

    AaltoAivo UI is shown at 2:18 onwards.
     
    • Interesting Interesting x 3
    • List
  6. canbi

    canbi Kapellmeister

    Joined:
    Jun 12, 2023
    Messages:
    143
    Likes Received:
    50
    not yet mr talentless
     
  7. outsider

    outsider Newbie

    Joined:
    Jul 7, 2020
    Messages:
    18
    Likes Received:
    2
    Could be possible with PyFLP from github
     
  8. djpumppa

    djpumppa Newbie

    Joined:
    Nov 28, 2023
    Messages:
    1
    Likes Received:
    1
    I have beta tested this for several months. It is not final yet, but it is much better than those Google and OpenAI "text-to-audio" solutions. This creates real multitrack projects for each instrument, MIDI, effects and all. Although it can do "text-to-music" and "image-to-music", its biggest potential is in utilizing music theory and working as an "AI music assistant", because it can learn from user material. As far as I understand, the developer is more interested in researching "AI music intelligence" as a concept, than creating some rip-off "AI text-to-something" service.
     
  9. joint05

    joint05 Noisemaker

    Joined:
    Jun 19, 2011
    Messages:
    85
    Likes Received:
    3
    PyFLP seems to be the lib we need.
    Believe me this will be the future. Maybe Image-Line is already working on a something like this.
     
  10. Lois Lane

    Lois Lane Audiosexual

    Joined:
    Jan 16, 2019
    Messages:
    4,724
    Likes Received:
    4,652
    Location:
    Somewhere Over The Rainbow
    If this is the future...
    Then damn...
    I'm glad I'm old

    I'm not getting at all the want of some artifical intelligence to write the music for you, it's like you're both the beta tester for your own demise and welcome the end of musicianship for some odd reason. Somebody please explain why they think not knowing how the create your own art is not a bug but a feature in this scenario down the line? Car mechanics don't mechanic anymore to repair or rebuild engines, they are mere parts changers, jacking into the car's computer and soon will be superfluous when companies transition to robot work that will replace them like in automated automobile factories where the human workforce is now scant in comparison to machines.

    Please fill me in.
     
  11. RingoTeinibingo

    RingoTeinibingo Newbie

    Joined:
    Nov 27, 2023
    Messages:
    2
    Likes Received:
    0
    I have not tested AaltoAivo AI, only followed developer and his progress. I understand that it can create its own virtual instruments like NI Kontakt, so it can multisample existing instruments and create totally new instruments that do not exist IRL. Then it uses its learning in music theory to create multi-track compositions according to the mood (and other parameters) you want. I think he developed this project during Covid lockdown because he was bored! I am very interested to test it when I have time, have to check it in GitHub.
     
  12. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    7,203
    Likes Received:
    3,986
    Location:
    Europe
    I remember a cool extension for FL Studio by an advanced user. About keyswitches and stuff. Also made an equivalent but unfinished for Reaper.
    So it must have an API. I don't know in which language. As you know there's all kind of wrappers/bindings for python so I guess it might exist one, even if not native.
     
  13. ArticStorm

    ArticStorm Moderator Staff Member

    Joined:
    Jun 7, 2011
    Messages:
    7,631
    Likes Received:
    3,868
    Location:
    AudioSexPro
    i think IDA IDA Python plugin design now native. so you have like 3MB of python could would let you access and script all features IDA has. so you can basically automate everything without touching IDA anymore.

    Something like this would be amazing for FL.
    Does Reaper have Python backend to do all that too?
     
  14. joint05

    joint05 Noisemaker

    Joined:
    Jun 19, 2011
    Messages:
    85
    Likes Received:
    3
    I had contact with Image-Line. They dont work on any similar feature or have any plans. So if someone is into python I would love to start a open source project on github.
     
  15. Thotu

    Thotu Ultrasonic

    Joined:
    Apr 18, 2021
    Messages:
    62
    Likes Received:
    39
    Unlike images, I believe that AI will never be able to compete with human in music. And that's because Music is a very different kind of art. Very abstract. No one knows the rules for writing good melodies. No patterns to be analyzed and followed, which is what AI is good at. Great musicians often fail, and that proves it. Everyone here knows how hard it is to make 'good' music. Just 7 notes, but it takes hell a lot of efforts to make good music. I like the way all these things are and I hope it will keep the AI clowns away.
     
  16. Lois Lane

    Lois Lane Audiosexual

    Joined:
    Jan 16, 2019
    Messages:
    4,724
    Likes Received:
    4,652
    Location:
    Somewhere Over The Rainbow
    I hear much uninspired, hack quality lyrics with music that is only as good as the least common denominator and not of any merit. Correspondingly there are ears that like that kind of thing, and although they might like "better music" still will ingest the swill supplied by the aforementioned which amounts to perhaps a billion dollars a year. AI can compete with those who fall into that category. There's a damn good reason that "fix it on the mix" and voice correction software are such merry bedfellows...overall as a percentage of output the quality suffers and AI is beginning to take up the slack and will only become better at doing an equally shitty job for the deaf, dumb and blind folk who like that kind of thing.
     
Loading...
Similar Threads - Studio Pyton Script Forum Date
Maschine Studio select Notes and move them Maschine Today at 5:03 PM
the cover images of all my drum kits are not showing up on FL studio FL Studio Yesterday at 2:37 PM
Kirk Hunter Studios is closing its doors! Software News Yesterday at 6:26 AM
For Sale: FL Studio All Plugins Edition [ALL features and native plugins] Selling / Buying Thursday at 8:35 PM
Sync record and play - Maschine and Studio one Studio One Thursday at 4:44 AM
Loading...