CH_TRACK(1)

πŸ’– CH_TRACK(1) β€” the girlies' guide to changing/copying track files πŸ’–

okay so before we even start: this page lives in the General Commands Manual (section 1, as the (1) is giving ✨), and it's your bestie ch_track β€” the one who changes/copies track files πŸŽ€. Buckle up, we're doing this properly.


✨ NAME ✨

ch_track β€” change/copy track file. that's it, that's the vibe πŸ’…


🌸 SYNOPSIS 🌸

ch_track [-h] [-itype file type] [-ctype contour type]
         [-s frame spacing] [-c channels] [-start time] [-end time]
         [-from frame] [-to frame] [-o file] [-otype file type]
         [-S frame spacing] [-info] [-track_names file] [-diff]
         [-delta length] [-sm time] [-smtype median | mean]
         [-style style] [-t threshold] [-neg label] [-pos label]
         [-pc longest | first] input file

note the input file sitting there at the very end, no brackets, no dash β€” she's required, bestie, you can't skip her πŸ™ˆ


πŸ¦‹ DESCRIPTION πŸ¦‹

ch_track</purl> copies an input track file to an output track file, and honestly? she's flexible like that πŸ’… β€” you can optionally have her do a whole lil' glow-up of operations along the way.

The following option flags are recognized:

  • -h β€” print a short summary of options to standard output. lowkey the "who dis" button 🫢
  • -itype file type β€” input file type, optional. If you don't specify a type, the type is automatically derived from the input file's header (she reads the room, fr fr). Heads up: the list of supported types may depend on your particular Speech Tools installation β€” for a full listing, go look at the output of the -h option πŸ‘‘
  • -ctype F0 | track β€” contour type, either F0 (fundamental frequency) or track. pick your fighter πŸ₯Š
  • -s time β€” frame spacing of input in seconds, for an unheadered input file. (headered files already know their spacing, she's self-aware πŸ’…)
  • -c channels β€” select a subset of channels (starting from 0). Tracks can have multiple channels, and this option specifies a list of channel numbers which are to be used for processing. so like, pick your faves ✨
  • -start time β€” extract track starting at this time, specified in seconds ⏰
  • -end time β€” extract track ending at this time, specified in seconds πŸ›‘
  • -from frame β€” extract track starting at this offset, specified in frames
  • -to frame β€” extract track ending at this offset, specified in frames
  • -o file β€” filename to write output to. Defaults to standard output β€” so if you don't say where, she just yells it into the void (a.k.a. your terminal) 😭
  • -otype file type β€” output file type. If unspecified, ascii is assumed. For the full list of supported types, see the output of the -h option πŸ“‹
  • -S time β€” frame spacing of output in seconds. If this is different from the input spacing, the contour will be resampled. ✨ glow-up arc ✨
  • -info β€” print information about the input file and its headers. This option gives useful information such as file length, file type, and channel names. No other actions are taken, and no output file produced β€” she's just here to spill the tea, not to write anything πŸ’€
  • -track_names file β€” file containing new names for output channels. rebranding era πŸŽ€
  • -diff β€” differentiate contour. This performs simple numerical differentiation on the contour by subtracting the amplitude of the current frame from the amplitude of the next. > okay bestie, real talk: although quick, this technique is crude and not recommended, because the estimation of the derivate is done on only one point πŸ™ˆ she said "good enough" and honestly it is not
  • -delta length β€” make delta coefficients (the better form of differentiation πŸ‘‘). The argument to this option is the regression length of the delta calculation and can be between 2 and 4. respect the range, no cap.
  • -sm time β€” length of smoothing window in seconds. Various types of smoothing are available for tracks. This option specifies length of the smoothing window, which affects the degree of smoothing β€” i.e. a longer value means more smoothing. ✨ blurred, but make it fashion ✨
  • -smtype median | mean β€” type of smoothing. choose your energy 🧚
  • -style style β€” convert track to another form. Currently only one form, "label", is supported. This uses a specified cutoff to make a label file, with two labels: one for above the cutoff (see the -pos option), and one for below (see the -neg option). two labels, one iconic divide πŸ’…
  • -t threshold β€” threshold for track to label conversion. the cutoff in question 🎯
  • -neg label β€” name of negative label in track to label conversion
  • -pos label β€” name of positive label in track to label conversion
  • -pc longest | first β€” combind given tracks in parallel. (yes, "combind" β€” their spelling, not mine, we move πŸ’€) If the option is "longest", pad shorter tracks to longest; else if "first", pad or cut them as appropriate to match the length of the first input track. main character gets to decide the length, obviously πŸ‘‘

🌈 SEE ALSO 🌈

ch_lab(1) ch_utt(1) β€” her two besties, go say hi 🫢


and that's the whole page, bestie! this absolute banger of a manual page is brought to you by Edinburgh Speech Tools, dated April 5, 2001 β€” vintage, but she ate and left no crumbs πŸ‘‘πŸ’œ stay slay, go copy some track files, and remember: no output file for -info, no cap πŸŽ€βœ¨