PlaySound 指令 - GeoGebra Manual

文章推薦指數: 80 %
投票人數:10人

PlaySound[ , , ]: Plays a MIDI note. Note is an integer from 0 to 127 that represents a musical note given by the table below. StartGeoGebra CreateActivity CreateBook Upload… CreateGroup JoinGroup Resources Downloads Blog Help Signin 搜尋 頁面討論檢視原始碼歷史不转换简体繁體大陆简体香港繁體澳門繁體大马简体新加坡简体台灣正體 Createlanguagelinks 連結至此的頁面 相關變更 上傳檔案 特殊頁面 固定連結 PlaySound指令 出自GeoGebraManual 前往: 導覽、 搜尋 本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。

如欲編輯,請至本頁的開放版。

PlaySound指令 本文與GeoGebra指令有關。

指令分類(所有指令) 3D_指令 GeoGebra 文字 代數 向量與矩陣 串列 函數與微積分 財務 統計 最佳化 幾何 幾何變換 程式碼 SetValue SetCaption ZoomIn Execute SetActiveView ...以及其他. 圓錐曲線 試算表 圖表 機率 離散數學 邏輯 運算區專用指令 PlaySound[,,] 目前本頁中文說明尚未翻譯完成,請先連至英文說明。

如果您有權限,請幫忙翻譯本頁的官方手冊。

PlaySound[,] 目前本頁中文說明尚未翻譯完成,請先連至英文說明。

如果您有權限,請幫忙翻譯本頁的官方手冊。

PlaySound[] 目前本頁中文說明尚未翻譯完成,請先連至英文說明。

如果您有權限,請幫忙翻譯本頁的官方手冊。

PlaySound[,,] 目前本頁中文說明尚未翻譯完成,請先連至英文說明。

如果您有權限,請幫忙翻譯本頁的官方手冊。

PlaySound[,,,, 目前本頁中文說明尚未翻譯完成,請先連至英文說明。

如果您有權限,請幫忙翻譯本頁的官方手冊。

PlaySound[]] 目前本頁中文說明尚未翻譯完成,請先連至英文說明。

如果您有權限,請幫忙翻譯本頁的官方手冊。

PlaySound[,,] PlaysaMIDInote. Noteisanintegerfrom0to127thatrepresentsamusicalnotegivenbythetablebelow.Whennote=60aMiddleCisplayed. Durationisthetimetoplaythenoteinseconds. Instrumentisanintegerthatrepresentsthesynthesizedinstrumentusedtoplaythenote.Seetechnicalspecificationsatmidi.orgforpossibleinstruments. Mostinstrumentsaresupported,buttherearedifferencesbetweencomputerplatforms. MIDINotes Octave C C# D D# E F F# G G# A A# B 0 0 1 2 3 4 5 6 7 8 9 10 11 1 12 13 14 15 16 17 18 19 20 21 22 23 2 24 25 26 27 28 29 30 31 32 33 34 35 3 36 37 38 39 40 41 42 43 44 45 46 47 4 48 49 50 51 51 53 54 55 56 57 58 59 5 60 61 62 63 64 65 66 67 68 69 70 71 6 72 73 74 75 76 77 78 79 80 81 82 83 7 84 85 86 87 88 89 90 91 92 93 94 95 8 96 97 98 99 100 101 102 103 104 105 106 107 9 108 109 110 111 112 113 114 115 116 117 118 119 10 120 121 122 123 124 125 126 127 PlaySound[,] PlaysasequenceofMIDInotesandcommandsusingaJFuguemusicstring. NoteSequenceisatextstringthatusesJFuguecharactercommands. InstrumentisthedefaultMIDIinstrumentusedwhenthestringisplayed. Thebasiccommandsaregivenbelow.Thefullcommandsetisdescribedin TheCompleteGuidetoJFugue(English). BasicJFugueCommands Character Command A-G Playthemusicalnotegivenbytheletterinoctave5 Forsharpsandflatsaddbor# Tochangeoctavesaddtheoctavenumber,e.g.A4 Notelengthisaquarternoteunlessspecifiedotherwise [number] PlaytheMIDInotegivenbythenumber(0-127) + Joinnotestogethertoplaytheminharmony,e.g.C+E+G R Rest w,h,q,i,s Addtotheendofanoteorrest;setsthelength w=wholenote h=halfnote q=quarternote i=eighthnote s=sixteenthnote /n Addtoanoteorrest;setsthelengthton(adecimalnumber) /1=wholenote /.5=halfnote /.25=quarternote /2=twomeasures I[number] Settheinstrument V Vfollowedbyanumberfrom0to15setstheMIDIchannel."V9"setstheMIDIpercussionchannel. Space Playthepreviousnote,combinationofnotesorrest. 範例:PlaySound["C+E+GRwAiBiCiA4iB4iC4i",0] PlaysaquarternotechordCEG;restsforawholenote;playstheeighthnotesA,B,C;playsthemagainoneoctavelower. Pianoinstrumentisused. 範例:PlaySound["I[56]C5qD5qI[71]G5qF5q",0] Playsnoteswithdifferentinstruments.Trumpet=56andClarinet=71. 範例:PlaySound["V0A3qB3qC3qB3qV1A2hC2h",0] Playsnotesinharmonywithdifferentvoices. PlaySound[] PlaysaMIDIfile(*.mid)oratextfile(*.txt)containingaJFuguestring. "File"isthedirectorypathtothisfile,e.g.PlaySound["path/to/myFile.mid"] PlaySound[,,] PlaysasoundgeneratedbyFunction,atime-valuedfunctionwithrange[-1,1].ThetimeunitsaresecondsandthesoundisplayedfromtimeMinValuetoMaxValue.Soundisgeneratedby8-bitsamplestakenatarateof8000samplespersecond. 範例:PlaySound[sin(4402Pix),0,1] Thisplaysapuresinewavetoneat440Hz(musicalnoteA)foronesecond. PlaySound[,,,,] PlaysasoundgeneratedbyFunction,atime-valuedfunctionwithrange[-1,1].ThetimeunitsaresecondsandthesoundisplayedfromtimeMinValuetoMaxValue.Thesamplingmethodisspecifiedby"SampleDepth"and"SampleRate". "SampleRate"isthenumberofsamplefunctionvaluestakeneachsecond.Allowablevaluesare8000,11025,16000,22050,or44100 "SampleDepth"isthedatasizeofasampleinbits.Allowablevaluesare8and16. PlaySound[] Pauseorresumeplay. PlaySound[true]=play,PlaySound[false]=pause. 取自「http://wiki.geogebra.org/s/zh/index.php?title=PlaySound_指令&oldid=4405」 分類:4.0版官方手冊指令AwaitingTranslation GeoGebra About Team Blog Help Tutorials Forum Manual Partners Partners Institutes GetInvolved Contactus Feedback&Questions Thisemailaddressisbeingprotectedfromspambots.YouneedJavaScriptenabledtoviewit. +436776137 2693 Bosnian/босански Catalan/Català Croatian/Hrvatska‎ Czech/Čeština‎ Danish/Dansk‎ English Estonian/Eestikeel French/Français‎ Galician/Galego‎ German/Deutsch Hebrew/עִבְרִית‎ Hindi/मानकहिन्दी‎ Hungarian/Magyar‎ Icelandic/Íslenska‎ Italian/Italiano‎ Kazakh/Қазақтілі‎ Korean/한국말‎ Lithuanian/Lietuviųkalba‎ Macedonian/Македонскијазик‎ Norwegian/Bokmål Norwegian/Nynorsk Persian/فارسی‎ Polish/Językpolski‎ Russian/Русскийязык‎ Serbian/српски‎ Slovak/Slovenskýjazyk‎ Slovenian/Slovenščina‎ Spanish(Spain)/Español(España)‎ Swedish/Svenska‎ Turkish/Türkçe‎ TermsofService Privacy License ©2022InternationalGeoGebraInstitute



請為這篇文章評分?