cpal
processing
Our great sponsors
cpal | processing | |
---|---|---|
11 | 456 | |
2,419 | 6,448 | |
3.5% | 0.2% | |
7.8 | 0.0 | |
about 1 month ago | 4 months ago | |
Rust | Java | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cpal
-
What's everyone working on this week (22/2023)?
debugging this nightmare bc its blocking my hobby project. by far the most fucked up issue ive encountered since i started rust.
- Nannou – An open-source creative-coding framework for Rust
-
Creating an Audio File Player from scratch
There is a cross-platform audio library for Rust: cpal https://github.com/rustaudio/cpal
-
Read the voice from the microphone for accessibility
cpal crate should work fine for this use case, though it might be unnecessarily low-level for your use case.
-
Modify pitch and volume while a sound file is playing
I had to do something similar to this a while back. I used cpal.
- RustAudio/cpal: Cross-platform audio I/O library in pure Rust
-
What’s everyone working on this week (including AoC, 51/2021)?
Working on a live performance software that would let our band have live real-time practices over the internet. Top priority is minimum latency, so I'm trying to hook it up through ASIO. Not much luck yet. I've tried cpal, but I've run into numerous known random bugs (and some versions don't compile for me). At least I confirmed that I can push the audio through a TCP socket successfully.
-
How to read out decibels from default audio input device?
With https://github.com/RustAudio/cpal you can access the microphone in a cross platform way, but you’ll get values of range [-1,1] out only. To calculate absolute decibels you would need to calibrate for your specific microphone with a known source.
-
How can I visualize currently playing audio in Linux?
source of example
-
Hey Rustaceans! Got an easy question? Ask here (7/2021)!
you need to use a "loopback" device, as shown here - https://github.com/RustAudio/cpal/pull/478 (note, ive only tested this on windows - if its not supported on linux you could always plug your sound card output into its line-in/mic jack)
processing
-
Our tools shape our selves
reply
I disagree. There are so many creative tools that are now online that you can access from your browser that were not envisioned in the original web. It is obviously true that not EVERY website is about creation (but to expect that seems unreasonable?), but even Wikipedia is a collaborative project.
Examples include products from big vendors like Adobe's Photoshop, to smaller products like SketchUp, to more indy generative art tools like https://processing.org and Strudel (https://news.ycombinator.com/item?id=39924210).
-
Let's compile like it's 1992
Would processing[0] be a good fit? It's designed to be easy to use and learn but powerful enough for professional use. Very quick to get cool stuff moving on a screen and the syntax is Java with a streamlined editing environment.
[0] https://processing.org/
- VVVV – A Hybrid Visual/Textual Development Environment
- Random Animations
- Penrose – Penrose
-
Program a "Weakest link" for myself IRL game
I would personally use the language Processing. It's the one I use the most. And it's relatively easy to start drawing text, squares, and do other kinds of things. (It's kind of like java, but without all the boilerplate code)
-
Turbo Pascal Turns 40
Processing (P5) had this: you can select any string of text in its IDE anl search for it in the docs, and if it's one of the built-in functions or constants it will open the associated static html page that came installed with the software, so no internet nor server required. And despite being offline you can still navigate the docs too. This feels a lost basic skill in static site generation these days.
It was the only creative coding framework that had complete, offline documentation like that at the time I might add. OpenFrameworks is still mostly autogenerated stubs for example.
IMO it was one of the things that gave Processing an edge in educational contexts over all alternatives. I was pretty sad to see p5.js not fully continue that tradition and require that you go online to read the docs, and that it's not a static website but that text is rendered with javascript when you open it (still complete and with examples though).
https://processing.org/
https://p5js.org/
-
Ben Fry Resigns from the Processing Foundation
Processing is very cool, especially if you like graphics.
https://processing.org/
Processing is a flexible software sketchbook and a language for learning how to code. Since 2001, Processing has promoted software literacy within the visual arts and visual literacy within technology. There are tens of thousands of students, artists, designers, researchers, and hobbyists who use Processing for learning and prototyping.
-
Arduino raises $22M Series B round
And it's not even their IDE. They just slapped some AVR compilers into Processing
https://processing.org/
- Što dati djetetu da uči/radi?
What are some alternatives?
rodio - Rust audio playback library
OpenFrameworks - openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
swyh-rs - Stream What You Hear written in rust, inspired by SWYH.
manim - A community-maintained Python framework for creating mathematical animations.
rubato - An asyncronous resampling library written in Rust
Pygame - 🐍🎮 pygame (the library) is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.
openal-rs
kaboom.js - 💥 JavaScript game library
rust-vst2 - VST 2.4 API implementation in rust. Create plugins or hosts.
openrndr - OPENRNDR. A Kotlin/JVM library for creative coding, real-time and interactive graphics
sudo.rs
love - LÖVE is an awesome 2D game framework for Lua.