# 编程

**URL:** https://www.soundengine.cn/c/7-category/17-category/17.md

[最新](https://www.soundengine.cn/latest.md) · [类别](https://www.soundengine.cn/categories.md) · [标签](https://www.soundengine.cn/tags.md)

---

## [About the 技术音频 category](https://www.soundengine.cn/t/about-the-category/19)

<div class="topic-metadata">

**Author:** [@system](https://www.soundengine.cn/u/system)\
**回复:** 0\
**最近更新：:** [2024 年11 月 21 日 12:02 UTC](https://www.soundengine.cn/t/about-the-category/19 "2024-11-21T12:02:12Z")

</div>

处理音效引擎中间件的任务，音频工具开发

---

## [while循环](https://www.soundengine.cn/t/while/174)

<div class="topic-metadata">

**Author:** [@codeman](https://www.soundengine.cn/u/codeman)\
**回复:** 0\
**最近更新：:** [2019 年3 月 20 日 02:07 UTC](https://www.soundengine.cn/t/while/174 "2019-03-20T02:07:48Z")

</div>

a = 0 #先定义变量a，并赋值 while a \< 5: #设定一个放行条件：a要小于5，才能办事 a = a + 1 # 满足条件时，就办事：将a+1 print(a) …

---

## [for循环](https://www.soundengine.cn/t/for/176)

<div class="topic-metadata">

**Author:** [@codeman](https://www.soundengine.cn/u/codeman)\
**回复:** 0\
**最近更新：:** [2019 年3 月 19 日 02:41 UTC](https://www.soundengine.cn/t/for/176 "2019-03-19T02:41:49Z")

</div>

for…in…循环语句 for i in \[1,2,3,4,5\]: print(i) 终端上将依次出现列表里的所有数字 分析 for i in \[1,2,3,4,5\]: #i是“空房间” print(i) 空房间的学…

---

## [列表和字典](https://www.soundengine.cn/t/topic/179)

<div class="topic-metadata">

**Author:** [@codeman](https://www.soundengine.cn/u/codeman)\
**回复:** 0\
**最近更新：:** [2019 年3 月 13 日 15:47 UTC](https://www.soundengine.cn/t/topic/179 "2019-03-13T15:47:21Z")

</div>

列表中提取多个元素 下列:左右两边的数字指的是列表中元素的偏移量，记住偏移量（索引）始终是从0开始的 list2 = \[5,6,7,8,9\] print(list2\[:\]) # 打印出\[5,6,7,8,9\] print(list2\[2…

---

## [python - 函数](https://www.soundengine.cn/t/python/181)

<div class="topic-metadata">

**Author:** [@codeman](https://www.soundengine.cn/u/codeman)\
**回复:** 0\
**最近更新：:** [2019 年3 月 3 日 13:08 UTC](https://www.soundengine.cn/t/python/181 "2019-03-03T13:08:23Z")

</div>

自带函数 比如说当我们需要实现“打印”这个功能，我们会用到print()；当我们需要实现“获取数据长度”这个功能，我们会要到len()。这些都是设定好了，可以直接拿过来就用的功能，这就叫做“组织好的代码”。 函数（Function）能实…

---

## [如何快速打印100遍REAPER](https://www.soundengine.cn/t/100-reaper/205)

<div class="topic-metadata">

**Author:** [@ripa](https://www.soundengine.cn/u/ripa)\
**回复:** 0\
**最近更新：:** [2019 年1 月 17 日 16:28 UTC](https://www.soundengine.cn/t/100-reaper/205 "2019-01-17T16:28:12Z")

</div>

在Python的交互式shell下敲入：:upside\_down\_face: for i in range(100): print("REAPER")
