Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/sonic-pi/tutorial/id/units/?format=api&page=6
https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/units/?format=api&page=7", "previous": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/units/?format=api&page=5", "results": [ { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "sample :loop_amen, rate: 0.5" ], "previous_source": "", "target": [ "" ], "id_hash": 4883025602118091721, "content_hash": 4883025602118091721, "location": "03.3-Stretching-Samples.md:55, 03.5-Partial-Samples.md:16, A.20-creative-coding-in-the-classroom.md:194", "context": "", "note": "", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 286, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://hosted.weblate.org/api/units/14783357/?format=api", "priority": 100, "id": 7042076, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=c3c3fde9eb6303c9", "url": "https://hosted.weblate.org/api/units/7042076/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-20T14:21:13+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "If we speed it up, we enter *jungle* territory:" ], "previous_source": "", "target": [ "" ], "id_hash": 1643723758464234036, "content_hash": 1643723758464234036, "location": "03.3-Stretching-Samples.md:59", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 287, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://hosted.weblate.org/api/units/14781980/?format=api", "priority": 100, "id": 7042077, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=96cfae0cac217234", "url": "https://hosted.weblate.org/api/units/7042077/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:57+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "sample :loop_amen, rate: 1.5" ], "previous_source": "", "target": [ "" ], "id_hash": -3819187355312653151, "content_hash": -3819187355312653151, "location": "03.3-Stretching-Samples.md:61, A.17-sample-stretching.md:46", "context": "", "note": "", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 288, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://hosted.weblate.org/api/units/14783358/?format=api", "priority": 100, "id": 7042078, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=4aff8555d3ecfca1", "url": "https://hosted.weblate.org/api/units/7042078/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-20T14:21:13+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Now for our final party trick - let's see what happens if we use a negative rate:" ], "previous_source": "", "target": [ "" ], "id_hash": 8676138506007698717, "content_hash": 8676138506007698717, "location": "03.3-Stretching-Samples.md:65", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 289, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://hosted.weblate.org/api/units/14781981/?format=api", "priority": 100, "id": 7042079, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=f867d600c8ad5d1d", "url": "https://hosted.weblate.org/api/units/7042079/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:57+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "sample :loop_amen, rate: -1" ], "previous_source": "", "target": [ "" ], "id_hash": -8325613591048208829, "content_hash": -8325613591048208829, "location": "03.3-Stretching-Samples.md:68", "context": "", "note": "", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 290, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://hosted.weblate.org/api/units/14783359/?format=api", "priority": 100, "id": 7042080, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=0c757a8cc8683e43", "url": "https://hosted.weblate.org/api/units/7042080/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-20T14:21:13+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "A Simple Explanation of Sample Rate" ], "previous_source": "", "target": [ "" ], "id_hash": 6784609297369386707, "content_hash": 6784609297369386707, "location": "03.3-Stretching-Samples.md:76", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 292, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://hosted.weblate.org/api/units/14782945/?format=api", "priority": 100, "id": 7042082, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=de27c635a583ced3", "url": "https://hosted.weblate.org/api/units/7042082/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-13T14:48:03+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "A useful way to think of samples is as springs. Playback rate is like squashing and stretching the spring. If you play the sample at rate 2, you're *squashing the spring* to half its normal length. The sample therefore takes half the amount of time to play as it's shorter. If you play the sample at half rate, you're *stretching the spring* to double its length. The sample therefore takes twice the amount of time to play as it's longer. The more you squash (higher rate), the shorter it gets, the more you stretch (lower rate), the longer it gets." ], "previous_source": "", "target": [ "" ], "id_hash": -8336842408487729312, "content_hash": -8336842408487729312, "location": "03.3-Stretching-Samples.md:78", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 293, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 100, "source_unit": "https://hosted.weblate.org/api/units/14781983/?format=api", "priority": 100, "id": 7042083, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=0c4d95fffdad4760", "url": "https://hosted.weblate.org/api/units/7042083/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:57+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Compressing a spring increases its density (the number of coils per cm) - this is similar to the sample sounding *higher pitched*. Stretching the spring decreases its density and is similar to the sound having a *lower pitch*." ], "previous_source": "", "target": [ "" ], "id_hash": 3802995595288778646, "content_hash": 3802995595288778646, "location": "03.3-Stretching-Samples.md:87", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 294, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 38, "source_unit": "https://hosted.weblate.org/api/units/14783360/?format=api", "priority": 100, "id": 7042084, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=b4c6f45843901796", "url": "https://hosted.weblate.org/api/units/7042084/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-20T14:21:13+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "The Maths Behind Sample Rate" ], "previous_source": "", "target": [ "" ], "id_hash": -8372902869991553104, "content_hash": -8372902869991553104, "location": "03.3-Stretching-Samples.md:93", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 295, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://hosted.weblate.org/api/units/14782946/?format=api", "priority": 100, "id": 7042085, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=0bcd7933874e07b0", "url": "https://hosted.weblate.org/api/units/7042085/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-13T14:48:03+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "(This section is provided for those that are interested in the details. Please feel free to skip it...)" ], "previous_source": "", "target": [ "" ], "id_hash": 2302480500889318799, "content_hash": 2302480500889318799, "location": "03.3-Stretching-Samples.md:95", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 296, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://hosted.weblate.org/api/units/14781984/?format=api", "priority": 100, "id": 7042086, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=9ff40dd105c5758f", "url": "https://hosted.weblate.org/api/units/7042086/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:57+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "As we saw above, a sample is represented by a big long list of numbers representing where the speaker should be through time. We can take this list of numbers and use it to draw a graph which would look similar to this:" ], "previous_source": "", "target": [ "" ], "id_hash": -4864258951707517526, "content_hash": -4864258951707517526, "location": "03.3-Stretching-Samples.md:98", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 297, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 43, "source_unit": "https://hosted.weblate.org/api/units/14781985/?format=api", "priority": 100, "id": 7042087, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=3c7eae415ff59daa", "url": "https://hosted.weblate.org/api/units/7042087/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:57+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "You might have seen pictures like this before. It's called the *waveform* of a sample. It's just a graph of numbers. Typically a waveform like this will have 44100 points of data per second (this is due to the Nyquist-Shannon sampling theorem). So, if the sample lasts for 2 seconds, the waveform will be represented by 88200 numbers which we would feed to the speaker at a rate of 44100 points per second. Of course, we could feed it at double rate which would be 88200 points per second. This would therefore take only 1 second to play back. We could also play it back at half rate which would be 22050 points per second taking 4 seconds to play back." ], "previous_source": "", "target": [ "" ], "id_hash": -4775585233093226485, "content_hash": -4775585233093226485, "location": "03.3-Stretching-Samples.md:105", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 299, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 121, "source_unit": "https://hosted.weblate.org/api/units/14781987/?format=api", "priority": 100, "id": 7042089, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=3db9b6885ae0900b", "url": "https://hosted.weblate.org/api/units/7042089/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "The duration of the sample is affected by the playback rate:" ], "previous_source": "", "target": [ "" ], "id_hash": 611056083992808992, "content_hash": 611056083992808992, "location": "03.3-Stretching-Samples.md:116", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 300, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://hosted.weblate.org/api/units/14781988/?format=api", "priority": 100, "id": 7042090, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=887ae845583b8e20", "url": "https://hosted.weblate.org/api/units/7042090/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Doubling the playback rate halves the playback time," ], "previous_source": "", "target": [ "" ], "id_hash": -5415706477629066460, "content_hash": -5415706477629066460, "location": "03.3-Stretching-Samples.md:118", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 301, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://hosted.weblate.org/api/units/14781989/?format=api", "priority": 100, "id": 7042091, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=34d78ba6f9233324", "url": "https://hosted.weblate.org/api/units/7042091/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Halving the playback rate doubles the playback time," ], "previous_source": "", "target": [ "" ], "id_hash": 7426656392136785002, "content_hash": 7426656392136785002, "location": "03.3-Stretching-Samples.md:119", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 302, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://hosted.weblate.org/api/units/14781990/?format=api", "priority": 100, "id": 7042092, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=e710c8a3fa327c6a", "url": "https://hosted.weblate.org/api/units/7042092/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Using a playback rate of one fourth quadruples the playback time," ], "previous_source": "", "target": [ "" ], "id_hash": -2387675031940027199, "content_hash": -2387675031940027199, "location": "03.3-Stretching-Samples.md:120", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 303, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://hosted.weblate.org/api/units/14781991/?format=api", "priority": 100, "id": 7042093, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=5edd46357a252cc1", "url": "https://hosted.weblate.org/api/units/7042093/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Using a playback rate of 1/10 makes playback last 10 times longer." ], "previous_source": "", "target": [ "" ], "id_hash": 5770442592743689776, "content_hash": 5770442592743689776, "location": "03.3-Stretching-Samples.md:121", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 304, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://hosted.weblate.org/api/units/14781992/?format=api", "priority": 100, "id": 7042094, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=d014baf709458e30", "url": "https://hosted.weblate.org/api/units/7042094/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "We can represent this with the formula:" ], "previous_source": "", "target": [ "" ], "id_hash": 9029459020743095778, "content_hash": 9029459020743095778, "location": "03.3-Stretching-Samples.md:123", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 305, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://hosted.weblate.org/api/units/14781993/?format=api", "priority": 100, "id": 7042095, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=fd4f1523a556b5e2", "url": "https://hosted.weblate.org/api/units/7042095/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "new_sample_duration = (1 / rate) * sample_duration " ], "previous_source": "", "target": [ "" ], "id_hash": -8148198549011880519, "content_hash": -8148198549011880519, "location": "03.3-Stretching-Samples.md:125", "context": "", "note": "", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 306, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://hosted.weblate.org/api/units/14783361/?format=api", "priority": 100, "id": 7042096, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=0eebc89736cb25b9", "url": "https://hosted.weblate.org/api/units/7042096/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-20T14:21:14+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Changing the playback rate also affects the pitch of the sample. The frequency or pitch of a waveform is determined by how fast it moves up and down. Our brains somehow turn fast movement of speakers into high notes and slow movement of speakers into low notes. This is why you can sometimes even see a big bass speaker move as it pumps out super low bass - it's actually moving a lot slower in and out than a speaker producing higher notes." ], "previous_source": "", "target": [ "" ], "id_hash": 2648827550813777829, "content_hash": 2648827550813777829, "location": "03.3-Stretching-Samples.md:129", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 307, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 83, "source_unit": "https://hosted.weblate.org/api/units/14781994/?format=api", "priority": 100, "id": 7042097, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=a4c2869f9585efa5", "url": "https://hosted.weblate.org/api/units/7042097/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "If you take a waveform and squash it it will move up and down more times per second. This will make it sound higher pitched. It turns out that doubling the amount of up and down movements (oscillations) doubles the frequency. So, *playing your sample at double rate will double the frequency you hear it*. Also, *halving the rate will halve the frequency*. Other rates will affect the frequency accordingly." ], "previous_source": "", "target": [ "" ], "id_hash": 1630618449058999765, "content_hash": 1630618449058999765, "location": "03.3-Stretching-Samples.md:137", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 308, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 70, "source_unit": "https://hosted.weblate.org/api/units/14781995/?format=api", "priority": 100, "id": 7042098, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=96a11ed70c5c2dd5", "url": "https://hosted.weblate.org/api/units/7042098/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "3.4 Enveloped Samples" ], "previous_source": "", "target": [ "" ], "id_hash": 6549150641533314407, "content_hash": 6549150641533314407, "location": "03.4-Enveloped-Samples.md:1", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 309, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://hosted.weblate.org/api/units/14781996/?format=api", "priority": 100, "id": 7042099, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=dae341cf411d6567", "url": "https://hosted.weblate.org/api/units/7042099/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Enveloped Samples" ], "previous_source": "", "target": [ "" ], "id_hash": 6590885235213387607, "content_hash": 6590885235213387607, "location": "03.4-Enveloped-Samples.md:3", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 310, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14782947/?format=api", "priority": 100, "id": 7042100, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=db7787339042c757", "url": "https://hosted.weblate.org/api/units/7042100/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-13T14:48:03+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "It is also possible to modify the *duration* and *amplitude* of a sample using an ADSR envelope. However, this works slightly differently to the ADSR envelope available on synths. Sample envelopes only allow you to reduce the amplitude and duration of a sample - and never to increase it. The sample will stop when either the sample has finished playing or the envelope has completed - whichever is first. So, if you use a very long `release:`, it won't extend the duration of the sample." ], "previous_source": "", "target": [ "" ], "id_hash": 4079083361831279284, "content_hash": 4079083361831279284, "location": "03.4-Enveloped-Samples.md:5", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 311, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 85, "source_unit": "https://hosted.weblate.org/api/units/14781997/?format=api", "priority": 100, "id": 7042101, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=b89bd0b4a728dab4", "url": "https://hosted.weblate.org/api/units/7042101/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Amen Envelopes" ], "previous_source": "", "target": [ "" ], "id_hash": -3497243071908113389, "content_hash": -3497243071908113389, "location": "03.4-Enveloped-Samples.md:13", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 312, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14782948/?format=api", "priority": 100, "id": 7042102, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=4f774bf48db89413", "url": "https://hosted.weblate.org/api/units/7042102/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-13T14:48:03+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Let's return to our trusty friend the Amen Break:" ], "previous_source": "", "target": [ "" ], "id_hash": 4496056629701410986, "content_hash": 4496056629701410986, "location": "03.4-Enveloped-Samples.md:15", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 313, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://hosted.weblate.org/api/units/14781998/?format=api", "priority": 100, "id": 7042103, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=be6533aeff6480aa", "url": "https://hosted.weblate.org/api/units/7042103/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "With no opts, we hear the full sample at full amplitude. If we want to fade this in over 1 second we can use the `attack:` param:" ], "previous_source": "", "target": [ "" ], "id_hash": -7470444144673979092, "content_hash": -7470444144673979092, "location": "03.4-Enveloped-Samples.md:21", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 314, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://hosted.weblate.org/api/units/14781999/?format=api", "priority": 100, "id": 7042104, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=1853a6a16a4f852c", "url": "https://hosted.weblate.org/api/units/7042104/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:58+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "sample :loop_amen, attack: 1" ], "previous_source": "", "target": [ "" ], "id_hash": 4213179565051186355, "content_hash": 4213179565051186355, "location": "03.4-Enveloped-Samples.md:24", "context": "", "note": "", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 315, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://hosted.weblate.org/api/units/14783362/?format=api", "priority": 100, "id": 7042105, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=ba78387df5cf8cb3", "url": "https://hosted.weblate.org/api/units/7042105/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-20T14:21:14+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "For a shorter fade in, choose a shorter attack value:" ], "previous_source": "", "target": [ "" ], "id_hash": -4702401231467696630, "content_hash": -4702401231467696630, "location": "03.4-Enveloped-Samples.md:28", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 316, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://hosted.weblate.org/api/units/14782000/?format=api", "priority": 100, "id": 7042106, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=3ebdb6fe8f022e0a", "url": "https://hosted.weblate.org/api/units/7042106/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:59+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "sample :loop_amen, attack: 0.3" ], "previous_source": "", "target": [ "" ], "id_hash": -2640778587830297727, "content_hash": -2640778587830297727, "location": "03.4-Enveloped-Samples.md:30", "context": "", "note": "", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 317, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://hosted.weblate.org/api/units/14783363/?format=api", "priority": 100, "id": 7042107, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=5b5a11dda5eadb81", "url": "https://hosted.weblate.org/api/units/7042107/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-20T14:21:15+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Auto Sustain" ], "previous_source": "", "target": [ "" ], "id_hash": -7475274177369165150, "content_hash": -7475274177369165150, "location": "03.4-Enveloped-Samples.md:34", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 318, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14782949/?format=api", "priority": 100, "id": 7042108, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=18427dbdcb42b2a2", "url": "https://hosted.weblate.org/api/units/7042108/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-13T14:48:04+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Where the ADSR envelope's behaviour differs from the standard synth envelope is in the *sustain* value. In the standard synth envelope, the sustain defaulted to 0 unless you set it manually. With samples, the sustain value defaults to an *automagical* value - the time left to play the rest of the sample. This is why we hear the full sample when we pass no defaults. If the attack, decay, sustain and release values were all 0 we'd never hear a peep. Sonic Pi therefore calculates how long the sample is, deducts any attack, decay and release times and uses the result as your sustain time. If the attack, decay and release values add up to more than the duration of the sample, the sustain is simply set to 0." ], "previous_source": "", "target": [ "" ], "id_hash": -8482143313072337449, "content_hash": -8482143313072337449, "location": "03.4-Enveloped-Samples.md:36", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 319, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 129, "source_unit": "https://hosted.weblate.org/api/units/14782001/?format=api", "priority": 100, "id": 7042109, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=0a495f98da5e4dd7", "url": "https://hosted.weblate.org/api/units/7042109/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:59+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Fade Outs" ], "previous_source": "", "target": [ "" ], "id_hash": -5678541738881221026, "content_hash": -5678541738881221026, "location": "03.4-Enveloped-Samples.md:48", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 320, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14782950/?format=api", "priority": 100, "id": 7042110, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=3131c45febc17e5e", "url": "https://hosted.weblate.org/api/units/7042110/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-13T14:48:04+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "To explore this, let's consider our Amen break in more detail. If we ask Sonic Pi how long the sample is:" ], "previous_source": "", "target": [ "" ], "id_hash": -2423535928957385917, "content_hash": -2423535928957385917, "location": "03.4-Enveloped-Samples.md:50", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 321, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://hosted.weblate.org/api/units/14782002/?format=api", "priority": 100, "id": 7042111, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=5e5ddee9be194343", "url": "https://hosted.weblate.org/api/units/7042111/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:59+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "print sample_duration :loop_amen" ], "previous_source": "", "target": [ "" ], "id_hash": 6884749754981606091, "content_hash": 6884749754981606091, "location": "03.4-Enveloped-Samples.md:53", "context": "", "note": "", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 322, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://hosted.weblate.org/api/units/14783364/?format=api", "priority": 100, "id": 7042112, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=df8b8b6cd922e2cb", "url": "https://hosted.weblate.org/api/units/7042112/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-20T14:21:15+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "It will print out `1.753310657596372` which is the length of the sample in seconds. Let's just round that to `1.75` for convenience here. Now, if we set the release to `0.75`, something surprising will happen:" ], "previous_source": "", "target": [ "" ], "id_hash": 6010724782343878665, "content_hash": 6010724782343878665, "location": "03.4-Enveloped-Samples.md:57", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 323, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 35, "source_unit": "https://hosted.weblate.org/api/units/14782003/?format=api", "priority": 100, "id": 7042113, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=d36a6257e63e7809", "url": "https://hosted.weblate.org/api/units/7042113/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:59+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "sample :loop_amen, release: 0.75" ], "previous_source": "", "target": [ "" ], "id_hash": 7131394274344367580, "content_hash": 7131394274344367580, "location": "03.4-Enveloped-Samples.md:61", "context": "", "note": "", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 324, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://hosted.weblate.org/api/units/14783365/?format=api", "priority": 100, "id": 7042114, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=e2f7cd4f0b8cf5dc", "url": "https://hosted.weblate.org/api/units/7042114/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-20T14:21:15+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "It will play the first second of the sample at full amplitude before then fading out over a period of 0.75 seconds. This is the *auto sustain* in action. By default, the release always works from the end of the sample. If our sample was 10.75 seconds long, it would play the first 10 seconds at full amplitude before fading out over 0.75s." ], "previous_source": "", "target": [ "" ], "id_hash": -6119836098059849727, "content_hash": -6119836098059849727, "location": "03.4-Enveloped-Samples.md:65", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 325, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 63, "source_unit": "https://hosted.weblate.org/api/units/14782004/?format=api", "priority": 100, "id": 7042115, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=2b11f97e3b87b001", "url": "https://hosted.weblate.org/api/units/7042115/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:59+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Remember: by default, `release:` fades out at the end of a sample." ], "previous_source": "", "target": [ "" ], "id_hash": -3515440900475298885, "content_hash": -3515440900475298885, "location": "03.4-Enveloped-Samples.md:71", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 326, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://hosted.weblate.org/api/units/14782005/?format=api", "priority": 100, "id": 7042116, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=4f36a5206a4a5bbb", "url": "https://hosted.weblate.org/api/units/7042116/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:59+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Fade In and Out" ], "previous_source": "", "target": [ "" ], "id_hash": 5072814614790907266, "content_hash": 5072814614790907266, "location": "03.4-Enveloped-Samples.md:73", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 327, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://hosted.weblate.org/api/units/14782951/?format=api", "priority": 100, "id": 7042117, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=c6664203e605a582", "url": "https://hosted.weblate.org/api/units/7042117/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-13T14:48:04+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "We can use both `attack:` and `release:` together with the auto sustain behaviour to fade both in and out over the duration of the sample:" ], "previous_source": "", "target": [ "" ], "id_hash": -8007665969928358683, "content_hash": -8007665969928358683, "location": "03.4-Enveloped-Samples.md:75", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 328, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://hosted.weblate.org/api/units/14782006/?format=api", "priority": 100, "id": 7042118, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=10df0e3a0e6fb4e5", "url": "https://hosted.weblate.org/api/units/7042118/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:59+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "sample :loop_amen, attack: 0.75, release: 0.75" ], "previous_source": "", "target": [ "" ], "id_hash": 1489702750187417718, "content_hash": 1489702750187417718, "location": "03.4-Enveloped-Samples.md:78", "context": "", "note": "", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 329, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://hosted.weblate.org/api/units/14783366/?format=api", "priority": 100, "id": 7042119, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=94ac7cc22dd7f076", "url": "https://hosted.weblate.org/api/units/7042119/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-20T14:21:15+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "As the full duration of the sample is 1.75s and our attack and release phases add up to 1.5s, the sustain is automatically set to 0.25s. This allows us to easily fade the sample in and out." ], "previous_source": "", "target": [ "" ], "id_hash": -2114754241845385222, "content_hash": -2114754241845385222, "location": "03.4-Enveloped-Samples.md:82", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 330, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 37, "source_unit": "https://hosted.weblate.org/api/units/14782007/?format=api", "priority": 100, "id": 7042120, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=62a6e238b38e27fa", "url": "https://hosted.weblate.org/api/units/7042120/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:59+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Explicit sustain" ], "previous_source": "", "target": [ "" ], "id_hash": -7068821569420132139, "content_hash": -7068821569420132139, "location": "03.4-Enveloped-Samples.md:86", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 331, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14782952/?format=api", "priority": 100, "id": 7042121, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=1de6803c1e1800d5", "url": "https://hosted.weblate.org/api/units/7042121/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-13T14:48:04+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "We can easily get back to our normal synth ADSR behaviour by manually setting `sustain:` to a value such as 0:" ], "previous_source": "", "target": [ "" ], "id_hash": 4766780075947346975, "content_hash": 4766780075947346975, "location": "03.4-Enveloped-Samples.md:88", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 332, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://hosted.weblate.org/api/units/14782008/?format=api", "priority": 100, "id": 7042122, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=c22701393d404c1f", "url": "https://hosted.weblate.org/api/units/7042122/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:43:59+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "sample :loop_amen, sustain: 0, release: 0.75" ], "previous_source": "", "target": [ "" ], "id_hash": 8463021839623837514, "content_hash": 8463021839623837514, "location": "03.4-Enveloped-Samples.md:91", "context": "", "note": "", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 333, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://hosted.weblate.org/api/units/14783367/?format=api", "priority": 100, "id": 7042123, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=f572b1862d26d74a", "url": "https://hosted.weblate.org/api/units/7042123/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-20T14:21:15+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Now, our sample only plays for 0.75 seconds in total. With the default for `attack:` and `decay:` at 0, the sample jumps straight to full amplitude, sustains there for 0s then releases back down to 0 amplitude over the release period - 0.75s." ], "previous_source": "", "target": [ "" ], "id_hash": -1829670756684665137, "content_hash": -1829670756684665137, "location": "03.4-Enveloped-Samples.md:95", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 334, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 43, "source_unit": "https://hosted.weblate.org/api/units/14782009/?format=api", "priority": 100, "id": 7042124, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=669bb4240be3eecf", "url": "https://hosted.weblate.org/api/units/7042124/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:44:00+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "Percussive cymbals" ], "previous_source": "", "target": [ "" ], "id_hash": 8460771820788353350, "content_hash": 8460771820788353350, "location": "03.4-Enveloped-Samples.md:100", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 335, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14782953/?format=api", "priority": 100, "id": 7042125, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=f56ab324d7b98946", "url": "https://hosted.weblate.org/api/units/7042125/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-13T14:48:04+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "We can use this behaviour to good effect to turn longer sounding samples into shorter, more percussive versions. Consider the sample `:drum_cymbal_open`:" ], "previous_source": "", "target": [ "" ], "id_hash": -3869270565554150588, "content_hash": -3869270565554150588, "location": "03.4-Enveloped-Samples.md:102", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 336, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://hosted.weblate.org/api/units/14782010/?format=api", "priority": 100, "id": 7042126, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=4a4d96ebc0452344", "url": "https://hosted.weblate.org/api/units/7042126/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-11T08:44:00+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/sonic-pi/tutorial/id/?format=api", "source": [ "sample :drum_cymbal_open" ], "previous_source": "", "target": [ "" ], "id_hash": 7746805935860605413, "content_hash": 7746805935860605413, "location": "03.4-Enveloped-Samples.md:106", "context": "", "note": "", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 337, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/14783368/?format=api", "priority": 100, "id": 7042127, "web_url": "https://hosted.weblate.org/translate/sonic-pi/tutorial/id/?checksum=eb822ef44edbe1e5", "url": "https://hosted.weblate.org/api/units/7042127/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2016-05-20T14:21:16+02:00", "last_updated": "2023-05-23T12:28:47.723593+02:00" } ] }{ "count": 2023, "next": "