
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
@mastra/speech-azure
Advanced tools
Affected versions:
Azure Speech integration for Mastra, providing Text-to-Speech (TTS) capabilities using Azure's Neural Voice technology.
npm install @mastra/speech-azure
The module requires the following environment variables:
AZURE_API_KEY=your_api_key
AZURE_REGION=your_region # e.g., eastus, westus2
import { AzureTTS } from '@mastra/speech-azure';
// Initialize with configuration
const tts = new AzureTTS({
model: {
name: 'en-US-AriaNeural', // Default voice
apiKey: 'your-api-key', // Optional, can use AZURE_API_KEY env var
region: 'your-region', // Optional, can use AZURE_REGION env var
},
});
// List available voices
const voices = await tts.voices();
// Generate speech
const result = await tts.generate({
voice: 'en-US-AriaNeural',
text: 'Hello from Mastra!',
});
// Stream speech
const stream = await tts.stream({
voice: 'en-US-AriaNeural',
text: 'Hello from Mastra!',
});
The module provides access to all Azure Neural voices. Some popular English voices include:
View the complete list in the voices.ts file or Azure's documentation.
FAQs
Mastra Azure speech integration
The npm package @mastra/speech-azure receives a total of 650 weekly downloads. As such, @mastra/speech-azure popularity was classified as not popular.
We found that @mastra/speech-azure demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.