=== PTPiano ===
Contributors: santechidea,plugintutor
Tags: piano, interactive piano, browser piano, music learning, piano learning
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 8.0
Stable tag: 1.3.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

PT Piano is a browser-based, interactive piano plugin — perfect for learners, educators, and musicians alike.

== Description ==

PT Piano adds a responsive, interactive piano to your WordPress site—play notes, view chords, and explore music theory in the browser.

Key features:

- Fully interactive piano keyboard
- Note and chord highlighting
- Browser-based (no external software needed)
- Ideal for music education websites or online lessons
- Mobile responsive

This plugin is designed with simplicity and education in mind, making piano accessible to everyone.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/PTPiano` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Use the `[PT-Piano]` shortcode to embed the piano anywhere on your site (posts, pages, etc.).

== Frequently Asked Questions ==

= Can I use this plugin on mobile devices? =
Yes! PT Piano is fully responsive and works on all major mobile browsers.

= Does this plugin require JavaScript? =
Yes, the interactive features are powered by lightweight JavaScript for smooth performance.

= Can I customize the keyboard colors or layout? =
Customizations can be made via PTPiano Plugin Setting Dashboard, a visual customizer.

== Screenshots ==

1. Embedded interactive piano keyboard on a post.
2. Settings Control Option in the admin dashboard.
3. Settings Piano Option in the admin dashboard.
4. Record and Play Piano session in real time.

== Changelog ==

= 1.3.2 =

* Bug Fixed

* Introduced Tempo setting to allow users to control their recording tempo.

* Added a button to play multiple piano button simultaneously for major, minor, diminished, and augmented chords.

* Enhance the user interface of plugin piano.

= 1.3.1 =

* Minor Modification on Piano Keyboard

= 1.3.0 =

* Bug Fixed

= 1.2.9 =

* Added complete note mappings for major, minor, diminished, and augmented chords.

* Introduced a new setting to allow users to control their recording duration from the Settings page.

* Enhanced the visual design of piano keys, including full key highlights when a chord or scale is selected.

* Optimized script loading so that it only runs on the plugin page, preventing unnecessary execution on other pages.

* Fixed various internal bugs to improve overall performance and stability.

= 1.2.8 =

* New Features:

- MIDI Connector Added: Connect your MIDI piano keyboard directly to the plugin.

- Live Playback: Play your MIDI keyboard using your physical piano in real time.

- MIDI Recording & Download: Record your sessions and download them as MIDI files.

* User Interface Enhancements:

- Updated the Play, Record, and Clear buttons with a more professional and modern look.

* Security & Bug Fixes:

- Implemented security enhancements.

- Fixed various bugs and improved overall performance.

= 1.2.7 =

* UI Enhancements :
- Improved the user interface of the PTPiano plugin for better usability and appearance.

* New Feature : 
- Record Button : Added a Record button to allow users to record their piano sessions in real-time.

- Play Button :Introduced a Play button to instantly listen to your recording after capturing it.

* Security Updates :
- Implemented security improvements to make the PTPiano plugin more secure and stable.

= 1.2.6 =

* Bug Fix

= 1.2.5 =
*New Feature: 
- Added a Note Display Box : As you play the piano, the corresponding notes are displayed in a scrollable area.

- Introduced a Clear Button to easily clear the note display box.

- UI Enhancements: Improved responsiveness and layout for a better mobile experience.

= 1.2.4 =
✨ New Features:

Computer Keyboard Names Added: Users can now play the piano easily using their computer keyboard. Key mappings are displayed for better accessibility.

Separate Toggles for Notes & Key Labels: Introduced independent toggle options to show/hide musical notes and keyboard labels for more customizable learning and playing experience.

🎨 UI/UX Enhancements:

Improved User Interface: Refreshed design for a more modern and intuitive experience.

Mobile Responsiveness: Enhanced layout and controls to ensure seamless usability across all screen sizes and mobile devices.

Settings Page Redesign: Cleaner and more user-friendly interface on the settings page for easier configuration.
= 1.2.3 =
* New Features:
- 🎹 Augmented Chord Support: Now includes augmented chords for richer harmonic options.
- 🎹 On-Screen Keyboard Expanded: Added a 2-octave virtual keyboard for easier playing and composition.
- 🎛️ Reverb Effect: Introduced built-in reverb to enhance the piano sound with more depth and ambiance.

*Improvements:
🧩 UI Enhancements: Updated interface with better layout, improved responsiveness, and a more intuitive user experience.

*Security:
🔒 Security Update: Patched vulnerabilities and improved overall application security.

= 1.2.2 =
* Settings Page Updates:
- Added confirmation message, after saving options in settings page.
- Added multiple note display options in settings page:
  C, D, E... (letters)
  Do, Re, Mi... (solfège) 
      सा, रे, गा... (Indian / Hindi)
* Major, Minor, and Diminished chord highlighting updated to support all note display modes.
* Improved overall UI separation with loader overlay and smooth content reveal.
* Enhanced volume control slider style for better usability and modern look.


= 1.2.1 =
* Added new functionality:
  - Major Scale and Minor Scale selection with note highlighting on the piano.
* Improved mobile responsiveness:
  - Piano logo and title now display inline on smaller screens.
  - Chord input section (toggle + text input) aligns horizontally on mobile view.
  - Volume control now spans 100% width for better usability on mobile devices.


= 1.2.0 =
* Added theme selector for piano background styles
* Introduced customizable colors for controls and marks
* Enhanced shortcode support with dynamic styling
* Added toggle switches for chord visibility (major, minor, dim)
* Improved frontend CSS variable injection
* Security improvements: escaped URLs, `ABSPATH` checks

= 1.1.0 =
* Support for note and chord highlighting
* Shortcode support

== Upgrade Notice ==

= 1.2.0 =
Improved visual customization and security. New theme and color options added in plugin settings. Update recommended.

= 1.1.0 =
First stable release of PT Piano.
* Initial release with full keyboard functionality