add requirements.txt

This commit is contained in:
Seiji Nakamura
2025-07-06 17:15:07 +09:00
parent 33284ef5ac
commit dc87afecdf
4 changed files with 119 additions and 0 deletions

5
requirements.txt Normal file
View File

@@ -0,0 +1,5 @@
cffi==1.17.1
numpy==2.2.5
pycparser==2.22
scipy==1.15.3
sounddevice==0.5.1

90
sbagen-1.4.5/src/Carbon.h Normal file
View File

@@ -0,0 +1,90 @@
/*
File: Carbon/Carbon.h
Contains: Master include for all of Carbon
Version: Carbon-152~3507
Copyright: <20> 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 <CoreServices/CoreServices.h>
#endif
#ifndef __APPLICATIONSERVICES__
#include <ApplicationServices/ApplicationServices.h>
#endif
#ifndef __HITOOLBOX__
#include <HIToolbox/HIToolbox.h>
#endif
#if !__LP64__
#ifndef __CARBONSOUND__
#include <CarbonSound/CarbonSound.h>
#endif
#endif /* !__LP64__ */
#ifndef __OPENSCRIPTING__
#include <OpenScripting/OpenScripting.h>
#endif
#ifndef __PRINT__
#include <Print/Print.h>
#endif
#if !__LP64__
#ifndef __NAVIGATIONSERVICES__
#include <NavigationServices/NavigationServices.h>
#endif
#endif /* !__LP64__ */
#ifndef __COMMONPANELS__
#include <CommonPanels/CommonPanels.h>
#endif
#if !__LP64__
#ifndef __HTMLRENDERING__
#include <HTMLRendering/HTMLRendering.h>
#endif
#endif /* !__LP64__ */
#ifndef __SPEECHRECOGNITION__
#include <SpeechRecognition/SpeechRecognition.h>
#endif
#ifndef __SECURITYHI__
#include <SecurityHI/SecurityHI.h>
#endif
#ifndef __INK__
#include <Ink/Ink.h>
#endif
#ifndef __HELP__
#include <Help/Help.h>
#endif
#ifndef __IMAGECAPTURE__
#include <ImageCapture/ImageCapture.h>
#endif
#endif /* __CARBON__ */

1
sbagen-alsa Submodule

Submodule sbagen-alsa added at f3602f9943

23
temp_play.sbg Normal file
View File

@@ -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 = ステレオ完全分離(各耳に別の周波数)