how to extract amplitude and frequency from audio files (I'm okay with any file that encodes audio data)

This page summarizes the projects mentioned and recommended in the original post on /r/lua

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • AUKit

    AUKit: Audio decoding and processing framework for ComputerCraft

  • My AUKit library for CC:T includes a bunch of functions for loading, manipulating, and playing audio, with support for PCM, DFPWM, WAV, AIFF, AU, and FLAC in any sample rate or data format. You might be able to find what you need here. If you really want those frequencies, you'll need to find an FFT library for Lua; but I don't recommend doing this in plain Lua because it'll be extremely slow. It takes about a minute to run an FFT on a 4 minute song using LuaJIT, and for CC's Lua, it would probably take over an hour.

  • music.madefor.cc

    DFPWM audio converter for CC: Tweaked and Computronics

  • As for why you get static: I'm guessing you're trying to play the wrong audio format. CC's built-in speaker program only supports three very specific formats: raw DFPWM data at 48000 Hz mono (output from sites like music.madefor.cc and the previously-linked Remote Music), 8-bit PCM WAV at 48000 Hz mono (which can be exported with Audacity), and DFPWM encapsulated in a WAV at 48000 Hz mono (not very common). You need to make sure your data is in one of these three formats if you want to use the built-in speaker program. If you use the austream program from AUKit as I linked above, you can then play any WAV format file, plus AIFF, AU, and (not recommended because it's slow) FLAC.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • speakers make a horrible screeching noise , when playing music

    1 project | /r/ComputerCraft | 25 May 2023
  • Converting an mp4 file to a pcm file

    1 project | /r/ComputerCraft | 23 Apr 2023
  • Playing dfpwm files on CC Computer Doesn't Work?

    1 project | /r/ComputerCraft | 6 Apr 2023
  • [Computercraft] Comment faire de la musique ?

    1 project | /r/enfrancais | 22 Mar 2023
  • So it turns out that you can play audio files with ComputerCraft.

    1 project | /r/feedthebeast | 19 Dec 2022