發表文章

目前顯示的是有「sound」標籤的文章

[軟體] 會場音樂播放器II (Arena Music Player II) - ArenaMisicSharp

圖片
 This is new version for Arena Music Player[Old] this is powered by dotnet framework Current Version : 1.0.1.5 Downlink :  https://drive.google.com/file/d/1N9SXyrLayLzvuGJBvI4_zJcjoYZDBYRu/view?usp=sharing how to use : Exit application Application Setting in application setting you can change board size , the board size decade how many you can play musics. and you can choice what the progress color on each play box , you can play standalone music file , this only support .wav & .mp3 files. 1.PLAY/PAUSE : one click play and same click pause music. 2.STOP : stop music. 3.REPEAT : auto repeat music , must set before playing . 4.Current Playing Time 5.Standalone Volume : you can adjust single music volume 6.PlayBox Setting :  1.Show Name : you can give a name show on button. 2.Media File : Specific music file name . 3.Browse button : Help to select media file. 4.Button Color : Click it to choice button color 5.Cancel button : Abort any modified data and return. 6.Play Start Time : Choi

[軟體] 會場音樂播放器 arena music player

圖片
這是為了公司春酒/尾牙使用的音樂播放軟體,用 Powerbuilder 10 開發,使用多部筆記型電腦撥放,搭配我自己 自製的混音器 使用。 >> [新版這裡] 這個播放器可以預載 16 軌音樂,與 8 組音效,基本春酒/尾牙流程是足夠了,不過不含影片的播放,因為雖然可以開發MCI Video Player,但是我一直處理不好字幕檔的問題,所以播放軟體我就改成使用 potPlayer 來處理。而這支程式純粹是用來播放多軌音樂的 這播放器的好處是不需要在資料夾內一個一個點擊開啟音樂,然後又要關閉播放器的問題。 每一軌音樂都可以暫停,然後再播放其它音樂,當另一個音樂流程結束,再繼續原本的音樂。 下載程式 https://drive.google.com/file/d/1SpTYKghgKYE_5LFilqQE84szcjejrhIr/view?usp=sharing 本程式由 PB 10 開發,如果你沒有安裝過 PB10 的 Runtime,需先安裝下面 Runtime 包 https://drive.google.com/file/d/1WRlk4h0-W1G0Mzky6iuGAq9LmJbo-8BE/view?usp=sharing (載點失效請留言給我,我再重新上傳 ※URL會變更) 要注意幾點:

Xamarin : Android : playback a tone 發出警告聲(簡單聲音)

在 Xamarin 下開發 Android 讓裝置發出 警告聲音 或是 提示聲音 void button_beep_Click(object sender , EventArgs ea) {     int iVolume = 100; // 0 ~ 100 音量,但不是裝置實際音量,而是產生音波的音量     int iDuration = 500; // 500毫秒,聲音持續時間     // 建立執行物件     var tonGen = new ToneGenerator(Android.Media.Stream.Music, iVolume);     //播放聲音     //tonGen.StartTone(Android.Media.Tone.CdmaAlertAutoredialLite,1000);     //tonGen.StartTone(Android.Media.Tone.CdmaAlertCallGuard, 200);     //tonGen.StartTone(Android.Media.Tone.CdmaAlertIncallLite, iDuration );     //tonGen.StartTone(Android.Media.Tone.CdmaAlertNetworkLite, iDuration );     tonGen.StartTone(Android.Media.Tone.PropBeep, iDuration ); } Android.Media.Tone 底下列舉不少基本 DTMF 的音調,可以自行選擇測試 這個元件比較適合播放訊息聲音(比較簡單的音調)。 如果要播放音樂建議使用 AudioTrack 物件。 注意這個播放是屬於非同步的,而且會以最後一次呼叫StartTone的聲音為主,如果同時播放多個聲音檔,則只會聽到最後一個聲音。