# 資料庫 + 音量調整 ###### tags: `Speaker` `System` - 假定音箱以 Python 作為主要開發語言,因此多以 Python 相關 Database 資料為主 - 搭配 Python 的資料庫相關網路資源,大多以 SQL 較多,但有找到 MongoDB 完整的 tutorials - 不確定我們的資料庫是否有需要跟前端的串連 - 需要本地存取的東西(視 feature 的需求而定) - 行程? - 備忘錄? - 語音文字轉換 - 可離線 - 文字理解 - 可離線 ## 音量 [通過Ubuntu命令行控製音頻音量](https://ubuntuqa.com/zh-tw/article/7344.html) ## 實作細節 - 確認本地需存取資料格式 - 雙聲道的 ID ? - 聯絡人? - 離線行程通知 - 問答資料? - ## DataBase ### [Using SQL vs NoSQL Databases](https://realpython.com/introduction-to-mongodb-and-python/#using-sql-vs-nosql-databases) ![](https://i.imgur.com/btncHuT.png =x500) - [ACID](https://zh.wikipedia.org/wiki/ACID) - 都支援 - NoSQL 明確怎麼做還不清楚 - SQL 使用 TRIGGER 等 - Some common examples of databases include: - SQL - SQLite - MySQL - Oracle - PostgreSQL - Microsoft SQL Server - NoSQL database examples include: - NoSQL - DynamoDB - Cassandra - Redis - CouchDB - RethinkDB - RavenDB - MongoDB - runs on all major platforms, such as macOS, Windows, Solaris, and most Linux distributions. ## Python - [Python Database Tutorials](https://realpython.com/tutorials/databases/) - 主要是 Python + MongoDB ### SQL #### MySQL - [Python - MySQL Database Access](https://www.tutorialspoint.com/python/python_database_access.htm) - [Python 使用 MySQL 的教學(w3schools)](https://www.w3schools.com/python/python_mysql_create_db.asp) - [Python 使用 MySQL資料庫的教學與安裝](https://www.maxlist.xyz/2018/09/23/python_mysql/) - [Python Azure SQL](https://docs.microsoft.com/zh-tw/azure/azure-sql/database/connect-query-python) - [Python SQLite](https://realpython.com/python-contact-book/) - 用 Python, PyQt, and SQLite 做通訊錄的文章 - 這樣或許可以離線打電話?但沒連網可以連到手機嗎?