---
title: "fromArgs"
sidebar_label: "fromArgs"
description: "Kotlin binding reference: fromArgs."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../../index.md)/[io.clika.runtime](../../index.md)/[AudioProcessor](../index.md)/[Companion](index.md)/[fromArgs](fromArgs.md)

# fromArgs

[common]\
fun [fromArgs](fromArgs.md)(samplingRate: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)? = null, featureSize: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)? = null, nFft: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)? = null, hopLength: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)? = null, where: [Placement](../../Placement/index.md)? = null): [AudioProcessor](../index.md)

Build a log-mel processor from the common knobs with no configuration file; a null knob takes its default (16 kHz, 80 mel bins, an FFT of 400 and a hop of 160 samples).