Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

soundgen (version 2.6.3)

checkInputType: Check audio input type

Description

Internal soundgen function.

Usage

checkInputType(x)

Arguments

x

path to a .wav or .mp3 file, Wave object, or a numeric vector representing the waveform with specified samplingRate

Details

Checks the types of audio input to another function, which could be a folder with audio files, a single file, a Wave object, or a numeric vector. The purposes of this helper function are to ascertain that there are some valid inputs and to make a list of valid audio files, if any.