Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Sound on Excel
I'd like to use Excel as a music score writer (using non standard notation).
Can I also have sounds to give an indication of whether or not I've input the right note? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Sound on Excel
Here is some code that will allow you to play a beep sound at different
frequencies for different durations... Place this code in a standard code module and run BeepTest for a demonstartion... Private Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, _ ByVal dwDuration As Long) As Long Sub BeepTest() Beep 500, 200 Beep 1000, 100 Beep 2000, 50 End Sub -- HTH... Jim Thomlinson "girgor" wrote: I'd like to use Excel as a music score writer (using non standard notation). Can I also have sounds to give an indication of whether or not I've input the right note? |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Sound on Excel
Hi Jim,
When I tried it, the system is looking for "kernel32" and failed. Where is this file located? Thanks, "Jim Thomlinson" wrote: Here is some code that will allow you to play a beep sound at different frequencies for different durations... Place this code in a standard code module and run BeepTest for a demonstartion... Private Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, _ ByVal dwDuration As Long) As Long Sub BeepTest() Beep 500, 200 Beep 1000, 100 Beep 2000, 50 End Sub -- HTH... Jim Thomlinson "girgor" wrote: I'd like to use Excel as a music score writer (using non standard notation). Can I also have sounds to give an indication of whether or not I've input the right note? |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Sound on Excel
Hi Jim,
I misspelled kermel32. It's working great now. Thanks a bunch. Bau "bau" wrote: Hi Jim, When I tried it, the system is looking for "kernel32" and failed. Where is this file located? Thanks, "Jim Thomlinson" wrote: Here is some code that will allow you to play a beep sound at different frequencies for different durations... Place this code in a standard code module and run BeepTest for a demonstartion... Private Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, _ ByVal dwDuration As Long) As Long Sub BeepTest() Beep 500, 200 Beep 1000, 100 Beep 2000, 50 End Sub -- HTH... Jim Thomlinson "girgor" wrote: I'd like to use Excel as a music score writer (using non standard notation). Can I also have sounds to give an indication of whether or not I've input the right note? |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Sound on Excel
Thanks for this, Jim. Any chance of adjusting the volume - bit feint
on my machine. Pete On Jan 9, 5:51*pm, Jim Thomlinson <James_Thomlin...@owfg-Re-Move- This-.com wrote: Here is some code that will allow you to play a beep sound at different frequencies for different durations... Place this code in a standard code module and run BeepTest for a demonstartion... Private Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, _ *ByVal dwDuration As Long) As Long Sub BeepTest() * * Beep 500, 200 * * Beep 1000, 100 * * Beep 2000, 50 End Sub -- HTH... Jim Thomlinson "girgor" wrote: I'd like to use Excel as a music score writer (using non standard notation). Can I also have sounds to give an indication of whether or not I've input the right note?- Hide quoted text - - Show quoted text - |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
Sound on Excel
Jim,
Thanks for your help. All, How can we out put all sound together at the same time? 1 example is playing a triad. Thanks, Bau "Jim Thomlinson" wrote: Here is some code that will allow you to play a beep sound at different frequencies for different durations... Place this code in a standard code module and run BeepTest for a demonstartion... Private Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, _ ByVal dwDuration As Long) As Long Sub BeepTest() Beep 500, 200 Beep 1000, 100 Beep 2000, 50 End Sub -- HTH... Jim Thomlinson "girgor" wrote: I'd like to use Excel as a music score writer (using non standard notation). Can I also have sounds to give an indication of whether or not I've input the right note? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
sound alert from excel | Excel Discussion (Misc queries) | |||
how do i set up sound alerts on excel? | Excel Discussion (Misc queries) | |||
embedding sound documents in excel | Excel Discussion (Misc queries) | |||
sound files in excel? | New Users to Excel |