nussl/core/efz_utils.py
def print_available_audio_files():
    """
    Prints a message to the console that shows all of the available audio files that are on the
    nussl External File Zoo (EFZ) server (http://nussl.ci.northwestern.edu/).

    See Also:
        * :func:`get_available_audio_files` to get this same data from the EFZ server as a list.
        * :func:`download_audio_file` to download an audio file from the EFZ.

    Example:
        >>> import nussl
        >>> nussl.efz_utils.print_available_audio_files()
        File Name                                Duration (sec)  Size       Description
        dev1_female3_inst_mix.wav                10.0            1.7MiB     Instantaneous mixture of three female speakers talking in a stereo field.
        dev1_female3_synthconv_130ms_5cm_mix.wav 10.0            1.7MiB     Three female speakers talking in a stereo field, with 130ms of inter-channel delay.
        K0140.wav                                5.0             431.0KiB   Acoustic piano playing middle C.
        K0149.wav                                5.0             430.0KiB   Acoustic piano playing the A above middle C. (A440)

    To download one of these files insert the file name as the first parameter to
    :func:`download_audio_file`, like so:

    >>> nussl.efz_utils.download_audio_file('K0140.wav')

    """
    file_metadata = get_available_audio_files()

    print(f'{"File Name":40} {"Duration (sec)":15} {"Size":10} {"Description":50}')
    for info in file_metadata:
        print(
            f'{info["file_name"]:40} {info["file_length_seconds"]:15} {info["file_size"]:10}'
            f' {info["file_description"]:50}'
        )
    print('To download one of these files insert the file name '
          'as the first parameter to nussl.download_audio_file(), like so: \n'
          ' >>> nussl.efz_utils.download_audio_file(\'K0140.wav\')')

    Prints a message to the console that shows all of the available audio files that are on the
    nussl External File Zoo (EFZ) server (http://nussl.ci.northwestern.edu/).

    See Also:
        * :func:`get_available_audio_files` to get this same data from the EFZ server as a list.
        * :func:`download_audio_file` to download an audio file from the EFZ.

    Example:
        >>> import nussl
        >>> nussl.efz_utils.print_available_audio_files()
        File Name                                Duration (sec)  Size       Description
        dev1_female3_inst_mix.wav                10.0            1.7MiB     Instantaneous mixture of three female speakers talking in a stereo field.
        dev1_female3_synthconv_130ms_5cm_mix.wav 10.0            1.7MiB     Three female speakers talking in a stereo field, with 130ms of inter-channel delay.
        K0140.wav                                5.0             431.0KiB   Acoustic piano playing middle C.
        K0149.wav                                5.0             430.0KiB   Acoustic piano playing the A above middle C. (A440)

    To download one of these files insert the file name as the first parameter to
    :func:`download_audio_file`, like so:

    >>> nussl.efz_utils.download_audio_file('K0140.wav')

    
Prints a message to the console that shows all of the available audio files that are on the
nussl External File Zoo (EFZ) server .

See Also:
:func:`get_available_audio_files` to get this same data from the EFZ server as a list.
:func:`download_audio_file` to download an audio file from the EFZ.



To download one of these files insert the file name as the first parameter to
Prints a message to the console that shows all of the available audio files that are on the nussl External File Zoo ( EFZ ) server . See Also : : func : ` get_available_audio_files ` to get this same data from the EFZ server as a list . : func : ` download_audio_file ` to download an audio file from the EFZ . To download one of these files insert the file name as the first parameter to
def print_available_audio_files():
    file_metadata = get_available_audio_files()
    print(f'{"File Name":40} {"Duration (sec)":15} {"Size":10} {"Description":50}')
    for info in file_metadata:
        print(
            f'{info["file_name"]:40} {info["file_length_seconds"]:15} {info["file_size"]:10}'
            f' {info["file_description"]:50}'
        )
    print('To download one of these files insert the file name '
          'as the first parameter to nussl.download_audio_file(), like so: \n'
          ' >>> nussl.efz_utils.download_audio_file(\'K0140.wav\')')
def print_available_audio_files ( ) : file_metadata = get_available_audio_files ( ) print ( f'{"File Name":40} {"Duration (sec)":15} {"Size":10} {"Description":50}' ) for info in file_metadata : print ( f'{info["file_name"]:40} {info["file_length_seconds"]:15} {info["file_size"]:10}' f' {info["file_description"]:50}' ) print ( 'To download one of these files insert the file name ' 'as the first parameter to nussl.download_audio_file(), like so: \n' ' >>> nussl.efz_utils.download_audio_file(\'K0140.wav\')' )
Prints a message to the console that shows all of the available audio files that are on the
nussl External File Zoo (EFZ) server (http://nussl.ci.northwestern.edu/).
Prints a message to the console that shows all of the available audio files that are on the nussl External File Zoo ( EFZ ) server ( http : // nussl . ci . northwestern . edu / ) .
"""
    Prints a message to the console that shows all of the available audio files that are on the
    nussl External File Zoo (EFZ) server (http://nussl.ci.northwestern.edu/).

    See Also:
        * :func:`get_available_audio_files` to get this same data from the EFZ server as a list.
        * :func:`download_audio_file` to download an audio file from the EFZ.

    Example:
        >>> import nussl
        >>> nussl.efz_utils.print_available_audio_files()
        File Name                                Duration (sec)  Size       Description
        dev1_female3_inst_mix.wav                10.0            1.7MiB     Instantaneous mixture of three female speakers talking in a stereo field.
        dev1_female3_synthconv_130ms_5cm_mix.wav 10.0            1.7MiB     Three female speakers talking in a stereo field, with 130ms of inter-channel delay.
        K0140.wav                                5.0             431.0KiB   Acoustic piano playing middle C.
        K0149.wav                                5.0             430.0KiB   Acoustic piano playing the A above middle C. (A440)

    To download one of these files insert the file name as the first parameter to
    :func:`download_audio_file`, like so:

    >>> nussl.efz_utils.download_audio_file('K0140.wav')

    """
func
`download_audio_file`, like so:
>>> nussl.efz_utils.download_audio_file('K0140.wav')
` download_audio_file ` like so : >>> nussl . efz_utils . download_audio_file ( ' K0140 . wav ' )