संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
साउंड लाइब्रेरी में कैटगरी वाली आवाज़ें होती हैं. इनका इस्तेमाल करके, उपयोगकर्ताओं के अनुभव को बेहतर बनाया जा सकता है. साथ ही, उनकी कार्रवाइयों को बेहतर बनाया जा सकता है. Google आपके लिए ये साउंड होस्ट करता है, इसलिए SSML का इस्तेमाल करते समय, आपको इन्हें बस <audio> एट्रिब्यूट के src एट्रिब्यूट में रेफ़र करना होगा.
यहां दिए गए कोड स्निपेट में बताया गया है कि Node.js क्लाइंट लाइब्रेरी के साथ, इन आवाज़ों का इस्तेमाल कैसे किया जाता है:
Node.js के लिए
function playAudio(conv) {
let text_to_speech = '<speak>'
+ 'I can play a sound'
+ '<audio src="https://actions.google.com/sounds/v1/alarms/digital_watch_alarm_long.ogg">a digital watch alarm</audio>. '
+ '</speak>'
conv.add(text_to_speech);
};
ज़्यादा जानकारी पाने या साउंड क्लिप सुनने या कैटलॉग में साउंड खोजने के लिए, कोई लाइन चुनें
नियम और शर्तें
इस साउंड लाइब्रेरी का इस्तेमाल (इसमें इस लाइब्रेरी की संगीत फ़ाइलें भी शामिल हैं)
Actions on Google की सेवा की शर्तों पर निर्भर करता है. इस लाइब्रेरी में मौजूद साउंड और संगीत का इस्तेमाल, खास तौर पर उन कार्रवाइयों के लिए किया जाता है जिन्हें आप अपनी बनाई गई कार्रवाइयों में इस्तेमाल करते हैं.
इस लाइब्रेरी का संगीत डाउनलोड करके, आप सहमत होते हैं कि निम्न काम नहीं करेंगे:
उन कार्रवाइयों के अलावा, इस लाइब्रेरी से साउंड और संगीत फ़ाइलों को उपलब्ध कराएं, डिस्ट्रिब्यूट करें या परफ़ॉर्म करें.इनमें उन कार्रवाइयों को भी शामिल किया जा सकता है जिन पर आपने इस संगीत और संगीत फ़ाइल को Google प्लैटफ़ॉर्म पर डाला है. जैसे, Google पर कार्रवाइयां (उदाहरण के लिए, इन फ़ाइलों का स्टैंडअलोन डिस्ट्रिब्यूशन या Google से बाहर के प्लैटफ़ॉर्म पर इनका इस्तेमाल करना) नहीं है.
इस लाइब्रेरी में मौजूद साउंड और संगीत फ़ाइलों का गैर-कानूनी तरीके से इस्तेमाल करें या उन्हें किसी भी गैर-कानूनी कॉन्टेंट से जोड़ें.
[null,null,["आखिरी बार 2023-05-16 (UTC) को अपडेट किया गया."],[],[],null,["# Sound Library\n\nThe sound library contains categorized sounds that you can use to enhance the\nuser experience and increase the polish of your actions. Google hosts these\nsounds for you, so all you need to do is reference them in the `src` attribute\nof an `\u003caudio\u003e` element when using [SSML](/assistant/conversational/ssml).\n\nThe following code snippet shows you how to use these sounds with the Node.js\nclient library: \n\n### Node.js\n\n```javascript\nfunction playAudio(conv) {\n let text_to_speech = '\u003cspeak\u003e'\n + 'I can play a sound'\n + '\u003caudio src=\"https://actions.google.com/sounds/v1/alarms/digital_watch_alarm_long.ogg\"\u003ea digital watch alarm\u003c/audio\u003e. '\n + '\u003c/speak\u003e'\n conv.add(text_to_speech);\n};\n```\n| **Note:** You can also search and listen to these sound effects in the [YouTube Audio Library](https://www.youtube.com/audiolibrary/soundeffects). The sounds here are hosted here for you, so you can reference their locations directly in your app.\n\nSelect a row for more details and to hear the sound clip, or search for sounds\nin the catalog \n\nTerms and Conditions\n--------------------\n\nYour use of this sound library (including the music files in this library) is\nsubject to the [Actions on Google Terms of Service](https://developers.google.com/terms/). Sounds and music\nfrom this library are intended solely for use by you in Actions that you create.\n\nBy downloading music from this library, you agree that you will not:\n\n- Make available, distribute or perform the sound and music files from this library separately from Actions into which you have incorporated these sound and music files, on Google platforms including Actions on Google (e.g. standalone distribution of these files, or use on non-Google platforms, is not permitted).\n- Use the sound and music files from this library in an illegal manner or in connection with any illegal content."]]