Audacity 3.2.0
Functions
anonymous_namespace{RiffTestUtil.cpp} Namespace Reference

Functions

void PrintHelp (const char *const *argv)
 

Detailed Description


Audacity: A Digital Audio Editor

AcidizerTagUtilMain.cpp

Matthieu Hodgkinson

An command-line application to add the Acidizer tags to a WAV file, for the purpose of testing.

Function Documentation

◆ PrintHelp()

void anonymous_namespace{RiffTestUtil.cpp}::PrintHelp ( const char *const *  argv)

Definition at line 25 of file RiffTestUtil.cpp.

26{
27 std::cout
28 << std::endl
29 << "Test utility to tag files either the SoundForge or the MuseHub way."
30 << std::endl;
31 std::cout
32 << "(SoundForge prioritizes number-of-beats over tempo, and the other way round for MuseHub.)"
33 << std::endl
34 << std::endl;
35 std::cout
36 << "Usage: " << argv[0]
37 << " <outputFile> <duration (s)> [ MuseHub [ one-shot | <tempo (bpm)> ] | SoundForge [ one-shot | loop <num. beats> ] ]"
38 << std::endl
39 << std::endl;
40 std::cout << "Examples:" << std::endl << std::endl;
41
42 std::cout
43 << "Create a 10-second file and add 60 BPM information (MuseHub style):"
44 << std::endl;
45 std::cout << "riff-test-util output.wav 10.0 MuseHub 60.0" << std::endl
46 << std::endl;
47
48 std::cout
49 << "Create a 10-second file and specify 16 beats (SoundForge style):"
50 << std::endl;
51 std::cout << "riff-test-util output.wav 10.0 SoundForge 16.0" << std::endl
52 << std::endl;
53
54 std::cout << "Create a 3-second one-shot file:" << std::endl;
55 std::cout << "riff-test-util output.wav 3.0 SoundForge one-shot" << std::endl
56 << std::endl;
57}
UTILITY_API const char *const * argv
A copy of argv; responsibility of application startup to assign it.

References CommandLineArgs::argv.

Referenced by main().

Here is the caller graph for this function: