• louisf1819

    Hi! To start of, sorry for the long post.

    I am about to finish desinging a scene for the RJDJ iPhone app. Basically, the app is designed to capture a melody by singing, whistling or humming into the iphone and then playback the melody using sounds from the Trance music genre

    The scene will convert the received audio into MIDI note numbers and save them to a text file.
    The main goal is to then recall these MIDI note numbers and assign them to the relevant to samples.

    At this point I have managed to successfully:

    accept audio in
    convert audio to MIDI pitch using [fiddle~]
    store MIDI values in a text file
    recall MIDI values from the text file and play them back through an [osc~]

    The problem I have now is that i want to take a MIDI note, say 60 (Middle C) and assign this MIDI note to a supersaw sample of the same pitch.
    This means that when I am recalling the MIDI numbers from the text file the samples will be played back at the correct pitch.

    I have no idea how to do this. Have tested [tabread4~] but not sure what to do with it.

    I would also like to point out that if there is a way of not having to make a sample for every note in a two octave scale, but rather sample one note and pitch it up and down. The please let me know.

    I have included the up to date patch. If any more explanation is needed, let me know.

    Again I am sorry for the long post, I know I am asking a lot but its for a Major project that is due in quite soon

    Thank a lot for any help!!

    LF

    http://www.pdpatchrepo.info/hurleur/FiddleSampler.pd

    posted in technical issues read more
  • louisf1819

    Hi!

    I have been able to build a simple test scene for RJDJ which consists of 2x2 grid, 4 different coloured squares in total. When a square is pressed it will play an oscillator tone. Thats fine I can do that.

    However, as prt of my priject development the grid is now 3x3 in size, 9 squares in total. There are certain squares in particular that when pressed, i want a sample to play.
    I have been trying to use [u_samplebank2] which i think I have working properly and [s_playtable2] which i can not get to work at all.

    I have uploaded the patch so you can see what I have been up to.

    Brief History: I want to be able to record audio/a melody into RJDJ (I have a patch which uses fiddle for this)
    convert the audio to MIDI data i.e. pitch and note length (note length I cant figure out).
    I then want to playback the MIDI using premade samples like saw waves or trance plucks etc hence the patch below.

    Sorry for the long post guys.

    Thanks

    LF

    http://www.pdpatchrepo.info/hurleur/_main.pd

    posted in technical issues read more
  • louisf1819

    Hi!

    Hope someone can help me here.

    I am using [fiddle~] to give me the pitch of the audio input.
    I have no problem writing MIDI note numbers to a text file using [write blahblah.txt( to [textfile]

    What i want to do is then click an object like [read blahblah.txt] and have the stored MIDI values play back through a simple osc. But i cant get it to work!

    Any help will be greatly appreciated.

    i can upload the patch if needed.

    Thanks

    LF

    posted in technical issues read more
  • louisf1819

    Hello! This is my first post on the forum.

    I am in the process of designing an RJDJ scene and need some help.
    I have a small test patch that I am working which will output a different frequency sound whenever a different part of the iPhone screen is touched.

    Basically I have a .JPG which is 320 pixels square. This is then divided up into 4 different coloured squares which are 160 pixles square.

    Heres the logic:

    If touch value on x-axis <160pix play 440hz (Bottom left square)
    If touch value on x-axis >160pix play 880hz (Bottom right square)

    if touch value on y-axis <160pix play 440hz (Bottom left square)
    if touch value on y-axis >160pix play 1320hz (Top left square)

    I can configure the patch to play these sounds using moses objects and they work fine

    But here is my problem:

    if touch value on x and y-axis is > 160pix play 1760hz (Top right square)
    Only when both x and y values are more than 160pix is the patch aloud to output a sound. However I can not think of which objects/design to use in order to meet these conditions.

    I have included the patch so you can see what I have been doing so far.

    Thanks for your help

    http://www.pdpatchrepo.info/hurleur/_mainforforum.pd

    posted in technical issues read more
  • louisf1819

    Nearly 100 views and no one can help me? please?

    posted in technical issues read more
  • louisf1819

    The tabosc4~ works but its not quite what I am after. It does everything i need it to do but only with a sinewave. I want to be able to pitch up and down a sample depending on the MIDI note numbers, dont know if [mtof] or [sig~] can be used for this.

    I have included a zip file that includeds a typical sample that i want to use.

    The new patch also has an array where the sample can be loaded in.

    All i need now is some help getting it to playback properly.

    Thanks again

    http://www.pdpatchrepo.info/hurleur/fiddlesampler.zip

    posted in technical issues read more
  • louisf1819

    Thanks for the reply!

    Sorry to sound like such a novice, but could you be more specific?

    Thanks!

    posted in technical issues read more
  • louisf1819

    Portabello thanks a lot for your help, I got it working!

    posted in technical issues read more
  • louisf1819

    Jwif,

    Massive thanks for your help, I have been able to get my test patch working! After some time and head scratching the penny finally dropped :)

    All is working well for now and the design of the main scene is going to plan. I am documenting the build as I go as its for a Uni project. I hope to have it finished for the end of september, so I will let you now the final outcome.

    Thanks again for the help :)

    LF

    posted in technical issues read more
  • louisf1819

    Jwif thanks for your help. I have to say tho that I am going to need some more help as I really am a beginner at this stuff and jumped in at the deep end!

    Anyways the [unpack f f f] bug is there a way to fix this?

    I am already using the [r_#touch] object in my patch so all is good where thats concerned?

    I have fixed the y-axis logic by starting with the lowest frequency at the top left hand corner instead of bottom left.

    I am just about to test the [m_touch2grid] it looks kind of complicated but hopefully i will manage!

    Thanks again for your help. If you can give me anymore advice or useful websites it would be greatly appreciated!

    LF

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!