![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Making PowerShell sing http://blogs.msdn.com/powershell/arc...21/jingle.aspx How would one know the translation of notes to the proper format for PowerShell to be able to play it? I could 'reverse-engineer' the jingle above, but hardly have spare time for that... Marco -- ---------------- PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Making PowerShell sing I'm not quite sure I understand what you want to do. Are you looking to change the music that the script plays? If that's the case, the script uses a relatively convoluted encoding which we made up. :-) It's, Length Note Octave Where Length is the inverse of the duration of the note. So for example: 4A4 would mean - 1/4 (Quarter) A4 note 1F3 would be a 1/1 (whole) F3 note The encoding currently doesn't have a way of having rests or of specifying how loud the note should play. Nonetheless, we are working on setting up our encoding as a replacement for MIDI, mp3,wma,aac,wav and all other music encoding and compression schemes. We are pretty confident that it will catch on. :-) "Marco Shaw" <marco.shaw@_NO_SPAM_gmail.com> wrote in message news:OM6Keqa3HHA.5724@TK2MSFTNGP05.phx.gbl... > http://blogs.msdn.com/powershell/arc...21/jingle.aspx > > How would one know the translation of notes to the proper format for > PowerShell to be able to play it? > > I could 'reverse-engineer' the jingle above, but hardly have spare time > for that... > > > Marco > > > -- > ---------------- > PowerGadgets MVP > http://www.powergadgets.com/mvp > > Blog: > http://marcoshaw.blogspot.com |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Making PowerShell sing Marcel J. Ortiz [MSFT] wrote: > I'm not quite sure I understand what you want to do. Are you looking to > change the music that the script plays? > > If that's the case, the script uses a relatively convoluted encoding > which we made up. :-) > > It's, Length Note Octave > > Where Length is the inverse of the duration of the note. So for example: > > 4A4 would mean - 1/4 (Quarter) A4 note > 1F3 would be a 1/1 (whole) F3 note > > The encoding currently doesn't have a way of having rests or of > specifying how loud the note should play. > > Nonetheless, we are working on setting up our encoding as a replacement > for MIDI, mp3,wma,aac,wav and all other music encoding and compression > schemes. We are pretty confident that it will catch on. :-) Yes, I want it to play another song. I just don't remember enough from my music classes to tell you what I'm looking for. I have the series of notes (Do, Re, etc.) that make up the song, so I need to know each corresponding string that PowerShell will need to know. Marco |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Making PowerShell sing "Marco Shaw" <marco.shaw@_NO_SPAM_gmail.com> wrote in message news:%23cO$Jhc3HHA.5880@TK2MSFTNGP03.phx.gbl... .... > Yes, I want it to play another song. I just don't remember enough from my > music classes to tell you what I'm looking for. > > I have the series of notes (Do, Re, etc.) that make up the song, so I need > to know each corresponding string that PowerShell will need to know. Hi Marco, In the Anglo-saxon world the notes are called A, B, C, D, E, F and G. The scale starts with A being La up to G being Sol. So, when you want to play a Sol on the 3rd octave for a whole length you will write 1G3. I can't tell you what 3rd octave is exactly but I guess the scale is relative to the standard A (or La) at 440Hz which is likely considered as the first note of octave 0 (or 1?). In France you would pick up your phone to have a rough idea of what note it is. Jacques |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Making PowerShell sing Marco Shaw wrote: > http://blogs.msdn.com/powershell/arc...21/jingle.aspx > > How would one know the translation of notes to the proper format for > PowerShell to be able to play it? > > I could 'reverse-engineer' the jingle above, but hardly have spare time > for that... > > Hi Marco, translate from what? According to : <http://upload.wikimedia.org/wikipedia/commons/7/7a/NoteNamesFrequenciesAndMidiNumbers.svg> It is the international notation for note and octave, the leading number being the fraction of the standard duration. The RTTTL Ring Tone Format looks similar albeit it also supports bpm, pause and (double) dotted notes. <http://en.wikipedia.org/wiki/Ring_Tone_Transfer_Language> <http://www.wotsit.org/getfile.asp?file=rtttl&sc=240316664> Free ring tones in RTTTL format may be found here: <http://www.freering-tones.co.uk/old-rttl-doityourself-free-ring-tones.html> -- Greetings Matthias |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| RE: Are you encountering error 81000395 when you try to sing into | Live Messenger | |||
| Making changes to Active Directory with Powershell | PowerShell | |||
| RE: Are you encountering error 81000395 when you try to sing into Wind | Live Messenger | |||
| RE: Are you encountering error 81000395 when you try to sing into Wind | Live Messenger | |||