반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Google Excel
- Mac
- django
- list
- Kotlin
- Apache
- math
- numpy
- Github
- Java
- string
- Google Spreadsheet
- Python
- GIT
- PySpark
- dataframe
- PostgreSQL
- PANDAS
- 파이썬
- gas
- Redshift
- c#
- Excel
- hive
- google apps script
- array
- SQL
- Tkinter
- matplotlib
Archives
- Today
- Total
목록SoundPlayer (1)
달나라 노트
C# : SoundPlayer (C#에서 .wav 파일 재생)
SoundPlayer는 .wav 파일을 재생할 수 있도록 해줍니다. SoundPlayer는 System.Media.SoundPlayer 위치에 존재합니다. 이번 예시에서는 이미 .wav 파일을 아래 경로에 두었습니다. C:\Users\Public\sample.wav using System; class MyProgram { public static void Main() { System.Media.SoundPlayer player = new System.Media.SoundPlayer("C:\\Users\\Public\\sample.wav"); player.PlaySync(); } } 위 코드를 실행하면 sample.wav 파일의 소리가 들립니다. SoundPlayer class는 System.Media 하..
C#/C#
2022. 4. 20. 20:36