Skip to content

Instantly share code, notes, and snippets.

@jonatas
Created March 28, 2023 23:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonatas/63fddb570842b022c949d84c7291648d to your computer and use it in GitHub Desktop.
Save jonatas/63fddb570842b022c949d84c7291648d to your computer and use it in GitHub Desktop.

ADA.rb

Sonic PI

&

Timescale

Jônatas Davi Paganini

@jonatasdp

@jonatasdp

  • Backend developer

  • Ruby/Shell/Postgresql/Vim

    • Ruby since 2007.
    • Postgresql since 2004.
  • Developer Advocate @ Timescale

twitter: @jonatasdp

github: @jonatas

Agenda

  • My story with Sonification
  • The TimescaleDB & The Open Weather dataset
  • Introduction to Sonic PI
  • Piscale - My exploratory project

My story with Sonification

Timescaledb

  • Postgresql extension for Time Series data
  • Automatic partitions
  • Fast queries
  • Better storage: compression + retention policy

Dataset

Open weather:

https://openweathermap.org

  • Free data from entire world.
  • Free API.
  • Statistics from anywhere.
  • Time-series data.

The focus will be weather metrics.

Libraries

POC

  • Send commands from client
  • Eval in the SonicPi

Examples

  • Temperature as a pitch
  • Humidity as a reverb
  • Wind as a BPM

Extra Resources

Thanks

Jônatas Davi Paganini

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment