musicMatrix: Save an Audio File from a Matrix

Description Usage Arguments Details Author(s) References Examples

Description

This function save a matrix in audio file as *.wav

Usage

1
musicMatrix(ma,destination)

Arguments

ma

a matrix. The time in second unit is in the firt column. The intensity of the FID is in the second column.

destination

Name of the .wav file

Details

This function uses - three functions from the package tuneR: Wave, normalize and writeWave; - one function from the package seewave: savewav.

Author(s)

Stefano Cacciatore

References

Cacciatore Stefano, Edoardo Saccenti, Mario Piccioli Hypothesis: The sound of the individual metabolic phenotype? Acoustic detection of NMR experiments OMICS: A Journal of Integrative Biology. Submitted.

Examples

1
2
data(AU)
musicMatrix(AU$sample1A,"audio.wav")

musicNMR documentation built on May 2, 2019, 5:51 a.m.