comparison base/RealTime.h @ 494:81963c51b488

* Add ability to export a transform structure as RDF -- for use when exporting data from runner, so as to refer back to the generating transform from the audio features rdf * some improvements to pane & layer management when importing rdf, but it's all still a big hack here
author Chris Cannam
date Tue, 25 Nov 2008 17:46:02 +0000
parents beb2948baa77
children 75f154085a4d
comparison
equal deleted inserted replaced
493:3931711b5671 494:81963c51b488
131 * like "6s" (for less than a minute) or "2:21" (for more). 131 * like "6s" (for less than a minute) or "2:21" (for more).
132 */ 132 */
133 std::string toSecText() const; 133 std::string toSecText() const;
134 134
135 /** 135 /**
136 * Return a string in xsd:duration format.
137 */
138 std::string toXsdDuration() const;
139
140 /**
136 * Convert a RealTime into a sample frame at the given sample rate. 141 * Convert a RealTime into a sample frame at the given sample rate.
137 */ 142 */
138 static long realTime2Frame(const RealTime &r, unsigned int sampleRate); 143 static long realTime2Frame(const RealTime &r, unsigned int sampleRate);
139 144
140 /** 145 /**