Example patch: a simple stereo Looper with overdub


#1

Here is a patch for a stereo looper with overdub capability. You can also use it like a tap-tempo delay if you leave the overdub switched on & manipulate the mixer knobs to control feedback level. Obviously there is a lot more that can be added here - I have already been experimenting with "Play" and "Half-speed" buttons - but it's a good start.

You will need to download oneliner_ik.axo (738 Bytes)
and place it in your objects/scripts/ directory

Here is the patch: SimpleLooperOdub.axp (13.7 KB)

It appears to be working well but it has not been tested extensively. Let me know if you have any thoughts or improvements!


Recording audio to sdcard
Divide 2 ints and get fractional output?
About tables: help a noob
Building an instrument
#2

awesome.... :smile: Now we have a recorder for modulation and one for audio... Will test it :wink:


#3

Hello Mood_Organ,

Thank you for your patch and object. I'm very interested in testing it (and using). I see the patch but it doesn't connect.

Here is what I see

/Users/Touro1/Documents/axoloti/build/xpatch.cpp:1020:6: error: 'net15Latch' does not name a type
net15Latch;
^
/Users/Touro1/Documents/axoloti/build/xpatch.cpp: In member function 'void rootc::dsp()':
/Users/Touro1/Documents/axoloti/build/xpatch.cpp:1463:6: error: 'net15' was not declared in this scope
net15;
^
make: *** [/Users/Touro1/Documents/axoloti/build/xpatch.bin] Error 1
shell task failed, exit value: 2
Compiling patch failed ( /Applications/Axoloti.app/Contents/Java/patches/user/SimpleLooperOdub.axp )


#4

I'm not sure what the error means, but I need to revisit this soon to fix a bug (one channel lags a few samples behind the other). I think the firmware has been updated since I last used it, so maybe that messed something up? I'll look at it soon - should be 1-2 weeks. If anyone else wants to chime in here, great!


#5

Tank you!
Your new object (oneliner_ik_1) is red in patcher window. I don't know if it is normal, and if it helps.
Anyway, it's an exciting project patch.


#6

The "net errors" are usually because of something is missing inside a subpatch. Like an object or similar.


Reverse Audio in Tables
#7

Thaks jaffaspla. That was the problem. That patch works perfectly!


#8

ah, great.

BTW - I just remembered that the bug I mentioned (one stereo channel lags a few samples behind the other) could have been caused by a different patch that was feeding input to the looper, not the looper itself. To be determined...


#9

I am trying to figure out how to use your patch Mood Organ, but I can't find the directory the axo file goes in... I know this is proabably a ridiculously simple question but I just can't seem to answer it myself! I'm using a mac, BTW.

Thanks!
Alex


#10

You have to go to applications folder and right click on Axoloti app and select "show package content". Then go to content/Java/Objects/Scripts.


#11

That worked! Thanks Jaffasplaffa!


#12

a better way is to create your own object path in Preferences.


#13

hej mood_organ I am very happy that I found your patch here! Thanks a lot for sharing!! I got problems running it though. first I thought i put the one-liner_ik.axo file at the wrong place but then I made sure to have it here: content/Java/Objects/Scripts (thanks for asking that Question ApartmentFox!)

If I understand it correctly thats the place where it has to go.

but still i get these errors:
"Documents/axoloti/build/xpatch.cpp:1020:6: error: 'net15Latch' does not name a type
net15Latch;"

and: "shell task failed, exit value: 2"

also the lines to the "onliner box" in patch are dashed...

I'm not so familiar with axoloti yet, so I have no clue why that is. I would be very happy if someone could give me hint!

best
Amelie


#14

ok, let me explain how custom objects (axo) should be installed...

(but first here is a replacement axo, which has the uuid fixed, so you dont get a warning oneliner_ik.axo (738 Bytes) .... its important to keep your axoloti install clean, i.e. no warnings)

steps:
a) create you own directory for your custom objects
Id suggests you put it in the axoloti directory which is in your documents directory.
e.g. on a mac ~/Documents/axoloti/objects
b) In Axoloti , file -> preferences
now the object search path, can have a directory per line (it by default it just has objects)
add the directory you added in (a)
note: it must be a fully qualified path...
e.g. /Users/bob/Documents/axoloti/objects NOT ~/Documents/axoloti/objects
( I know we need to add a directory selector here, and perhaps should have a default 'custom objects directory!)

you only really need to do this once, as you can add other custom objects in the same directory...
(or you can have multiple custom object directories if you want to keep things separate)

the next important thing is, the axo file must go in the same directory structure it came from (its part of its 'identity', in this case, the object is really
scripts/oneliner_ik.axo

so you will need to create a directory called scripts in the above objects directory, and then place the axo in that directory.

the above may seem more work that just chucking in the 'factory objects' folder but has a number of advantages...
the primary one is you can easily see which objects are 3rd party, and which are provided by axoloti.
the second is you can run multiple versions of axoloti on your PC/Mac and not have to worry about copy various 3rd party axo's between them (which you will find hard to track down if you just dump them in with the factory content)

NOTE: the object search path is search in the order listed, so this also provides a way to 'override' objects ... though you will be warned of the 'duplicate' when you start up.


Reverse Audio in Tables
#15

Wow! Thank you so much for this detailed description, it helped a lot. It worked perfectly and I was super happy for ten seconds, but then the axolati program shut down and after re-opening the patch all boxes turned red and all lines were dashed. I will restart my computer and try again. One question regarding the path

/Users/bob//Documents/axoloti/objects

is the double back slash before documents on purpose?

At the moment I'm working on two instrumental mockups. I will post some Documentation, as soon as there something worth showing.

Best!
Amelie


#16

Ah!! I got it! I just had to move all Folders from the object folder within the Axoloti Package into my new object folder... didn't think of that!

a super-happy thank you again :smile:


#17

on the double backslash was a typo.

you don't need to do this,
you should add an additional path, not replace the original
e.g.

objects
/Users/bob/Documents/axoloti/objects

this will mean it will use the factory objects from the package first, and if not found there, will look in the other folder. (/Users/bob/Documents/axoloti/objects)


#18

cool, thanks for reminding me. I did replace the old one. now it works perfectly :smile:


#19

hej, another question (please let me know if my questions are to basic...):

I'm trying to change the ctrl/toggle objects to gpio/in/digital objects, because I want to add a physical button on the objects. When I double-click and change the Object all yellow threads disappear. Does anyone know if that is even possible or why that is not possible? I thought it wouldn't make a difference since both objects have a yellow and square shaped pin...


#20

Wires are only kept when substituting an object if the outlet of the new object has the same name. Just drag a wire from the new outlet to the network of stippled wires.
Stippled wires mean that it only connects inlets together, and require an outlet to that wire network too.