Allow ZC file upload. [Bat related]

I record bats (Chiroptera). The recording format is ZC (".zc" file extension for zero-crossing files). The ability to upload direct evidence in the form of ZC files, would greatly improve the ease and reliability bat species identification.

A ZC file is rarely over 30KB, and typically around 10KB or 15KB. Only a very small fraction of the same information can be uploaded as graphic images, and it can take ten’s of images to even start to approximate the data inherent in a ZC file.

End the discrimination in against sound recordings. You will make many bat researchers very happy if you allow the posting of ZC files.

If ZC files are sound files, what is the difference between them and other sound file types such as WAV or MP3? Is it possible to convert to one of those?

“Discrimination” seems a bit too strong of a term to use here. Sound uploads, of wav, mp4, and m4a files, have been supported for years by iNaturalist. This is the first time I’ve fielded a request for zc file support, so it hasn’t been something on our radar. If you can, please send a zc file or to to help@inaturalist.org so we can take a look at the file. If the zc file can be converted into a file format supported by iNat, that would also be helpful to know.

6 Likes

Here is an example of a bat detector:

https://batdetecting.blogspot.com/2019/07/review-of-anabat-swift-bat-detector_5.html

It can record frequencies up to 155 kHz.

I am not shure that common computers can play ultrasound, and if they can nobody can here it.

2 Likes

A zero crossing file is not really a recording, it is a much smaller file that captures only some specific information related to bat calls. I don’t think you can even listen to it in any meaningful way? The only way for anyone to use that file to confirm the ID is by downloading it and analysing it in certain software. Seems to be a very different thing from the photos and recordings iNat currently supports.

2 Likes

To answer some questions:

Q: If ZC files are sound files, what is the difference between them and other sound file types such as WAV or MP3?
A: ZC files are generally much smaller, and therefore use less resources. There is no advantage in converting them to WAV.or MP3.

Q: Can you send a zc file or to to help@inaturalist.org?
A: Yes will do.

Q: Can common computers can play ultrasound, and if so can people here it?

A: Yes. Virtually all non specialist computers can play ultra sound, but PCs built prior to 1984 may have problems obtaining software. Virtually all Android, iOS, and Windows phones can as well. Most bat call analysts don’t listen to ultra sound, they look at it! But it’s easy to listen to if you want, just slow down the playback.

Q; Is a zero crossing file is really a recording?

A: Yes! Anything that is recorded is a recording!

Q: Is zerocrossing (ZC) a smaller file that captures only some specific information related to bat calls?

A: Yes. Its small file size is one of it’s greatest advantages, leading to big cost savings, and is why many researchers and armatures chose it over WAV.

Q: The only way for anyone to use that file to confirm the ID is by downloading it and analysing it in certain software. Seems to be a very different thing from the photos and recordings iNat currently supports?

A: Not at all. To view photos on a PC you need to install software for viewing photos (or have someone do it for you). To view ZC files you need to install software for viewing ZC files (or have someone do it for you). See! No difference, its exactly the same! No data of any type can be viewed on a computer until you (or someone) installs software to view it. If you don’t do that, you can only look at blank screen. If you are looking at this page now, it’s because you (or someone) Installed software on your computer for viewing web pages.

2 Likes

There would be an advantage if that was the only feasible way for iNaturalist to make them available for “listening” or “viewing” in a generic web browser environment, or in an Android or iOS environment. So it would still be helpful to know if ZC can be converted to WAV or MP3 formats?

Or is there a commonly available browser plug-in that supports ZC format?

To the best of my knowledge there is no common (or uncommon) plug-in that supports bat call analysis in ZC, WAV, MP3 or any other format. With heterodyne you can to some extent analyse the calls auditarily via ordinary sound recordings, but confidence will often be very low.

But you say, quote:

“if that was the only feasible way for iNaturalist to make them available for “listening” or “viewing”…”

Well yes, if that was the only way. But of course it is not the only way! I can see no reason why iRecord can’t make the files available in the same way other sites already make them available, including Facebook, my own local bat groups forum, and hundereds of thousands other sites that make files available for download.

For example, I uplad a ZC file to a post in the bat group forum. Then someone else clicks in that file and either selects “Open in…” to open it immediately in their prefered analysis software, or selects “Seave File” to save it to disk for later analysis. This is basic functionality that is implemented in at least hundereds of thousands of web sites, some of them one person operations. So I don’t see why you are making it sound dificult, or as if some plug-in were necessary.

A zero crossing file is a time/frequency plot. You can convert sound files to ZC files, but the reverse would loose all waveform and volume information. A b note of a certain octave would sound the same regardless of instrument it came from or volume it was originally played at so no one has done such an endeavor.
https://www.titley-scientific.com/us/support/faqs#Question5

I have only found demo software for free that supports it for Windows/Mac/Linux, haven’t found any web-based support for the format.

3 Likes

AnalookW is free for the fully functioning version, and in my opinion is the best software for analysing ZC files. It is available from Titley Scientific, or from the URL below:

https://www.anacraft.online/analookinstaller.php

Do you just look at the spectrogram to analyze the file or is there something else you do? Would bats be identifiable from spectrograms of normal audio recordings?

1 Like

Out-of-the-box computers and web browsers come with software already installed to view the most common photo, audio, and video formats. The main issue is that a ZC file is one among many thousands of niche file formats not supported with the typical built-in software. I don’t expect iNat’s geospatial data uploader for Places to work with my Trimble SSF or COR file types, so I convert them to KML before uploading.

Perhaps there should be an “other media” allowance where files types for supporting evidence such as ZC files and other things like genetic data could be uploaded.

8 Likes

I’m not interested in supporting types of evidence that cannot be viewed in a browser without installing special software, and I’m also not particularly interested in types of evidence that only a very tiny minority of users will upload. So while I don’t think we should reject the possibility of ZC file support out of hand, I would want to see these things before really even considering it:

  1. A JavaScript / node package for visualizing / playing ZC data in the browser, OR some command line tool for converting ZC files into something a browser can play, like an M4A. A cursory search didn’t turn up anything like this, so I suspect someone would have to write one.
  2. Support for this beyond a single person

FWIW, it’s not even clear to me if ZC is anything more than a proprietary or ad hoc file format used by a few companies that make bat recorders, i.e. not exactly a standard. The closest thing to a specification I could find was the source of this R module for reading ZC data, which is cool, but at present R isn’t something I’m psyched about incorporating into our server infrastructure.

4 Likes

I would like to make a follow up request for ZC calls - the addition of that upload capacity would greatly improve bat researchers ability to confirm the locations of bat species, including endangered species. Bat calls can’t be identified in a browser- they are highly variable and while there are some easy ID’s, most take (free) software to analyse. With just a screenshot species are almost always misdentified or unable to be narrowed down- which means that while bat experts, students and enthusiasts try and use inaturalist for species presence, without having a full acoustic recording (often comes in the form of a ZC file) that can be opened in a software as a spectogram and measured, most inaturalist posts aren’t usable. ZC files aren’t ad hoc- they are the most commonly used in Australia, so adding in the ZC file upload capability would dramatically improve insectivorous bat records for the world, but mostly for a whole continent. This could dramatically improve our ability to save endangered bat species, if people could easily upload a full sound file with details that could be verified by other bat sound ID enthusiasts and experts, we could use these records to push for further surveys and stop development. In summary: 1. Bat call ID is just fundamentally different than most other species since it can take measurements of characteristics in specialised software 2. screenshots of call spectograms are limited and can’t show the full call, which is critical as bats change their calls second to second based on their environment 3. ZC files aren’t niche, they’re widely used in Australia and internationally, 4. While bats don’t make up the majority of observations, they are a hugely important order, eat lots of disease causing mosquitos and deserve to benefit from the amazing resource that is inaturalist.
I’m happy to discuss this with you further @kueda and introduce you to the wonderful world of bat calls identification! I and lots of other bat enthusiasts, conservationists, ecologists and researchers would really appreciate your help!

Honestly if iNat was to improve support for bat recording, it should be through good support for full spectrum audio. ZC files are an obsolete old timey format, born from the times when full spectrum recording would have made too large files. Today, this is not a problem and there is no need to use patchwork solutions auch as ZC files, which needlessly throw away a big chunk of the information in the sound.

2 Likes

Do you have examples of these file types?

iNaturalist already supports full spectrum recordings via WAV. you can easily convert such a file to whatever other specialty format you like. if bat folks want ZC for some reason, my thought is that someone should just write something that will convert WAV to ZC.

i’m not a bat person, but this seems right to me. given the right microphone and WAV recorder / software, you should be able to record bat calls just fine without having to use ZC (or any other specialty format).

i’m seeing online deals for 2- and 3-packs of 32GB SD cards (from respectable brands) for $12. each should be able to hold many hours of WAV recordings. so if you’re already spending money for specialty microphones and other gear, i don’t see how the cost of storage is going to be the thing that breaks the bank.

1 Like

That’s what I thought.

To be fair there, iNat technically allows upload of full-spectrum audio WAV files, but … then what? The file is there, but you need to downloaded and use specialist software. You can, obviously, play it in browser, but there is nothing to hear (unless you are a bat? … jokes aside, no speaker/headphones is even gonna play the relevant frequencies anyway).

in an ideal world, i think that’s where this would come in: https://forum.inaturalist.org/t/automatically-add-a-spectrogram-view-to-observations-with-sounds/3579.

i think the same problem would be true of ZC files though. even if you could upload ZC, you still would have to download and use some sort of software on your own machine to be able to interpret anything from the file.

3 Likes