Skip to content

Converts an audio file to a 3D spectrogram and (optionally) saves as a stereolithography (STL) file for 3D printing

License

Notifications You must be signed in to change notification settings

newcastleuniversity/audio2stl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

audio2stl

Converts an audio file to a 3D spectrogram and (optionally) saves as a stereolithography (STL) file for 3D printing

example

Date: 2019-06-13

Author: Christopher Carignan

Email: [email protected]

Institution: Institute of Phonetics and Speech Processing (IPS), Ludwig-Maximilians-Universität München, Munich, Germany

Description

Converts an audio file to a 3D spectrogram; (optionally) saves as a stereolithography (STL) file for 3D printing

Arguments

inputfile (required): filepath string associated with WAV audio file

outputfile (optional): filepath string associated with STL file to save

sampfreq: re-sampling frequency

axisnorm: keep the x- and y-axis scaling (FALSE) or normalize so that they have the same dimensions (TRUE)

preemph: value for pre-emphasis of audio

window: option for windowing audio using a variety of Matlab/Octave compatible filters found in the "signal" package ex: 'bartlett', 'blackman', 'hamming', 'hanning', 'triang'

Requirements

See requirements.txt for packages. Install them with the requiRements R package or by hand.

The author specified no minimum R version but experiments indicate that 3.6.1 is too old. 4.1.1 works like a charm, at least on Windows 10.

Requirements documented by Helen Griffiths, Newcastle University IT Service.

About

Converts an audio file to a 3D spectrogram and (optionally) saves as a stereolithography (STL) file for 3D printing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%