From dc87afecdf4cc91da3c7b54d60a07f50b4acc4b2 Mon Sep 17 00:00:00 2001 From: Seiji Nakamura Date: Sun, 6 Jul 2025 17:15:07 +0900 Subject: [PATCH] add requirements.txt --- requirements.txt | 5 +++ sbagen-1.4.5/src/Carbon.h | 90 +++++++++++++++++++++++++++++++++++++++ sbagen-alsa | 1 + temp_play.sbg | 23 ++++++++++ 4 files changed, 119 insertions(+) create mode 100644 requirements.txt create mode 100644 sbagen-1.4.5/src/Carbon.h create mode 160000 sbagen-alsa create mode 100644 temp_play.sbg diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e13ea3d --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +cffi==1.17.1 +numpy==2.2.5 +pycparser==2.22 +scipy==1.15.3 +sounddevice==0.5.1 diff --git a/sbagen-1.4.5/src/Carbon.h b/sbagen-1.4.5/src/Carbon.h new file mode 100644 index 0000000..b35d1fa --- /dev/null +++ b/sbagen-1.4.5/src/Carbon.h @@ -0,0 +1,90 @@ +/* + File: Carbon/Carbon.h + + Contains: Master include for all of Carbon + + Version: Carbon-152~3507 + + Copyright: © 2000-2008 by Apple Computer, Inc., all rights reserved. + + Bugs?: For bug reports, consult the following page on + the World Wide Web: + + http://developer.apple.com/bugreporter/ + +*/ +#ifndef __CARBON__ +#define __CARBON__ + +#ifndef __CORESERVICES__ +#include +#endif + +#ifndef __APPLICATIONSERVICES__ +#include +#endif + + +#ifndef __HITOOLBOX__ +#include +#endif + +#if !__LP64__ +#ifndef __CARBONSOUND__ +#include +#endif + +#endif /* !__LP64__ */ + +#ifndef __OPENSCRIPTING__ +#include +#endif + +#ifndef __PRINT__ +#include +#endif + +#if !__LP64__ +#ifndef __NAVIGATIONSERVICES__ +#include +#endif + +#endif /* !__LP64__ */ + +#ifndef __COMMONPANELS__ +#include +#endif + +#if !__LP64__ +#ifndef __HTMLRENDERING__ +#include +#endif + +#endif /* !__LP64__ */ + +#ifndef __SPEECHRECOGNITION__ +#include +#endif + +#ifndef __SECURITYHI__ +#include +#endif + +#ifndef __INK__ +#include +#endif + +#ifndef __HELP__ +#include +#endif + +#ifndef __IMAGECAPTURE__ +#include +#endif + + + + + +#endif /* __CARBON__ */ + diff --git a/sbagen-alsa b/sbagen-alsa new file mode 160000 index 0000000..f3602f9 --- /dev/null +++ b/sbagen-alsa @@ -0,0 +1 @@ +Subproject commit f3602f99433d846f9222ed3506097cd48c16c0d5 diff --git a/temp_play.sbg b/temp_play.sbg new file mode 100644 index 0000000..0b075c0 --- /dev/null +++ b/temp_play.sbg @@ -0,0 +1,23 @@ +; === SBaGen ãƒãƒ¼ãƒˆã‚·ãƒ¼ãƒˆ === +; 書å¼: 時間 å·¦-å³ ãƒãƒ£ãƒ³ãƒãƒ« オプション +; 例: +0:00:00 400-410 L + +; å·¦400Hz, å³410Hz → 10Hzビート(L=左基準) ++0:00:00 400-410 L + +; 時間経éŽå¾Œã®å‘¨æ³¢æ•°å¤‰åŒ–(10分後ã«420Hz/430Hzã¸ï¼‰ ++0:10:00 420-430 L + +; 音声終了(20分後) ++0:20:00 off + +; 背景音ã®è¿½åŠ ï¼ˆæœ€åˆã«è¨˜è¿°ï¼‰ +_ = mix(nature.wav, 0.3) + +; ノイズを加ãˆã‚‹ï¼ˆä¾‹: white, pink) +_ = mix(white, 0.1) + +; ãƒãƒ£ãƒ³ãƒãƒ«æŒ‡å®š: +; L = å·¦ãƒ™ãƒ¼ã‚¹ï¼ˆå·¦è€³ã«æŒ‡å®šå‘¨æ³¢æ•°ã€å³ã« +差分) +; R = å³ãƒ™ãƒ¼ã‚¹ +; S = ステレオ完全分離(å„耳ã«åˆ¥ã®å‘¨æ³¢æ•°ï¼‰ \ No newline at end of file