Git Product home page Git Product logo

audio's Introduction

Teensy Audio Library

16 bit, 44.1 kHz streaming audio library for Teensy 3.x and Teensy 4.x, featuring:

  • Polyphonic Playback
  • Recording
  • Synthesis
  • Analysis
  • Effects
  • Filtering
  • Mixing
  • Multiple Simultaneous Inputs & Outputs
  • Flexible signal routing between library objects
  • Automatic Streaming while your Arduino sketch runs

Main Audio Library Page

http://www.pjrc.com/teensy/td_libs_Audio.html

Audio System Design Tool

Use this graphical tool to design your audio project. Easily browse the library's many features, connect objects, export to Arduino code, and quickly access details for the functions each object provides for you to control it from your Arduino sketch!

http://www.pjrc.com/teensy/gui/index.html

Supported Hardware

Audio Adaptor Board for 16 bit stereo input and output.

Inputs Outputs

Dual Audio Adaptor Boards for quad channel 16 bit input and output.

Teensy 3.6, Teensy 3.5, Teensy 3.2, or Teensy 3.1 12 bit DAC Output (Mono)

DAC Output

Teensy 3.6, Teensy 3.5, Teensy 3.2, Teensy 3.1 or Teensy 3.0 ADC Input (Mono)

ADC Input

Teensy 3.6, Teensy 3.5, or Teensy 3.2 ADC Input (Stereo)

ADC Input

Teensy 3.6 or Teensy 3.5 12 bit DAC Output (Stereo)

DAC Output

Teensy 3.6, Teensy 3.5, Teensy 3.2, Teensy 3.1 or Teensy 3.0 PWM Output (Mono)

PWM Output

USB Audio: Bi-Directional Stereo Streaming to a PC

Inputs Outputs

audio's People

Contributors

alex6679 avatar ben-rheinland avatar blackketter avatar chipaudette avatar defragster avatar dxinteractive avatar el-supremo avatar ericfont avatar frankboesing avatar grahamwhaley avatar h4yn0nnym0u5e avatar ivankravets avatar kurte avatar mamuesp avatar marktillotson avatar maseh87 avatar mattybrad avatar mickmad avatar modularev avatar mxmxmx avatar natcl avatar paulstoffregen avatar standarddeviant avatar stevstrong avatar svgeesus avatar tomwaters avatar transmogrifox avatar tsandmann avatar widdly avatar zirafa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

audio's Issues

SD card test improvements

SdCardTest and sd_speed_test should be merged into a single test.

It should also do a speed test with 2, 3, 4, 5, 6, 7 and 8 files.

Sample files should be provided on a web page.

Need AudioSynthWaveformSineModulated "sine_fm" example

Maybe someone really experienced with synthesis could create a nice example using this object and perhaps the envelope or other waveforms at low frequency to control it? Ideally, something rhythmic or musical sounding, rather than "random noises", would be perfect.

waveform_fm is missing

As sine had sine_fm added, so waveform should have waveform_fm added, using similar code. Suggested summary:

Create a modulated waveform: sine, sawtooth, square, triangle or arbitrary wavetable, using any audio signal to continuously modulate the waveform frequency.

GUI should update URL as objects selected, and parse on startup

A mechanism is needed to be able to copy-n-paste the URL from the browser's address bar, to refer to documentation for a specific object. Then when a user load the GUI with that extra info appended, the right panel will automatically be initialized with that info.

Bug context on AudioAnalyzeFFT256 limited to only a single instance

Hi Paul,

First of all, thank you so much for this awesome library! I'm very excited to be using this with the Teensy 3.1. I noticed you wrote:
"The beta test Audio Library has a known bug limiting AudioAnalyzeFFT256 to only a single instance. Future versions will correct this issue, allowing you to have multiple AudioAnalyzeFFT256 objects, each analyzing a different audio source." on the teensy page (https://www.pjrc.com/teensy/td_libs_AudioAnalyzeFFT.html).

Is there a way you could provide some more context on the bug / perhaps a suggested workaround for getting FFT to run on stereo or multiple mono input? Thanks!

AudioControlSGTL5000 Volume Bug?

Hello,

It seems like the Volume Control of the Library doesn't work properly
(e.g. Sound is louder is values are lower)

AudioControlSGTL5000 codec;
codec.volume(80);

as where some examples shows working with floats between 0.0 and 1.0.

Is this a bug or how is it intended to work? The examples show different
methods.

Analyze Volume

There should be an analyze object that reports "volume". It should take the absolute value of the input, and apply different filters for increases (short time constant) and decreases (long time constant) to simulate the time response of a traditional VU meter. Maybe the time constants should be configurable?

Pulse waveform missing

One of the most frequently used synthesizer waveforms is a pulse ( a rectangular wave with adjustable mark/space ratio). The square wave is a special case of pulse, with 50% mark/space. It is also common to modulate the pulse width dynamically.

Suggest two waveforms: pulse (with a single fixed value of duty cycle, between 0.0 and 1.0) and pulse_pwm (using any audio signal to continuously modulate the pulse width). These could be added as new enumerated types to waveform, or added as separate functions, depending on what is easiest to add.

(These should also pick up the _fm additions suggested in a separate issue).

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.