Coder Social home page Coder Social logo

pythondancer's Introduction

A port of https://github.com/ncdxncdx/FunscriptDancer to python

The UI running

Run it now by downloading the latest release exe!

Or run it like

git clone https://github.com/NodudeWasTaken/PythonDancer
cd PythonDancer
pip install -r requirements.txt

python -m dancer.ui
python -m dancer.cli -h

CLI Interface

> PythonDancer.exe --cli -h
usage: libfun [-h] [--out_path OUT_PATH] [--csv] [-m] [-c] [-a] [-y] [--no_plp] [--cli] [--auto_pitch [0-100]]
              [--auto_speed [0-400]] [--pitch [-200-200]] [--energy [0-100]] [--overflow [0-2]]
              [audio_path]

Creates funscripts from audio

positional arguments:
  audio_path            Path to input media (default: None)

options:
  -h, --help            show this help message and exit
  --out_path OUT_PATH   Path to export funscript (default: None)
  --csv                 Export as CSV instead of funscript (default: False)
  -m, --heatmap         Export heatmap (default: False)
  -c, --convert         Automatically use ffmpeg to convert input media (default: False)
  -a, --automap         Automatically find suitable pitch and energy values (default: False)
  -y, --yes             Overwrite funscript (default: False)
  --no_plp              Disable PLP (default: False)
  --cli                 Use commandline (default: False)
  --auto_pitch [0-100]
  --auto_speed [0-400]
  --pitch [-200-200]
  --energy [0-100]
  --overflow [0-2]

pythondancer's People

Contributors

nodudewastaken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pythondancer's Issues

Intensity show

The funscript chart should show the intensity as a color somehow

Progress/status

The UI should show how far the loading process is
EDIT
QT build does this, but not good enough

Update from python 3.8

Some module only had ready to go binaries for python 3.8, cant remember which one though
I think it was llvmlite version need for librosa?, not sure
EDIT: It was numba
Python 3.11 build is blocked by missing llvmlite.dll

Ffmpeg detection

Currently i depend on ffmpeg
Either move away from ffmpeg, check and download if missing, or just warn that its missing and exit

Automap instability

libfun.py:151: RuntimeWarning: invalid value encountered in divide
Probably some NAN value causing weirdness

OFS Addon

It would be nice to have OFS integration

UI is ugly

tkinter is ugly
matplotlib is slow
the tkinter+matploblib combo should be changed to something like wxPython/QT/GTK

libfun autoscale

I could auto adjust offset to center around 0-20, and then a scale to an average intensity fully automatically.
I should do that.
It could also become a dumb autoscripter if i did that.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.