tag:blogger.com,1999:blog-28292149.post2058460276508351549..comments2008-08-02T08:54:40.073-07:00Comments on Allpowertabs News: RE: Extracting Song Information With The Parserallpowertabshttp://www.blogger.com/profile/13960648207213073252noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-28292149.post-84211481535670977502008-01-29T09:55:00.000-08:002008-01-29T09:55:00.000-08:002008-01-29T09:55:00.000-08:00Hello again, im such a pain in the ass, i have a q...Hello again, im such a pain in the ass, i have a question, i scanned the phpparser files, but i dont see any functionality for exporting the file to ascii, is there such an option?Nazgylhttp://www.blogger.com/profile/08735590722642076716noreply@blogger.comtag:blogger.com,1999:blog-28292149.post-86739998830196792342008-01-28T08:28:00.000-08:002008-01-28T08:28:00.000-08:002008-01-28T08:28:00.000-08:00Thanks a million, it worked like a charm!!i think ...Thanks a million, it worked like a charm!!<BR/>i think there is a problem with generalmidi.php when i use your code i get the results fine however the php dumps code from generalmidi.php<BR/>i redownloaded the parser to check if i messed up! but the code throws the same code...this is the code i see on the php page.. <BR/><BR/>MAX_MIDI_NOTE) $temp = MAX_MIDI_NOTE; return $temp; } /// Determines if a MIDI note key is valid /// @param key MIDI note key to validate /// @return True if the MIDI note key is valid, false if not function wxIsValidMidiNoteKey($key) { //------Last Checked------// // - Dec 9, 2004 return ($key <= MAX_MIDI_NOTE_KEY); } /// Gets the pitch value for a MIDI note /// @param note MIDI note to get the pitch value for /// @return The pitch value for the MIDI note function wxGetMidiNotePitch($note) { //------Last Checked------// // - Dec 9, 2004 return ($note % 12); } /// Gets the octave value for a MIDI note /// @param note MIDI note to get the octave value for /// @return The octave value for the MIDI note function wxGetMidiNoteOctave($note) { //------Last Checked------// // - Dec 9, 2004 return (($note / 12) - 1); } /// Determines if a MIDI note volume is valid /// @param volume MIDI note volume to validate /// @return True if the MIDI note volume is valid, false if not function wxIsValidMidiNoteVolume($volume) { //------Last Checked------// // - Dec 9, 2004 return ($volume <= MAX_MIDI_NOTE_VOLUME); } // MIDI Preset Functions /// Determines if a MIDI preset is valid /// @param preset MIDI preset to validate /// @return True if the MIDI preset is valid, false if not function wxIsValidMidiPreset($preset) { //------Last Checked------// // - Dec 9, 2004 return ($preset <= LAST_MIDI_PRESET); } // MIDI Percussion Preset Functions /// Determines if a MIDI percussion preset is valid /// @param preset MIDI percussion preset to validate /// @return True if the MIDI percussion preset is valid, false if not function wxIsValidMidiPercussionPreset($preset) { //------Last Checked------// // - Dec 9, 2004 return ($preset <= LAST_MIDI_PERCUSSION_PRESET); } ?>Nazgylhttp://www.blogger.com/profile/08735590722642076716noreply@blogger.com