I can't find documentation or examples of accessing unpitched sound from RipScripts. It is clear from the display that each speck of unpitched sound is associated with an instrument. It is not clear if these specks are associated with individual notes. (I use the term speck to references to things much smaller that the blobs used for notes.) How does one access the instrument that a speck is assigned to?
What I am trying to do is use the information that a particular instrument is playing monophonically (with possible reverb overlapping two notes) to assemble together all the pieces of the spectrum that are part of individual notes.
Any help would be greatly appreciated.
Unpitched sound is stored as Note or groups of Note objects where Note.percussion is set to True.
The instrument is Note.instrument.
You could also use e.g. Rip.note_group(note.start, note.end).filter(add=percussion).filter(add=instrument(instrument=note.instrument)) to create a NoteGroup containing the unpitched notes played at the time of the given 'note', that are in the same instrument as 'note'.
Hope this helps.
What if i was trying to remove a certain noise or group of background noise. Such as tape hiss or crackle etc? would it be possible to group these into an instrument group or isolate them in some way?
@nahbrah You would need to be able to detect it somehow - for example by looking at the frequency and amplitude of Notes that have percussion set to True. Then you could set to a different instrument layer with e.g. Note.instrument = "Hiss".
@nahbrah That's not possible, but you are welcome to contact us at support https://hitnmix.com/contact/