INTERACT FORUM

More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: rael71 on August 15, 2014, 10:16:06 am

Title: Sample rate in KHz
Post by: rael71 on August 15, 2014, 10:16:06 am
Hi,

is it possible to show the field "Sample rate" in KHz instead of Hz?

Thanks

Andrea
Title: Re: Sample rate in KHz
Post by: adamt on August 15, 2014, 10:27:13 am
Here is a link to someone that did the same :
http://yabb.jriver.com/interact/index.php?topic=75874.0
Title: Re: Sample rate in KHz
Post by: rael71 on August 15, 2014, 10:35:36 am
Thank you!!!

Bye

Andrea
Title: Re: Sample rate in KHz
Post by: 6233638 on August 15, 2014, 07:15:41 pm
Code: (Audio Format) [Select]
If(IsEqual([File Type,0],sacd,1),1-bit/, 2.8 MHz,
Delimit([Bit Depth],-bit,)If(IsRange([Sample Rate,0],1000-999999),
   Delimit(Math([Sample Rate,0]/1000),/ kHz,/,/ ),
   If(IsRange([Sample Rate,0],1000000-9999999),
   Delimit(Math(trunc([Sample Rate,0]/1000000,1)),/ MHz,/,/ ),)))
Title: Re: Sample rate in KHz
Post by: rael71 on August 16, 2014, 06:55:45 am
Quote
Code: (Audio Format)
If(IsEqual([File Type,0],sacd,1),1-bit/, 2.8 MHz,
Delimit([Bit Depth],-bit,)If(IsRange([Sample Rate,0],1000-999999),
   Delimit(Math([Sample Rate,0]/1000),/ kHz,/,/ ),
   If(IsRange([Sample Rate,0],1000000-9999999),
   Delimit(Math(trunc([Sample Rate,0]/1000000,1)),/ MHz,/,/ ),)))

Thank you, this is even better!!!!

Bye

Andrea