I am using alexmacrae's version pulled from Github. I am getting following error
Line 33 samplerbox.py
import rtmidi2
Any help? suggestion? comment?
I am using alexmacrae's version pulled from Github. I am getting following error
Line 33 samplerbox.py
import rtmidi2
Any help? suggestion? comment?
Are you sure rtmidi2
is installed?
On the command line execute the following:
cd /root
git clone https://github.com/gesellkammer/rtmidi2
cd rtmidi2
python setup.py install
cd ..
rm -rf rtmidi2
thanks. I had to install cython and libasoun2-dev before running setup.py
setup.py gives two warnings - strict prototypes not valid for c++ and comparing signed and unsigned expressions
read libasound2-dev instead of libasoun2-dev
sorry for typo
File "/root/SamplerBox/modules/sound.py" line 11
import alsaaudio
no module alsaaudio
on
pip install alsaaudio
red error
Could not find a version that satisfies the requirement (from versions: )
No matching distribution found for alsaaudio
please help...
now next error ...
file /root/SamplerBox/modules/hd44780_sys_1.py line 45 in_init __ from rplcd import cursormode
importerror: cannot import name cursormode
help?
It seems the script does not relate to the image you're using. In itself not a problem, but it requires some more python knowledge than needed for basic installation.
I need SamplerBox image with Velocity sensitivity, Pitch Bend and Samples Randomization features.
As I did not find latest alexmacrae's image of SamplerBox, I started building one using a fresh updated and upgraded install of
RASPBIAN STRETCH LITE
Minimal image based on Debian Stretch
Version:September 2017
Release date:2017-09-07
Kernel version:4.9
I pulled alexmacrae's version from Github using git command. Installed every package required as and when different errors were thrown while trying to run "python samplerbox.py" as root.
Now stuck at rplcd import cursormode - cannot import name cursormode
Please help to overcome this and subsequent(?) errors...
Hi Rajiv,
Why don't you try Alex's image as he describes in the installation chapter of his docs: http://samplerbox.readthedocs.io/en/latest/
His docs contain many more things that may save you time.
Hope this helps
The "rplcd" import seems like it stands for Raspberry Pi LCD. Probably some package for writing to the character LCD display.
Maybe try this image (from link on Alex's page: http://samplerbox.readthedocs.io/en/latest/installation.html)
I have difficulty in getting the randomization feature work out of this ready to use image. Samples do not get loaded if I add %seq in definition.txt
Hey Rajiv,
Name some files using this convention:
60-1.wav
60-2.wav
60-3.wav
60-4.wav
60
being the midinote (C4, although we'll fill all notes with this sample) and the following number being the %seq
value.
And now your definition.txt:
%%velmode=Sample
%%fillnotes=Y
%midinote-%seq.wav
Thanks for quickly responding. How the definition file would look if we want to add both velocity based layering and randomization?
say --->
my sample files are :-
60-80-1.wav
60-80-2.wav
60-80-3.wav
60-100-.wav
60-120-1.wav
60-120-2.wav
61-80-.wav
61-100-.wav
62--1.wav
62--2.wav
63--3.wav
will following definition file work?
%midinote-%velocity-%seq.wav
Some of those lines will be ignored because they are missing numbers - unless those lines are typos. For 62--1.wav
you would add the line %midinote--%seq.wav
. Can you try naming your files the way I suggested in the post before to help eliminate some factors?
How to fix/disable following error? - not using HIFIberry.
codec DAI pcm512x-hi fi not registered
Alex,
Regarding sample definition and file naming -
sample for midi note 62 is only randomized should be played for all velocities. How do I name that file?
Sample for midi note 61 is not randomized but different samples should be triggered for different velocities. How do I name that file?
Would be great if you could enumerate correct file names and definition file which would work with your image.
Wonderful post!!! Genuinely loved this kind of post. Although I want much more information on like precious subject matter.
http://www.bangalorehotcallgirls.in
I agree with you. This post is truly inspiring. I like your post and everything you share with us is current and very informative, I want to bookmark the page so I can return here from you that you have done a fantastic job.
muskanpatel.com