קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ספריית הצלילים כוללת צלילים שמסווגים לפי קטגוריות, שאפשר להשתמש בהם כדי לשפר את חוויית המשתמש ולשפר את הליטוש של הפעולות. Google מארחת עבורכם את הצלילים, כך שכל מה שאתם צריכים לעשות הוא להפנות אותם למאפיין src של רכיב <audio> כשאתם משתמשים ב-SSML.
קטע הקוד הבא מראה איך להשתמש באודיו הזה בספריית הלקוח 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. הצלילים והמוזיקה מהספרייה הזו מיועדים אך ורק לכם, במסגרת הפעולות שאתם יוצרים.
הורדת מוזיקה מהספרייה הזו מהווה את הסכמתך שלא:
להנגיש, להפיץ או להפעיל את קובצי הקול והמוזיקה מהספרייה הזו בנפרד מ-Actions שבהם שילבתם את קובצי הקול והמוזיקה האלה, בפלטפורמות של Google, כולל Actions on 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."]]