ToneCraft is a web application designed to transform PDF books into realistic audiobooks, offering an immersive and accessible reading experience through audio.
The books, in PDF format, undergo preprocessing using ML/DL libraries, while simultaneously undergoing emotion analysis. Through emotional analysis, the PDF is segmented into chunks, each associated with a specific emotion. These emotion-tagged segments are then transformed into audio files using Amazon Polly web services, incorporating appropriate tone, pitch, speed, and emphasis to sound like human voices.
The PDF from the local device can be accessed on the NFT Marketplace. The NFT Marketplace serves as storage for the audio files in the form of NFTs, which can be purchased by the public using Ethereum coins via the MetaMask wallet. Once the NFT is purchased, it is removed from the NFT Marketplace, eliminating the possibility of piracy. The use of NFTs establishes a transparent and secure layer between the buyer and the seller, preventing any third party from altering the purchase and creating a more secure platform for authors to publish their books.
- Emotion Analysis: PDFs are divided into segments based on emotional content.
- Audio Generation: Amazon Polly converts emotion-tagged segments into realistic audiobook segments.
- NFT Marketplace Integration: Upload PDFs from your local device to the NFT Marketplace.
- Secure Audio Storage: Audio files are stored as NFTs, accessible for purchase with Ethereum coins via the MetaMask wallet.
- Secure Audio Storage: Audio files are stored as NFTs, accessible for purchase with Ethereum coins via the MetaMask wallet.
- Zero Piracy Risk: Once an NFT is purchased, it is removed from the marketplace, ensuring no unauthorized distribution.
- Transparency and Security: NFTs establish a transparent and secure platform for authors, preventing any third-party alterations to purchases.
Clone the Project
git clone https://github.com/manasagar/ToneCraft_final.git
cd ToneCraft_final
cd ToneCraft-ML
Pip install -r requirements.txt
Uvicorn ToneCraft:app --reload
cd ToneCraft-Backend
npm install
npm run dev
cd ToneCraft-Frontend
npm install
npm run start
Check out our demo here
This project is licensed under the MIT Licence