반응형
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 | 29 | 30 | 31 |
Tags
- hive
- SQL
- string
- PANDAS
- list
- google apps script
- matplotlib
- 파이썬
- django
- Google Spreadsheet
- Tkinter
- Redshift
- math
- Python
- Kotlin
- c#
- PySpark
- array
- PostgreSQL
- Github
- Google Excel
- numpy
- Apache
- dataframe
- GIT
- Excel
- Java
- gas
- Mac
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