# Core API - ChannelGroup::getChannel range

**URL:** <https://qa.fmod.com/t/core-api-channelgroup-getchannel-range/15520>\
**Category:** FMOD Engine\
**Created:** [March 4, 2020, 2:00am UTC](https://qa.fmod.com/t/core-api-channelgroup-getchannel-range/15520 "2020-03-04T02:00:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nonexistent](https://avatars.discourse-cdn.com/v4/letter/n/d07c76/32.png) [@nonexistent](https://qa.fmod.com/u/nonexistent)\
**Post date:** [March 4, 2020, 2:00am UTC](https://qa.fmod.com/t/core-api-channelgroup-getchannel-range/15520/1 "2020-03-04T02:00:02Z")

</div>

[https://fmod.com/resources/documentation-api?version=2.0&page=core-api-channelgroup.html#channelgroup\_getchannel](https://fmod.com/resources/documentation-api?version=2.0&page=core-api-channelgroup.html#channelgroup_getchannel) the range specifies [0, ChannelGroup::getNumChannels]. Is that correct or is it supposed to be [0, ChannelGroup::getNumChannels)? It doesn’t seem like ChannelGroup::getNumChannels itself should be included given that it’s a count and not an index.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [March 10, 2020, 12:42am UTC](https://qa.fmod.com/t/core-api-channelgroup-getchannel-range/15520/2 "2020-03-10T00:42:38Z")

</div>

Thanks very much for pointing this out. You are correct and it’s not just `ChannelGroup::getChannel`, other get functions have this same mistake. I have created a task to fix all occurrences of this in the docs.

---

<div class="post-metadata">

**Author:** ![nonexistent](https://avatars.discourse-cdn.com/v4/letter/n/d07c76/32.png) [@nonexistent](https://qa.fmod.com/u/nonexistent)\
**Post date:** [March 10, 2020, 1:59am UTC](https://qa.fmod.com/t/core-api-channelgroup-getchannel-range/15520/3 "2020-03-10T01:59:43Z")

</div>

Thanks!
