Home
Experimental Multimedia Channel

Wiki Updates

C++

3 weeks 1 day ago

Cross Platform

← Older revision Revision as of 09:39, 5 September 2021 Line 41: Line 41: ==== [[GCC]] ======== [[GCC]] ==== The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Ada, Go, and D, as well as libraries for these languages (libstdc++,...). GCC was originally written as the compiler for the GNU operating system. The GNU system was developed to be 100% free software, free in the sense that it respects the user's freedom.The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Ada, Go, and D, as well as libraries for these languages (libstdc++,...). GCC was originally written as the compiler for the GNU operating system. The GNU system was developed to be 100% free software, free in the sense that it respects the user's freedom. ==== [[Make]] ====

=== Windows ====== Windows ===
Techbot

GCC

3 weeks 1 day ago

Created page with " == Compiling C and C++ Programs == gcc is the GNU C Compiler and g++ is the GNU C++ compiler. Below are several examples that show how to use g++ to compile C++ programs. Ex..."

New page


== Compiling C and C++ Programs ==

gcc is the GNU C Compiler and g++ is the GNU C++ compiler. Below are several examples that show how to use g++ to compile C++ programs.
Example 1: Compiling a simple program
Consider the following example: Let "hello.C" be a file that contains the following C++ code.

#include "iostream.h"
int main()
{
cout << "Hello\n";
}

The standard way to compile this program is with the command

g++ hello.C -o hello

This command compiles hello.C into an executable program named "hello" that you run by typing './hello' at the command line. It does nothing more than print the word "hello" on the screen.
Alternatively, the above program could be compiled using the following two commands.

g++ -c hello.C
g++ hello.o -o hello

The end result is the same, but this two-step method first compiles hello.C into a machine code file named "hello.o" and then links hello.o with some system libraries to produce the final program "hello". In fact the first method also does this two-stage process of compiling and linking, but the stages are done transparently, and the intermediate file "hello.o" is deleted in the process.

Frequently used compilation options

C and C++ compilers allow for many options for how to compile a program, and the examples below demonstrate how to use many of the more commonly used options. In each example, "myprog.C" contains C++ source code for the executable "myprog". In most cases options can be combined, although it is generally not useful to use "debugging" and "optimization" options together.

Compile myprog.C so that myprog contains symbolic information that enables it to be debugged with the gdb debugger.

g++ -g myprog.C -o myprog

Have the compiler generate many warnings about syntactically correct but questionable looking code. It is good practice to always use this option with gcc and g++.

g++ -Wall myprog.C -o myprog

Generate symbolic information for gdb and many warning messages.

g++ -g -Wall myprog.C -o myprog

Generate optimized code on a Linux machine.

g++ -O myprog.C -o myprog

Compile myprog.C when it contains Xlib graphics routines.

g++ myprog.C -o myprog -lX11

If "myprog.c" is a C program, then the above commands will all work by replacing g++ with gcc and "myprog.C" with "myprog.c". Below are a few examples that apply only to C programs.

Compile a C program that uses math functions such as "sqrt".

gcc myprog.C -o myprog -lm

Compile a C program with the "electric fence" library. This library, available on all the Linux machines, causes many incorrectly written programs to crash as soon as an error occurs. It is useful for debugging as the error location can be quickly determined using gdb. However, it should only be used for debugging as the executable myprog will be much slower and use much more memory than usual.

gcc -g myprog.C -o myprog -lefence


Example 2: Compiling a program with multiple source files
If the source code is in several files, say "file1.C" and "file2.C", then they can be compiled into an executable program named "myprog" using the following command:

g++ file1.C file2.C -o myprog

The same result can be achieved using the following three commands:

g++ -c file1.C
g++ -c file2.C
g++ file1.o file2.o -o myprog

The advantage of the second method is that it compiles each of the source files separately. If, for instance, the above commands were used to create "myprog", and "file1.C" was subsequently modified, then the following commands would correctly update "myprog".

g++ -c file1.C
g++ file1.o file2.o -o myprog

Note that file2.C does not need to be recompiled, so the time required to rebuild myprog is shorter than if the first method for compiling myprog were used. When there are numerous source file, and a change is only made to one of them, the time savings can be significant. This process, though somewhat complicated, is generally handled automatically by a makefile.
Techbot

C++

3 weeks 1 day ago

Windows

← Older revision Revision as of 09:19, 5 September 2021 (2 intermediate revisions by the same user not shown)Line 38: Line 38:

== IDEs & Tools ==== IDEs & Tools == === Cross Platform === ==== [[GCC]] ==== The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Ada, Go, and D, as well as libraries for these languages (libstdc++,...). GCC was originally written as the compiler for the GNU operating system. The GNU system was developed to be 100% free software, free in the sense that it respects the user's freedom.

=== Windows ====== Windows === ** [[Visual Code]] - Plugin Based IDE==== [[Visual Code]] ==== Plugin Based IDE Works well with MingGW64 & GCC. Similar to PhpStorm and other intellisense based IDEsWorks well with MingGW64 & GCC. Similar to PhpStorm and other intellisense based IDEs

Line 59: Line 63: Allows for the configuration of multiple build environments across different platforms, especially useful for teams that use different OSAllows for the configuration of multiple build environments across different platforms, especially useful for teams that use different OS

==== GCC ====  The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Ada, Go, and D, as well as libraries for these languages (libstdc++,...). GCC was originally written as the compiler for the GNU operating system. The GNU system was developed to be 100% free software, free in the sense that it respects the user's freedom.

==== [[Code Blocks]](open source)======== [[Code Blocks]](open source)====
Techbot

RTL-SDR

3 weeks 3 days ago

← Older revision Revision as of 17:48, 2 September 2021 Line 106: Line 106:

= Software == Software = driver download: https://zadig.akeo.ie/downloads/

Much software is available for the RTL2832. Most of the user-level packages rely on the [[librtlsdr]] library which comes as part of the rtl-sdr codebase. This codebase contains both the library itself and also a number of command line tools such as rtl_test, rtl_sdr, rtl_tcp, and rtl_fm. These command line tools use the library to test for the existence of RTL2832 devices and to perform basic data transfer functions to and from the device.Much software is available for the RTL2832. Most of the user-level packages rely on the [[librtlsdr]] library which comes as part of the rtl-sdr codebase. This codebase contains both the library itself and also a number of command line tools such as rtl_test, rtl_sdr, rtl_tcp, and rtl_fm. These command line tools use the library to test for the existence of RTL2832 devices and to perform basic data transfer functions to and from the device.
Techbot

Sox

3 weeks 4 days ago

Special Filenames

← Older revision Revision as of 15:13, 2 September 2021 (One intermediate revision by the same user not shown)Line 352: Line 352: === Special Filenames ====== Special Filenames ===

The following special filenames may be used in certain circumstances in place of a normal filename on theThe following special filenames may be used in certain circumstances in place of a normal filename on the command line: command line:

− SoX can be used in simple pipeline operations by using the special filename ‘−’ which, if used as− SoX can be used in simple pipeline operations by using the special filename ‘−’ which, if used as an input filename, will cause SoX will read audio data from ‘standard input’ (stdin), and which, if used  as  the  output  filename,  will  cause  SoX  will  send  audio  data  to  ‘standard  output’  (stdout).an input filename, will cause SoX will read audio data from ‘standard input’ ('''stdin'''), and which, if used  as  the  output  filename,  will  cause  SoX  will  send  audio  data  to  ‘standard  output’  ('''stdout'''). Note that when using this option for the output file, and sometimes when using it for an input file, the file-type (see −t below) must also be given.  Note that when using this option for the output file, and sometimes when using it for an input file, the file-type (see −t below) must also be given.   ==== " | program [options] . .." ======== " | program [options] . .." ==== This can be used in place of an input filename to specify the the given p rogram’s s tandard output(stdout) be used as an input file. Unlike − (above), this can be used for several inputs to one SoX command.  For example, if ‘genw’ generates mono WAV formatted signals to its standard output,This can be used in place of an input filename to specify the the given program’s standard output('''stdout''') be used as an input file. Unlike − (above), this can be used for several inputs to one SoX command.  For example, if ‘genw’ generates mono WAV formatted signals to its standard output,then the following command makes a stereo file from two generated signals: then the following command makes a stereo file from two g enerated signals:  sox −M "|genw −−imd −" "|genw −−thd −" out.wav sox −M "|genw −−imd −" "|genw −−thd −" out.wav For h eaderless (raw) audio, −t (and perhaps other format options) will need to be given, preceding the input command.  For headerless (raw) audio, −t (and perhaps other format options) will need to be given, preceding the input command.

==== "wildcard-filename" ======== "wildcard-filename" ====

Specifies that filename ‘globbing’ (wild-card matching) should be performed by SoX instead of bySpecifies that filename ‘globbing’ (wild-card matching) should be performed by SoX instead of by the shell. This allows a single set of file options to be applied to a group of files. For e xample, if the shell. This allows a single set of file options to be applied to a group of files. For e xample, ifthe current directory contains three ‘vox’ files, file1.vox, file2.vox, and file3.vox, then   the current directory contains three ‘vox’ files, file1.vox, file2.vox, and file3.vox, then     play −−rate 6k *.vox  play −−rate 6k *.vox

Line 376: Line 376:   play −−rate 6k file1.vox file2.vox file3.vox  play −−rate 6k file1.vox file2.vox file3.vox

which will treat only the first vox file as having a  which will treat only the first vox file as having a sample rate of 6k. With sample rate of 6k. With

  play −−rate 6k "*.vox"  play −−rate 6k "*.vox" Line 385: Line 384: ==== −p, −−sox−pipe ======== −p, −−sox−pipe ====

This can be used in place of an output filename to specify that the SoX command should be usedThis can be used in place of an output filename to specify that the SoX command should be used as in input pipe to another SoX command. For e xample, the command: as in input pipe to another SoX command. For e xample, the command:

  play "|sox −n −p synth 2" "|sox −n −p synth 2 tremolo 10" stat  play "|sox −n −p synth 2" "|sox −n −p synth 2 tremolo 10" stat Line 396: Line 394: ==== −d, −−default−device ======== −d, −−default−device ====

This can be used in place of an input or output filename to specify that the default audio device (ifThis can be used in place of an input or output filename to specify that the default audio device (if one  has  been  built  into  SoX)  is  to  be  used. This  is  akin  to  invoking rec or play (as  described above). one  has  been  built  into  SoX)  is  to  be  used. This  is  akin  to  invoking rec or play (as  described above).

==== -n, −−null ======== -n, −−null ====
Techbot

Studio Technology

3 weeks 4 days ago

Editors and Utilities

← Older revision Revision as of 15:08, 2 September 2021 (2 intermediate revisions by the same user not shown)Line 5: Line 5: * Reaper* Reaper * Ardour* Ardour * Reason

== Editors and Utilities ==== Editors and Utilities == * Audacity* [[Audacity]] * Sox* [[Sox]] **

Line 68: Line 69: * Fanzines* Fanzines

=== [[Visuals]] ==== [[Visuals]] = * Graphics* Graphics * Video* Video
Techbot

Studio Technology

3 weeks 4 days ago

Editors and Utilities

← Older revision Revision as of 15:08, 2 September 2021 (10 intermediate revisions by the same user not shown)Line 3: Line 3: == DAWs ==== DAWs == * Ableton Live* Ableton Live * Bitwig* Reaper * Cubase* Ardour * FL Studio* Reason

== Editors and Utilities ==== Editors and Utilities == * Audacity* [[Audacity]] * [[Sox]] *

== Instruments ==== Instruments == Line 23: Line 25: = Hardware == Hardware =

=== [[Modular synthesizer]] ===== [[Modular synthesizer]] == * Eurorack * AE modular

== Mixing Desks ==== Mixing Desks == Line 29: Line 33: * Prosunus* Prosunus * SSL* SSL == Drum Machines == * Drum brute * TR-8 * TR-8 S * Volca Sample * Volca Sample + == Synths == * Roland JP 8000 * Roland 303 * Novation Basstation Rack * Korg Prophecy * Korg Prologue * Korg Minilogue == Midi Controllers == * Push * Push 2 * Beat Step Pro * Launch Control * LaunchKey 25 ==Others == * [[MIO Midi Network Manager]] * [[RTL-SDR]]

= Acoustic Space == Acoustic Space = Line 39: Line 69: * Fanzines* Fanzines

=== [[Visuals]] ==== [[Visuals]] = * Graphics* Graphics * Video* Video
Techbot

Sox

3 weeks 4 days ago

−−clobber

← Older revision Revision as of 14:29, 2 September 2021 (2 intermediate revisions by the same user not shown)Line 448: Line 448:       

===== −−combine concatenate | merge | mix | mix−power | multiply | sequence ========= −−combine concatenate | merge | mix | mix−power | multiply | sequence ====

Select the input file combining method; for some of these, short options are available: −m selectsSelect the input file combining method; for some of these, short options are available: −m selects Line 454: Line 454:

See Input File Combining above for a description of the different combining methods.See Input File Combining above for a description of the different combining methods. ===== −D, −−no−dither ========= −D, −−no−dither ====

Disable automatic dither—see ‘Dithering’ above. A n e xample of why t his might occasionally be useful is if a file has been converted from 16 to 24 bit with the intention of doing some processing on  it,  but  in  fact  no  processing  is  needed  after  all  and  the  original  16  bit  file  has  been  lost,  then, strictly speaking, no dither is needed if converting the file back to 16 bit. See also the stats effect for how to determine the actual bit depth of the audio within a file.Disable automatic dither—see ‘Dithering’ above. A n e xample of why t his might occasionally be useful is if a file has been converted from 16 to 24 bit with the intention of doing some processing on  it,  but  in  fact  no  processing  is  needed  after  all  and  the  original  16  bit  file  has  been  lost,  then, strictly speaking, no dither is needed if converting the file back to 16 bit. See also the stats effect for how to determine the actual bit depth of the audio within a file.

===== −−effects−file FILENAME ========= −−effects−file FILENAME ====

Use FILENAME to obtain all effects and their arguments.  The file is parsed as if the values were specified on the command line. A new line can be used in place of the special : marker to separate effect  chains. For convenience,  such  markers  at  the  end  of  the  file  are  normally  ignored;  if  youUse FILENAME to obtain all effects and their arguments.  The file is parsed as if the values were specified on the command line. A new line can be used in place of the special : marker to separate effect  chains. For convenience,  such  markers  at  the  end  of  the  file  are  normally  ignored;  if  you Line 748: Line 748: soxformat(7) for more informationsoxformat(7) for more information

== EFFECTS === EFFECTS = In addition to converting, playing and recording audio files, SoX can be used to invoke a number of audioIn addition to converting, playing and recording audio files, SoX can be used to invoke a number of audio ‘effects’.  Multiple effects may be applied by specifying them one after another at the end of the SoX com-‘effects’.  Multiple effects may be applied by specifying them one after another at the end of the SoX com- Line 1,899: Line 1,899: = BUGS == BUGS = Please report any b ugs found in this version of SoX to the mailing list (sox-users@lists.sourceforge.net).Please report any b ugs found in this version of SoX to the mailing list (sox-users@lists.sourceforge.net). == SEE ALSO === SEE ALSO = soxi(1), soxformat(7), libsox(3)soxi(1), soxformat(7), libsox(3) audacity(1), gnuplot(1), octave(1), wget(1)audacity(1), gnuplot(1), octave(1), wget(1) Line 1,913: Line 1,913: [6] Richard Furse, Computer Music Toolkit, h ttp://www.ladspa.org/cmt[6] Richard Furse, Computer Music Toolkit, h ttp://www.ladspa.org/cmt [7] Steve Harris, LADSPA p lugins, h ttp://plugin.org.uk[7] Steve Harris, LADSPA p lugins, h ttp://plugin.org.uk LICENSE= LICENSE = Copyright 1998−2013 Chris Bagwell and SoX Contributors.Copyright 1998−2013 Chris Bagwell and SoX Contributors. Copyright 1991 Lance Norskog and Sundry Contributors.Copyright 1991 Lance Norskog and Sundry Contributors. Line 1,922: Line 1,922: ev en t he implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Seeev en t he implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.the GNU General Public License for more details. = AUTHORS == AUTHORS = Chris Bagwell (cbagwell@users.sourceforge.net). Other authors and contributors are listed in theChris Bagwell (cbagwell@users.sourceforge.net). Other authors and contributors are listed in the ChangeLog file that is distributed with the source code.ChangeLog file that is distributed with the source code.
Techbot

Sox

3 weeks 4 days ago

−−clobber

← Older revision Revision as of 14:29, 2 September 2021 (3 intermediate revisions by the same user not shown)Line 411: Line 411: See soxformat(7) for a list and description of the supported file formats and audio device drivers.See soxformat(7) for a list and description of the supported file formats and audio device drivers.

== OPTIONS === OPTIONS =

=== Global Options ===== Global Options ==

These options can be specified on the command line at any p oint before the first effect name.These options can be specified on the command line at any p oint before the first effect name. Line 448: Line 448:       

===== −−combine concatenate | merge | mix | mix−power | multiply | sequence ========= −−combine concatenate | merge | mix | mix−power | multiply | sequence ====

Select the input file combining method; for some of these, short options are available: −m selectsSelect the input file combining method; for some of these, short options are available: −m selects Line 454: Line 454:

See Input File Combining above for a description of the different combining methods.See Input File Combining above for a description of the different combining methods. ===== −D, −−no−dither ========= −D, −−no−dither ====

Disable automatic dither—see ‘Dithering’ above. A n e xample of why t his might occasionally be useful is if a file has been converted from 16 to 24 bit with the intention of doing some processing on  it,  but  in  fact  no  processing  is  needed  after  all  and  the  original  16  bit  file  has  been  lost,  then, strictly speaking, no dither is needed if converting the file back to 16 bit. See also the stats effect for how to determine the actual bit depth of the audio within a file.Disable automatic dither—see ‘Dithering’ above. A n e xample of why t his might occasionally be useful is if a file has been converted from 16 to 24 bit with the intention of doing some processing on  it,  but  in  fact  no  processing  is  needed  after  all  and  the  original  16  bit  file  has  been  lost,  then, strictly speaking, no dither is needed if converting the file back to 16 bit. See also the stats effect for how to determine the actual bit depth of the audio within a file.

===== −−effects−file FILENAME ========= −−effects−file FILENAME ====

Use FILENAME to obtain all effects and their arguments.  The file is parsed as if the values were specified on the command line. A new line can be used in place of the special : marker to separate effect  chains. For convenience,  such  markers  at  the  end  of  the  file  are  normally  ignored;  if  youUse FILENAME to obtain all effects and their arguments.  The file is parsed as if the values were specified on the command line. A new line can be used in place of the special : marker to separate effect  chains. For convenience,  such  markers  at  the  end  of  the  file  are  normally  ignored;  if  you Line 748: Line 748: soxformat(7) for more informationsoxformat(7) for more information

== EFFECTS === EFFECTS = In addition to converting, playing and recording audio files, SoX can be used to invoke a number of audioIn addition to converting, playing and recording audio files, SoX can be used to invoke a number of audio ‘effects’.  Multiple effects may be applied by specifying them one after another at the end of the SoX com-‘effects’.  Multiple effects may be applied by specifying them one after another at the end of the SoX com- Line 1,899: Line 1,899: = BUGS == BUGS = Please report any b ugs found in this version of SoX to the mailing list (sox-users@lists.sourceforge.net).Please report any b ugs found in this version of SoX to the mailing list (sox-users@lists.sourceforge.net). == SEE ALSO === SEE ALSO = soxi(1), soxformat(7), libsox(3)soxi(1), soxformat(7), libsox(3) audacity(1), gnuplot(1), octave(1), wget(1)audacity(1), gnuplot(1), octave(1), wget(1) Line 1,913: Line 1,913: [6] Richard Furse, Computer Music Toolkit, h ttp://www.ladspa.org/cmt[6] Richard Furse, Computer Music Toolkit, h ttp://www.ladspa.org/cmt [7] Steve Harris, LADSPA p lugins, h ttp://plugin.org.uk[7] Steve Harris, LADSPA p lugins, h ttp://plugin.org.uk LICENSE= LICENSE = Copyright 1998−2013 Chris Bagwell and SoX Contributors.Copyright 1998−2013 Chris Bagwell and SoX Contributors. Copyright 1991 Lance Norskog and Sundry Contributors.Copyright 1991 Lance Norskog and Sundry Contributors. Line 1,922: Line 1,922: ev en t he implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Seeev en t he implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.the GNU General Public License for more details. = AUTHORS == AUTHORS = Chris Bagwell (cbagwell@users.sourceforge.net). Other authors and contributors are listed in theChris Bagwell (cbagwell@users.sourceforge.net). Other authors and contributors are listed in the ChangeLog file that is distributed with the source code.ChangeLog file that is distributed with the source code.
Techbot

Sox

3 weeks 4 days ago

−−clobber

← Older revision Revision as of 14:29, 2 September 2021 (8 intermediate revisions by the same user not shown)Line 328: Line 328:   sox song.wav ringtone%1n.wav trim 0 30 : newfile : trim 0 30  sox song.wav ringtone%1n.wav trim 0 30 : newfile : trim 0 30

=== Stopping SoX ===== Stopping SoX ==

Usually  SoX  will  complete  its  processing  and  exit  automatically  once  it  has  read  all  available  audio  dataUsually  SoX  will  complete  its  processing  and  exit  automatically  once  it  has  read  all  available  audio  data Line 343: Line 343: then SoX will also stop.then SoX will also stop.

== FILENAMES === FILENAMES = Filenames can be simple file names, absolute or relative path names, or URLs (input files only). Note thatFilenames can be simple file names, absolute or relative path names, or URLs (input files only). Note that URL support requires that wget(1) is available.URL support requires that wget(1) is available. Line 350: Line 350: generally not difficult since most audio filenames have a filename ‘extension’, whilst effect-names do not.generally not difficult since most audio filenames have a filename ‘extension’, whilst effect-names do not.

== Special Filenames ===== Special Filenames ===

The following special filenames may be used in certain circumstances in place of a normal filename on theThe following special filenames may be used in certain circumstances in place of a normal filename on the Line 364: Line 364: For h eaderless (raw) audio, −t (and perhaps other format options) will need to be given, preceding the input command.For h eaderless (raw) audio, −t (and perhaps other format options) will need to be given, preceding the input command.

=== "wildcard-filename" ======= "wildcard-filename" ====

Specifies that filename ‘globbing’ (wild-card matching) should be performed by SoX instead of bySpecifies that filename ‘globbing’ (wild-card matching) should be performed by SoX instead of by Line 394: Line 394: −p is in fact an alias for ‘−t sox −’.−p is in fact an alias for ‘−t sox −’.

===== −d, −−default−device ========= −d, −−default−device ====

This can be used in place of an input or output filename to specify that the default audio device (ifThis can be used in place of an input or output filename to specify that the default audio device (if Line 400: Line 400: above).above).

==== -n, −−null ======== -n, −−null ==== This can be used in place of an input or output filename to specify that a ‘null file’ is to be used.This can be used in place of an input or output filename to specify that a ‘null file’ is to be used. Line 408: Line 407: Using a null file to output audio amounts to discarding the audio and is useful mainly with effects that produce information about the audio instead of affecting it (such as noiseprof or stat).Using a null file to output audio amounts to discarding the audio and is useful mainly with effects that produce information about the audio instead of affecting it (such as noiseprof or stat). The sampling rate associated with a null file is by default 48 kHz, but, as with a normal file, this can be overridden if desired using command-line format options (see below).The sampling rate associated with a null file is by default 48 kHz, but, as with a normal file, this can be overridden if desired using command-line format options (see below). === Supported File & Audio Device Types ====== Supported File & Audio Device Types === See soxformat(7) for a list and description of the supported file formats and audio device drivers.See soxformat(7) for a list and description of the supported file formats and audio device drivers.

== OPTIONS === OPTIONS =

=== Global Options ===== Global Options ==

These options can be specified on the command line at any p oint before the first effect name.These options can be specified on the command line at any p oint before the first effect name. Line 448: Line 448:       

===== −−combine concatenate | merge | mix | mix−power | multiply | sequence ========= −−combine concatenate | merge | mix | mix−power | multiply | sequence ====

Select the input file combining method; for some of these, short options are available: −m selectsSelect the input file combining method; for some of these, short options are available: −m selects Line 454: Line 454:

See Input File Combining above for a description of the different combining methods.See Input File Combining above for a description of the different combining methods. ===== −D, −−no−dither ========= −D, −−no−dither ====

Disable automatic dither—see ‘Dithering’ above. A n e xample of why t his might occasionally be useful is if a file has been converted from 16 to 24 bit with the intention of doing some processing on  it,  but  in  fact  no  processing  is  needed  after  all  and  the  original  16  bit  file  has  been  lost,  then, strictly speaking, no dither is needed if converting the file back to 16 bit. See also the stats effect for how to determine the actual bit depth of the audio within a file.Disable automatic dither—see ‘Dithering’ above. A n e xample of why t his might occasionally be useful is if a file has been converted from 16 to 24 bit with the intention of doing some processing on  it,  but  in  fact  no  processing  is  needed  after  all  and  the  original  16  bit  file  has  been  lost,  then, strictly speaking, no dither is needed if converting the file back to 16 bit. See also the stats effect for how to determine the actual bit depth of the audio within a file.

===== −−effects−file FILENAME ========= −−effects−file FILENAME ====

Use FILENAME to obtain all effects and their arguments.  The file is parsed as if the values were specified on the command line. A new line can be used in place of the special : marker to separate effect  chains. For convenience,  such  markers  at  the  end  of  the  file  are  normally  ignored;  if  youUse FILENAME to obtain all effects and their arguments.  The file is parsed as if the values were specified on the command line. A new line can be used in place of the special : marker to separate effect  chains. For convenience,  such  markers  at  the  end  of  the  file  are  normally  ignored;  if  you Line 748: Line 748: soxformat(7) for more informationsoxformat(7) for more information

== EFFECTS === EFFECTS = In addition to converting, playing and recording audio files, SoX can be used to invoke a number of audioIn addition to converting, playing and recording audio files, SoX can be used to invoke a number of audio ‘effects’.  Multiple effects may be applied by specifying them one after another at the end of the SoX com-‘effects’.  Multiple effects may be applied by specifying them one after another at the end of the SoX com- Line 1,899: Line 1,899: = BUGS == BUGS = Please report any b ugs found in this version of SoX to the mailing list (sox-users@lists.sourceforge.net).Please report any b ugs found in this version of SoX to the mailing list (sox-users@lists.sourceforge.net). == SEE ALSO === SEE ALSO = soxi(1), soxformat(7), libsox(3)soxi(1), soxformat(7), libsox(3) audacity(1), gnuplot(1), octave(1), wget(1)audacity(1), gnuplot(1), octave(1), wget(1) Line 1,913: Line 1,913: [6] Richard Furse, Computer Music Toolkit, h ttp://www.ladspa.org/cmt[6] Richard Furse, Computer Music Toolkit, h ttp://www.ladspa.org/cmt [7] Steve Harris, LADSPA p lugins, h ttp://plugin.org.uk[7] Steve Harris, LADSPA p lugins, h ttp://plugin.org.uk LICENSE= LICENSE = Copyright 1998−2013 Chris Bagwell and SoX Contributors.Copyright 1998−2013 Chris Bagwell and SoX Contributors. Copyright 1991 Lance Norskog and Sundry Contributors.Copyright 1991 Lance Norskog and Sundry Contributors. Line 1,922: Line 1,922: ev en t he implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Seeev en t he implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.the GNU General Public License for more details. = AUTHORS == AUTHORS = Chris Bagwell (cbagwell@users.sourceforge.net). Other authors and contributors are listed in theChris Bagwell (cbagwell@users.sourceforge.net). Other authors and contributors are listed in the ChangeLog file that is distributed with the source code.ChangeLog file that is distributed with the source code.
Techbot

Main Page

3 weeks 4 days ago

DSP

← Older revision Revision as of 11:42, 2 September 2021 Line 56: Line 56:

=== [[DSP]] ====== [[DSP]] === Oscillators, Filters, Fuzz. We go through t5h theory and the practical of modern difital signal processing tewchniques. From Audio signal processing. The ability to intentionally manipulate and modify a piece of sound has opened up considerable opportunities for music making. The evolution of technology has often driven new audio tools and effects, from early architectural acoustics through electromechanical and electronic devices to the digitisation of music production studios.  Oscillators, Filters, Fuzz. We go through the theory and the practical of modern digital signal processing techniques. From Audio signal processing. The ability to intentionally manipulate and modify a piece of sound has opened up considerable opportunities for music making. The evolution of technology has often driven new audio tools and effects, from early architectural acoustics through electromechanical and electronic devices to the digitisation of music production studios.          Enter the [[DSP]] sectionEnter the [[DSP]] section
Techbot
Checked
48 minutes 17 seconds ago
Track the most recent changes to the wiki in this feed.
Subscribe to Wiki Updates feed