# Superdirt lazy samples loading

**URL:** <https://uzu.lurk.org/t/superdirt-lazy-samples-loading/3148>\
**Category:** TidalCycles\
**Tags:** questions\
**Created:** [14 May 2021 05:49 UTC](https://uzu.lurk.org/t/superdirt-lazy-samples-loading/3148 "2021-05-14T05:49:37Z")\
**Posts on this page:** 1\
**Showing post:** 27

<div class="post-metadata">

**Author:** ![c-liminal](https://uzu.lurk.org/user_avatar/uzu.lurk.org/c-liminal/32/2217_2.png) [@c-liminal](https://uzu.lurk.org/u/c-liminal)\
**Post date:** [8 December 2022 21:22 UTC](https://uzu.lurk.org/t/superdirt-lazy-samples-loading/3148/27 "2022-12-08T21:22:36Z")

</div>

hi!  
i'm trying to implement **Lazy Samples** but i get this error

```haskell
ERROR: Message 'doNotReadYet_' not understood.
RECEIVER:
Instance of SuperDirt { (000001FE6E4833B8, gc=AC, fmt=00, flg=00, set=05)
  instance variables [18]
    numChannels : Integer 2
    server : instance of Server (000001FE6DCCF8C8, size=30, set=5)
    soundLibrary : instance of DirtSoundLibrary (000001FE6E4C5358, size=9, set=4)
    vowels : instance of Event (000001FE71926928, size=5, set=3)
    orbits : nil
    modules : instance of Array (000001FE6FF0F658, size=34, set=6)
    audioRoutingBusses : instance of Array (000001FE721E7448, size=16, set=4)
    controlBusses : instance of Array (000001FE71FA6398, size=128, set=7)
    port : nil
    senderAddr : nil
    replyAddr : nil
    netResponders : nil
    receiveAction : nil
    warnOutOfOrbit : true
    maxLatency : Integer 42
    dropWhen : false
    numRoutingBusses : Integer 16
    numControlBusses : Integer 128
}
ARGS:
   true
PATH: C:\Users\User\AppData\Local\SuperCollider\startup.scd

PROTECTED CALL STACK:
	Meta_MethodError:new	000001FE6B278F00
		arg this = DoesNotUnderstandError
		arg what = nil
		arg receiver = a SuperDirt
	Meta_DoesNotUnderstandError:new	000001FE6B27B240
		arg this = DoesNotUnderstandError
		arg receiver = a SuperDirt
		arg selector = doNotReadYet_
		arg args = [true]
	Object:doesNotUnderstand	000001FE718CCC40
		arg this = a SuperDirt
		arg selector = doNotReadYet_
		arg args = nil
	a FunctionDef	000001FE70D15458
		sourceCode = "{
		~dirt = SuperDirt(2, s); // two output channels, increase if you want to pan across more channels
		~dirt.doNotReadYet = true; // lazy samples loading
		~dirt.loadSoundFiles; // load samples (path containing a wildcard can be passed in)
		// for example: ~dirt.loadSoundFiles(\"/Users/myUserName/Dirt/samples/*\");
		// s.sync; // optionally: wait for samples to be read
		~dirt.start(57120, 0 ! 12); // start listening on port 57120, create two busses each sending audio to channel 0

		...etc..."
	Routine:prStart	000001FE6D98E5C0
		arg this = a Routine
		arg inval = 162.8193165

CALL STACK:
	DoesNotUnderstandError:reportError
		arg this = <instance of DoesNotUnderstandError>
	< closed FunctionDef >
		arg error = <instance of DoesNotUnderstandError>
	Integer:forBy
		arg this = 0
		arg endval = 4
		arg stepval = 2
		arg function = <instance of Function>
		var i = 4
		var j = 2
	SequenceableCollection:pairsDo
		arg this = [*6]
		arg function = <instance of Function>
	Scheduler:seconds_
		arg this = <instance of Scheduler>
		arg newSeconds = 166.8515549
	Meta_AppClock:tick
		arg this = <instance of Meta_AppClock>
		var saveClock = <instance of Meta_SystemClock>
	Process:tick
		arg this = <instance of Main>
^^ ERROR: Message 'doNotReadYet_' not understood.
RECEIVER: a SuperDirt

```

I think it may be because of my superdirt sample dir is not "pristine" as recommended by @cleary here: [Dirt samples - #5 by seraphim2228](https://club.tidalcycles.org/t/dirt-samples/3274/5)  
(i deleted some of the original folders/files for saving space, total noob btw)

How can i fix this?  
i've upgraded Superdirt by executing `Quarks.update("SuperDirt")`  
The output i received was

```haskell
Quark 'SuperDirt' updated to version: nil tag: nil refspec: 
-> Quarks

```

Thank you

---

_[View the full topic](https://uzu.lurk.org/t/superdirt-lazy-samples-loading/3148)._
