YukoFurry / PreSonus-Atom-FL-Studio-Script

FL Studio midi script for the PreSonus Atom Pad controller
3 stars 1 forks source link

Atom connectivity #2

Open VaporingPrism24 opened 1 year ago

VaporingPrism24 commented 1 year ago

Hi, when I put the script in the hardware file, and select it by the MIDI controller type, it stops working, like the software (FL Studio 20) doesn't recognize the input anymore. If I select back the controller type to generic, it starts work again, but without the script ); . Can u pls help me, thankyou

YukoFurry commented 1 year ago

What's the 'Port' and 'Omni preview' channel that you set for the Atom? I personally have Port set to 1 and Omni preview set to 2 for my personal use. This might interfere with other MIDI-Controllers you have in use.

pverdu1 commented 1 year ago

Hello, I'm having the exact same problem. I've been messing around with the debug options to see if I could fix it, but nothing. If you open the script output viewer, it gives you an error when trying to initialize the scrip:

            ModuleNotFoundError: No module named 'playlist'

I messed around a little with the script and turns out this error shows up for all the lines in the import section. So I guess the program is unable to import all that information so the script does nothing. Did you have any similar issues when programming this? I've tryied to find a solution to this problem but seems to be too specific, and the information provided by the image-line manuals don't go that far.

By the way thanks a lot for the hard work, mapping in FL Studio is a pain.

YukoFurry commented 9 months ago

Hey! Sorry for the late reply. What FL-Studio much likely gives you the error for is the import function i called. In order for some of the commands executed to work the computer needs to know what the commands do, so I call a library. If you edit the .py file (Documents>Image-Line>FL Studio>Settings>Hardware>PreSonus Atom>device_PreSonus Atom.py) and remove the line 7 "import playlist" in your text editor program of your choice (editor, notepad++, etc) it should work. Again sorry for the late reply, hope it still helps!

YukoFurry commented 9 months ago

On a side note, what FL-Studio version are you using? I am on Version 20.8.4 Build 2576. Newer versions might introduce changes to code requirements. If I know your version I might be able to send an individualized fix.