# Creating Music for CDDA

**URL:** <https://discourse.cataclysmdda.org/t/creating-music-for-cdda/26046>\
**Category:** The Toolbox\
**Created:** [March 8, 2021, 12:57am UTC](https://discourse.cataclysmdda.org/t/creating-music-for-cdda/26046 "2021-03-08T00:57:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Foqus](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/foqus/32/9295_2.png) [@Foqus](https://discourse.cataclysmdda.org/u/Foqus)\
**Post date:** [March 8, 2021, 12:57am UTC](https://discourse.cataclysmdda.org/t/creating-music-for-cdda/26046/1 "2021-03-08T00:57:38Z")

</div>

Greetings all!!  
I have a few questions in concern with creating music for CDDA

1. Are there any things that I need to consider such as file size, bit/sample rate. file format etc.
2. I also noticed in ChestHole’s sound pack, there were separate folders for specific themes. Is there a particular reason for this.
3. What are my options in triggering certain tracks for specific scenarios? For example, could I set up music to play when a zombie is in the player’s view (I’m guessing that this is what the “Danger” music is for) and can I change the music once the player has been spotted? also things such as day and night time and maybe even seasonal music.

---

<div class="post-metadata">

**Author:** ![BenJoneWert](https://avatars.discourse-cdn.com/v4/letter/b/ec9cab/32.png) [@BenJoneWert](https://discourse.cataclysmdda.org/u/BenJoneWert)\
**Post date:** [March 8, 2021, 4:09am UTC](https://discourse.cataclysmdda.org/t/creating-music-for-cdda/26046/2 "2021-03-08T04:09:31Z")

</div>

我不是游戏开发者或者制作参与者，但对于音乐这件事我有一些自己的看法  
第一和第二个问题我无法为您解答，第三个问题:你没有选择，无法设置，这是程序写好的随机但不连续播放。地址为Android/data/com.cleverraven.cataclysmdda/files/data/sound/（音乐包）。有能力可以将民间和官方的多种包体混合，需要敲代码！  
我不建议玩家可以随时切换BGM这个功能出现，容易让世界看起来更主动而失真。但其实可以出唱片或者营地/基地特殊而又温馨的音乐让玩家放松片刻，睡觉也可以！如果没法做到视觉盛宴最少也要高自由度和听觉享受，因此CDDA的开发之路还远远没有止步。  
ps:可以建筑的东西少了，对于这类喜爱自定义营地的人们来说可能很恼火。  
希望我的回答可以帮到你！

---

<div class="post-metadata">

**Author:** ![Foqus](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/foqus/32/9295_2.png) [@Foqus](https://discourse.cataclysmdda.org/u/Foqus)\
**Post date:** [March 8, 2021, 4:41am UTC](https://discourse.cataclysmdda.org/t/creating-music-for-cdda/26046/3 "2021-03-08T04:41:50Z")

</div>

_Really bad translation on my part_

> [@BenJoneWert](#):
>
> am not a game developer or production participant, but I have some opinions about music  
> I can’t answer the first and second questions for you. The third question: You have no choice and cannot be set. This is a random but non-continuous play that is written by the program. The address is Android/data/com.cleverraven.cataclysmdda/files/data/sound/ (music package). Have the ability to mix a variety of private and official packages, you need to type code!  
> I don’t recommend that players can switch the BGM feature to appear at any time, which can easily make the world look more active and distorted. But in fact, you can play records or camp/base special and warm music to let players relax for a while, and sleep! If you can’t achieve a visual feast, you need a high degree of freedom and aural enjoyment, so the development of CDDA is far from stopping.  
> ps: There are fewer things that can be built, which may be very annoying for people who like to customize camps.  
> Hope my answer can help you!

Thank you for the feedback. I noted that ChestHole’s soundpack changes music based on the danger level so I figured that there would be more options like that.

---

<div class="post-metadata">

**Author:** ![BenJoneWert](https://avatars.discourse-cdn.com/v4/letter/b/ec9cab/32.png) [@BenJoneWert](https://discourse.cataclysmdda.org/u/BenJoneWert)\
**Post date:** [March 8, 2021, 5:06am UTC](https://discourse.cataclysmdda.org/t/creating-music-for-cdda/26046/4 "2021-03-08T05:06:16Z")

</div>

是的，僵尸越多音乐会更加的“疯狂”和“快节奏”，让玩家投入到战斗中或者想办法…逃跑！  
对于翻译，很抱歉，我会尽力用能够读懂的文字来向你呈现！
