'How can I add bass filter in fluent-ffmpeg?

I'm trying to add a bass filter with fluent-ffmpeg

the code:

ffmpeg({ source: filedeloud })
    .audioFrequency(44100)
    .audioQuality(0)
    .noVideo()
    .audioBitrate(160)
    .addOutputOption('-af "bass=g=7"')
    .saveToFile(__dirname + '\\tmp\\' + fileName)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source