Giter Site home page Giter Site logo

soxsharp's Introduction

Hi there!

I’m particularly interested in C# and .NET frameworks, but I have an early passion and interest in everything related with computing technologies.

Currently working as Software Solutions Engineer at Thales.

Tech Stack

Azure C# C++ EF Core GraphQL Hoppscotch Java SQLServer .NET PostgreSQL SQLite

Watch me also on

LinkedIn Stack Overflow

soxsharp's People

Contributors

bradley-varol avatar igece avatar tylerdm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

soxsharp's Issues

Can't Find an example for NoiseReductionEffect.

Hi!

I can't Find an example for NoiseReductionEffect. And its construction requests profile (which contains file path). However sox.Process requests file path at the sametime.

Could you share sample please?

using (Sox sox = new Sox("sox.exe"))
{
sox.Output.Type = FileType.MP3;
sox.Effects.Add(new VolumeEffect(10, GainType.Db));
sox.Effects.Add(new NoiseReductionEffect(new NoiseReductionEffect("inputfilepath",0.5f));

sox.Process("inputfilepath", "test.mp3");
}

Not working :(

separate channels?

It looks like I'm able to customise some arguments to the sox command by passing fake input filenames, but how can I pass arguments, e.g. remix 1 after the output file?

E.g. replicate this command

sox file.wav -b 16 -r 16k output.wav remix 1

Why is this not .NET Core?

Surely the app can work really easily with any sox executable, even on Unix system... doesn't it call exactly the same command line?

Wouldn't it be greatly advantageous to port it from .NET Framework to .NET Core, and not very difficult either?

Invalid time reported by SoX v14.3.1

While reporting progress, version 14.3.1 sometimes outputs an invalid time value, i.e. 06:31:60.00. When trying to convert this value to a TimeSpan, a System.OverflowException is raised. SoxSharp catches this in a generic catch clausule and throws an "SoX ouput not recognized" SoxException.

Buffer range too low

Currently, Buffer property in Sox class is declared as a unsigned short. However, SoX allows buffer values much greater (i.e. 128k).

Working directory not set when executing SoX

If the SoX executable has dependencies for external libraries (they had been linked dynamically) that can't be located through the PATH environment variable, execution fails.

How do I get the stats of a file?

Like the stats result when running the command:
sox "filename" -n stat

I don't need to create new or modify files, I only want to get the "Volume adjustment" data from the stats.
I may be missing something but I didn't find a way to get this with SoxSharp.

Add option for custom effects

As there are option for custom input, output and global arguments, add another one for custom effects as arguments (global custom arguments is not valid for this, as effects are placed at the end of the command).

SoxSharp doesn't work with extension mp4.

I am writing code that will clean the audio for mp4, I am trying to use the soxsharp and when I execute it on mp4 it's giving me exception.

any other thing that I use to make it work with mp4.

sox.exe FAIL formats: no handler for file extension `mp4'

at AudioInfo SoxSharp.Sox.GetInfo (string inputFile)
at void <>d__0.MoveNext ()
at void System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()
at void System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task task)
at void Xamarin.Interactive.CodeAnalysis.EvaluationContext.d__27.MoveNext ()
at void System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()
at void System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task task)
at void Xamarin.Interactive.CodeAnalysis.EvaluationContext.d__26.MoveNext ()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.