Git Product home page Git Product logo

pat's People

Contributors

dependabot[bot] avatar evanshriner avatar tnewman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pat's Issues

GitHub Actions

As a PAT developer, I want to setup GitHub actions, so that PAT is built automatically and repeatably (reducing my effort).

Native Mac OSX Playback

As a Mac OSX developer, I want PAT play back audio using Core Audio, so that I can use PAT without setting up third party C libraries.

PAT Next Gen

The goal of PAT has always been to enable an easy, cross platform, cross language audio playback library. PAT was designed to abstract over the details of decoding and playing back audio, which usually involves interfacing with C APIs. PAT currently provides a C library to provide a simple API that can be integrated with other programming languages easily. The C library uses ffmpeg behind the scenes to provide cross platform playback.

While PAT currently provides cross-platform audio playback for Python and NodeJS, two key issues have come up:

  1. Integrating the C library's CMake build system into other programming languages is not straightforward and creates friction during development.
  2. The use of ffmpeg makes PAT hard for end users to setup on some platforms. PAT is easy to setup on Linux, but it is difficult to setup on other platforms, specifically Windows. Bundling ffmpeg with PAT is problematic due to its size.

To solve these issues, I am kicking off the PAT Next Gen project with the following goals:

  1. Preserve the existing PAT APIs in C, NodeJS, and Python.
  2. Build the C library with native language build tools (GYP for Node and setup.py for Python).
  3. Provide OS native binaries on package registries, so end users can use PAT without a C compiler. This will require setting up CI/CD for the project.

Java Support

PAT should support Java through JNI.

Java expects pre-built shared libraries, so these will need to be bundled for every supported platform.

Node GYP Build

As a Node developer, I want PAT to use a GYP build, so that I can build the project using the native Node build tools that I am familiar with.

Audio Decoder Memory Leak

pat_decode.c contains a memory leak on line 51. The decoder should be freed even in the case of error.

Rust Rewrite

rust-ac-ffmpeg provides a safe wrapper around FFmpeg. This library could be greatly simplified if it were ported to Rust.

unable to import pypat (getting errors)

got the following error when importing pypat using anaconda environment
import _pypat
Exception: Could not open audio device. Audio playback is unsupported on this
when i use normal python3 with terminal i get this:
import _pypat
ImportError: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined symbol: cairo_tag_end
I have made sure I have SDL2,ffmpeg installed. what could've caused this ?
my code is simply import pypat

Edit: It would be better for me if i can solve this for anaconda.

PyPy Support

As a Python developer, I want pat to officially support PyPy, so that I can choose to use a higher performance Python implementation if I choose.

Acceptance Criteria

  1. pypat works with pypy3 without modification
  2. pypat is tested with pypy3 in CI

Python setup.py Build

As a Python developer, I want PAT to be built with setup.py, so that I do not need to install additional development tools.

Native Windows Audio Playback

As a Windows developer, I want PAT play back audio using Windows Media Foundation, so that I can use PAT without setting up third party C libraries.

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.