R/wrassp_AsspTypes.R

Defines functions knownLossless

Documented in knownLossless

##' returns all valid AsspWindowTypes according to the assp library
##'
##' wrapper function for AsspWindowTypes of wrassp
##' @title AsspWindowTypes
##' @return vector containing window types
##' @author Raphael Winkelmann
##' @useDynLib superassp, .registration = TRUE
##' @export
'AsspWindowTypes' <- function(){
	
	return(.Call("AsspWindowTypes_", PACKAGE = "superassp"))
  
}

##' returns all valid AsspLpTypes according to the assp library
##'
##' wrapper function for AsspLpTypes of wrassp
##' @title AsspLpTypes
##' @return vector containing lp types
##' @author Raphael Winkelmann
##' @useDynLib superassp, .registration = TRUE
##' @export
'AsspLpTypes' <- function(){
	
	return(.Call("AsspLpTypes_", PACKAGE = "superassp"))

}

##' returns all valid AsspSpectTypes according to the assp library
##'
##' wrapper function for AsspSpectTypes of wrassp
##' @title AsspSpectTypes
##' @return vector containing spectrogram types
##' @author Raphael Winkelmann
##' @useDynLib superassp, .registration = TRUE
##' @export
'AsspSpectTypes' <- function(){
	
	return(.Call("AsspSpectTypes_", PACKAGE = "superassp"))

}




#' Procedure reporting lossless file formats
#' 
#' This procedure just reports back file extensions that are known to 
#' predominately contain losslessly encoded sound data. 
#' 
#' @author Fredrik Nylén

knownLossless <- function() c("wav","flac","aiff","wv","tta","caf","au","kay","nist","nsp")
humlab-speech/superassp documentation built on May 8, 2024, 2:27 p.m.