Changeset bcacddc in ammosreader


Ignore:
Timestamp:
07/01/22 11:44:14 (3 years ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
AmmosSource, guix
Children:
577ce87
Parents:
ee95332
Message:

initial version of ammos_reader.py added

Files:
1 added
57 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • sample_scripts/audio_reader.py

    ree95332 rbcacddc  
    2222    print("Frequencies", dat_file.container.frequencies())
    2323    print("Frame types:", dat_file.container.frame_types())
    24     print("Frame sizes:", dat_file.container.frame_sizes())
     24    print("Unique frame sizes", dat_file.container.unique_frame_sizes())
     25    print("Total frame size:", sum(dat_file.container.frame_sizes()))
    2526    print("Homogenic:", dat_file.container.is_homogenic())
    2627    pcm_data = dat_file.pcm_for_channel(0)
Note: See TracChangeset for help on using the changeset viewer.